>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@accumtest - accum64bit@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. _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
