mirror of https://github.com/CGAL/cgal
Use <cfloat> more consistently instead of <float.h>.
This commit is contained in:
parent
5402050020
commit
53d1ee3d7d
|
|
@ -49,10 +49,10 @@ extern "C" {
|
|||
// GCC seems to remove (fixincludes) read_rnd/write_rnd...
|
||||
# include "/usr/include/float.h"
|
||||
# else
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# endif
|
||||
#elif defined __BORLANDC__
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
#elif defined _MSC_VER || defined __sparc__ || \
|
||||
(defined __i386__ && !defined __PGI && !defined __SUNPRO_CC)
|
||||
// Nothing to include.
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
#endif
|
||||
|
||||
#ifdef CGAL_CFG_IEEE_754_BUG
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
#include <CGAL/Delaunay_triangulation_2.h>
|
||||
#include <CGAL/Polygon_2_algorithms.h>
|
||||
|
||||
#include <float.h>
|
||||
#include <stdlib.h>
|
||||
#include <cfloat>
|
||||
#include <cstdlib>
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <CGAL/basic.h>
|
||||
// For the numerical limits
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
#endif // CGAL__GETRUSAGE //
|
||||
|
||||
// For the numerical limits
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue