[GRASS-dev] results in winGRASS7 32bit vs 64bit: should they be identical?

Helmut Kudrnovsky hellik at web.de
Wed Dec 30 03:17:04 PST 2015


>Like this you check if the difference is very small and below the
>acceptable threshold.
>In C, we use GRASS_EPSILON for these comparisons. 

now done with GRASS_EPSILON   1.0e-15

r.mapcalc expression=difftestepsilon = if( abs( accum32bit at accumtest -
accum64bit at accumtest) <= 1.0e-15, 1 , 100 )

attached a screenshot of this map

accum_diff_wingrass32bitvs64bit.png
<http://osgeo-org.1560.x6.nabble.com/file/n5243286/accum_diff_wingrass32bitvs64bit.png>  



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/results-in-winGRASS7-32bit-vs-64bit-should-they-be-identical-tp5243280p5243286.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list