[geos-devel] Dimension and Coordinate Sequences

Mateusz Loskot mateusz at loskot.net
Mon May 17 12:08:46 EDT 2010


On 17/05/10 16:42, Frank Warmerdam wrote:
> I'm using the C API. Is there a nice portable way to check for NaN in C
> code?

Frank,

double is_nan(double v) { return v != v; }

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list