[GRASS-dev] [GRASS GIS] #335: export floats and doubles with correct precision

GRASS GIS trac at osgeo.org
Mon Aug 27 11:35:24 PDT 2012

#335: export floats and doubles with correct precision
 Reporter:  hamish     |       Owner:  grass-dev@…              
     Type:  task       |      Status:  new                      
 Priority:  critical   |   Milestone:  6.4.3                    
Component:  Default    |     Version:  svn-develbranch6         
 Keywords:  precision  |    Platform:  All                      
      Cpu:  All        |  

Comment(by mmetz):

 Replying to [comment:19 neteler]:
 > Please backport to 6.4 since not much testing happens in 6.5 (but in
 > (I see that many backports are missing!).

 Glynn: Binary to text conversions must use %.9g (float) and %.17g (double)
 in order to preserve fp values in a binary-decimal-binary round-trip, e.g.
 r.out.ascii followed by r.in.ascii.

 The modules [r|v].out.ascii need to be added to the list.

 Markus M

Ticket URL: <http://trac.osgeo.org/grass/ticket/335#comment:21>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list