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...
|
// GCC seems to remove (fixincludes) read_rnd/write_rnd...
|
||||||
# include "/usr/include/float.h"
|
# include "/usr/include/float.h"
|
||||||
# else
|
# else
|
||||||
# include <float.h>
|
# include <cfloat>
|
||||||
# endif
|
# endif
|
||||||
#elif defined __BORLANDC__
|
#elif defined __BORLANDC__
|
||||||
# include <float.h>
|
# include <cfloat>
|
||||||
#elif defined _MSC_VER || defined __sparc__ || \
|
#elif defined _MSC_VER || defined __sparc__ || \
|
||||||
(defined __i386__ && !defined __PGI && !defined __SUNPRO_CC)
|
(defined __i386__ && !defined __PGI && !defined __SUNPRO_CC)
|
||||||
// Nothing to include.
|
// Nothing to include.
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <float.h>
|
#include <cfloat>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CGAL_CFG_IEEE_754_BUG
|
#ifdef CGAL_CFG_IEEE_754_BUG
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,8 @@
|
||||||
#include <CGAL/Delaunay_triangulation_2.h>
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
#include <CGAL/Polygon_2_algorithms.h>
|
#include <CGAL/Polygon_2_algorithms.h>
|
||||||
|
|
||||||
#include <float.h>
|
#include <cfloat>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
#include <CGAL/basic.h>
|
||||||
// For the numerical limits
|
// For the numerical limits
|
||||||
#include <float.h>
|
#include <cfloat>
|
||||||
|
|
||||||
CGAL_BEGIN_NAMESPACE
|
CGAL_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
#endif // CGAL__GETRUSAGE //
|
#endif // CGAL__GETRUSAGE //
|
||||||
|
|
||||||
// For the numerical limits
|
// For the numerical limits
|
||||||
#include <float.h>
|
#include <cfloat>
|
||||||
|
|
||||||
|
|
||||||
CGAL_BEGIN_NAMESPACE
|
CGAL_BEGIN_NAMESPACE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue