I can't remember why, but the FINITE()
macro in platform.h.in is not using finite()
call from <cmath> anymore. Should it ?

I just found a bug in the HCoordinate class
which would throw an exception if FINITE()
doesn't evaluate to true, but is failing
to catch -inf and +inf values due to
absence of the finite() call.

So, the question is:
        - Should FINITE() macro check for finite() ?
        OR
        - Should HCoordinate use finite() instead
          of FINITE() macro ?

Comments welcome.

--strk;

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 

_______________________________________________
geos-devel mailing list
[email protected]
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to