mirror of https://github.com/CGAL/cgal
- Added KCC/Sun support.
This commit is contained in:
parent
2ed22bedcd
commit
b4e9daf75f
|
|
@ -1,5 +1,8 @@
|
|||
Changes done to the Interval Arithmetic package.
|
||||
|
||||
Version 4.40 on 17 February 2000
|
||||
- Added KCC/Sun support (by Stefan).
|
||||
|
||||
Version 4.39 on 22 November 1999
|
||||
- Fix test-suite bug detected by CHECK_EXACTNESS (global intervals initilized
|
||||
with incorrect rounding mode).
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ inline double IA_force_to_double(const double x)
|
|||
|
||||
#ifdef __linux__
|
||||
#include <fpu_control.h>
|
||||
#elif defined __SUNPRO_CC
|
||||
#elif defined __SUNPRO_CC || (defined __KCC && defined __sun)
|
||||
#include <ieeefp.h>
|
||||
#elif defined __osf || defined __osf__ || defined __BORLANDC__
|
||||
#include <float.h>
|
||||
|
|
@ -118,7 +118,7 @@ typedef fpu_control_t FPU_CW_t;
|
|||
#define CGAL_FE_UPWARD (_FPU_RC_UP | _FPU_DEFAULT)
|
||||
#define CGAL_FE_DOWNWARD (_FPU_RC_DOWN | _FPU_DEFAULT)
|
||||
|
||||
#elif defined __SUNPRO_CC
|
||||
#elif defined __SUNPRO_CC || (defined __KCC && defined __sun)
|
||||
#define CGAL_IA_SETFPCW(CW) fpsetround(fp_rnd(CW))
|
||||
#define CGAL_IA_GETFPCW(CW) CW = fpgetround()
|
||||
typedef unsigned int FPU_CW_t;
|
||||
|
|
|
|||
Loading…
Reference in New Issue