diff --git a/Packages/Interval_arithmetic/changes.txt b/Packages/Interval_arithmetic/changes.txt index 7806f845a68..4a3e3d112a0 100644 --- a/Packages/Interval_arithmetic/changes.txt +++ b/Packages/Interval_arithmetic/changes.txt @@ -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). diff --git a/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic/_FPU.h b/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic/_FPU.h index dbf1c24484e..1a90e0a9579 100644 --- a/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic/_FPU.h +++ b/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic/_FPU.h @@ -71,7 +71,7 @@ inline double IA_force_to_double(const double x) #ifdef __linux__ #include -#elif defined __SUNPRO_CC +#elif defined __SUNPRO_CC || (defined __KCC && defined __sun) #include #elif defined __osf || defined __osf__ || defined __BORLANDC__ #include @@ -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;