| version 1.12, 2015/08/06 10:01:52 | 
version 1.14, 2016/06/29 08:16:11 | 
 | 
 | 
|  /* | 
 /* | 
|   * $OpenXM: OpenXM_contrib2/asir2000/include/interval.h,v 1.11 2014/01/07 06:22:08 saito Exp $ | 
  * $OpenXM: OpenXM_contrib2/asir2000/include/interval.h,v 1.13 2015/08/14 13:51:55 fujimoto Exp $ | 
|  */ | 
 */ | 
|  #ifndef _INTERVAL_H | 
 #ifndef _INTERVAL_H | 
|  #define _INTERVAL_H | 
 #define _INTERVAL_H | 
| Line 33  static char *Interval_dummy; | 
 
  | 
| Line 33  static char *Interval_dummy; | 
 
 
 | 
|  #ifdef  linux | 
 #ifdef  linux | 
|  #include        <fpu_control.h> | 
 #include        <fpu_control.h> | 
|  #if 1 | 
 #if 1 | 
|   | 
  | 
|   | 
 #if defined(__ARM_ARCH) || defined(ANDROID) | 
|   | 
 #ifndef _FPU_RC_NEAREST | 
|   | 
 #define _FPU_RC_NEAREST 0x0 | 
|   | 
 #endif | 
|   | 
 #ifndef _FPU_RC_DOWN | 
|   | 
 #define _FPU_RC_DOWN    0x400 | 
|   | 
 #endif | 
|   | 
 #ifndef _FPU_RC_UP | 
|   | 
 #define _FPU_RC_UP      0x800 | 
|   | 
 #endif | 
|   | 
 #ifndef _FPU_RC_ZERO | 
|   | 
 #define _FPU_RC_ZERO    0xC00 | 
|   | 
 #endif | 
|   | 
 #endif /* __ARM_ARCH */ | 
|   | 
  | 
|  #define LINUX_FPU_RC_MASK                               0xf3ff | 
 #define LINUX_FPU_RC_MASK                               0xf3ff | 
|  #define LINUX_FPU_SETCW(c)                      \ | 
 #define LINUX_FPU_SETCW(c)                      \ | 
|  {fpu_control_t __tmp__; _FPU_GETCW(__fpu_control);\ | 
 {fpu_control_t __tmp__; _FPU_GETCW(__fpu_control);\ | 
| Line 76  static char *Interval_dummy; | 
 
  | 
| Line 92  static char *Interval_dummy; | 
 
 
 | 
|  #define FPTOZERO        fpsetround(FP_RZ); | 
 #define FPTOZERO        fpsetround(FP_RZ); | 
|  #endif | 
 #endif | 
|   | 
  | 
|  #if defined(VISUAL) || defined(__MINGW32__) || defined(__MINGW64__) | 
 #if defined(VISUAL) || defined(__MINGW32__) | 
|  #include <float.h> | 
 #include <float.h> | 
|  #define FPNEAREST _controlfp(_RC_NEAR,_MCW_RC); | 
 #define FPNEAREST _controlfp(_RC_NEAR,_MCW_RC); | 
|  #define FPPLUSINF _controlfp(_RC_UP,_MCW_RC); | 
 #define FPPLUSINF _controlfp(_RC_UP,_MCW_RC); |