> inf is a perfectly valid number, meaning infinity. Unfortunately, a 
test
> for inf is only available with C standard 99, and I don't know of a 
manual
> test in C for inf (or -inf) to avoid C 99. The bug is in r.out.gdal, not
> testing for input inf values.

You could use the CPLIsInf() macro from GDAL's cpl_port.h . It uses 
different implementations depending on the platform.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to