On Wed, Dec 30, 2015 at 12:17 PM, Helmut Kudrnovsky <[email protected]> wrote:
>>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>

Mhh..

Can you open a ticket with all relevant bits + the difference
screenshot along with a legend and "r.univar -e" output?

thanks
Makrus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to