[geos-devel] Re: [GEOS] #442: isfinite not in scope using cmath on os x

GEOS geos-trac at osgeo.org
Sat May 14 16:41:52 EDT 2011


#442: isfinite not in scope using cmath on os x
------------------------+---------------------------------------------------
 Reporter:  jklowden    |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:                            
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------

Comment(by mloskot):

 Try this

 {{{
 #if defined(HAVE_STD_ISFINITE)
    using std::isfinite;
 #endif
 }}}

 or

 {{{
 #if defined(HAVE_STD_ISFINITE)
    using std::isfinite;
 #endif
 }}}

 It is very messy indeed.

 I would like to see solve it using/as in Boost.Math
 [http://www.boost.org/doc/libs/release/boost/math/special_functions/fpclassify.hpp
 fpclassify.hpp]

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/442#comment:2>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list