[GRASS-dev] Re: [GRASS GIS] #392: backport G_is_c_null_value() to devbr6

Hamish hamish_b at yahoo.com
Thu Dec 18 22:35:52 EST 2008


MN:
> > Since there are no comments there does not seem to be a bug
> > in GRASS 6.x.
> > So: if it ain't broken, don't fix it.
PK: 
> That's true; I agree. It's definitely not a bug; just a change for 
> potential future compatibility with invalid raster files so
> we don't need  it now.


just to note that currently FCELL,DCELL checks do it the "new way" of
if (x != x), while CELL still checks it the old way. ie F,D got
backported but CELL didn't.

the commit log said check if both all 0s and if nan, but the check is just
for nan. Is it the case that for all modern systems (IEEE FP's) the two
are identical?


see ya,
Hamish



      



More information about the grass-dev mailing list