[BACK]Return to interval.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / include

Diff for /OpenXM_contrib2/asir2000/include/interval.h between version 1.5 and 1.9

version 1.5, 2002/01/08 04:14:38 version 1.9, 2005/02/08 16:42:40
Line 1 
Line 1 
 /*  /*
  * $OpenXM: OpenXM_contrib2/asir2000/include/interval.h,v 1.4 2002/01/04 17:01:40 saito Exp $   * $OpenXM: OpenXM_contrib2/asir2000/include/interval.h,v 1.8 2004/12/10 07:36:34 noro Exp $
 */  */
 #ifndef _INTERVAL_H  #ifndef _INTERVAL_H
 #define _INTERVAL_H  #define _INTERVAL_H
Line 66  static char *Interval_dummy;
Line 66  static char *Interval_dummy;
 #endif  #endif
 #endif  #endif
   
 #if defined(__FreeBSD__)  #if defined(__FreeBSD__) && defined(__GNUC__)
 #include        <floatingpoint.h>  #include        <floatingpoint.h>
 #define FPNEAREST       fpsetround(FP_RN);  #define FPNEAREST       fpsetround(FP_RN);
 #define FPPLUSINF       fpsetround(FP_RP);  #define FPPLUSINF       fpsetround(FP_RP);
Line 74  static char *Interval_dummy;
Line 74  static char *Interval_dummy;
 #define FPTOZERO        fpsetround(FP_RZ);  #define FPTOZERO        fpsetround(FP_RZ);
 #endif  #endif
   
   #if defined(VISUAL)
   #include <float.h>
   #define FPNEAREST _controlfp(_RC_NEAR,_MCW_RC);
   #define FPPLUSINF _controlfp(_RC_UP,_MCW_RC);
   #define FPMINUSINF _controlfp(_RC_DOWN,_MCW_RC);
   #define FPTOZERO _controlfp(_RC_CHOP,_MCW_RC);
   #endif
   
 /* no control function of floating point rounding */  /* no control function of floating point rounding */
 #ifndef FPNEAREST  #ifndef FPNEAREST
 #define FPNEAREST       fprintf(stderr, "Fpu control FPNEAREST is not supported in this machine yet.\n");  #define FPNEAREST       fprintf(stderr, "Fpu control FPNEAREST is not supported in this machine yet.\n");
Line 99  static char *Interval_dummy;
Line 107  static char *Interval_dummy;
 #undef  N_GFPN  #undef  N_GFPN
 #undef  N_GFS  #undef  N_GFS
 #undef  N_GFSN  #undef  N_GFSN
   #undef  N_DA
 #define N_NEXT_B                (N_B+1)  #define N_NEXT_B                (N_B+1)
 #define N_Quad                  (N_NEXT_B)  #define N_Quad                  (N_NEXT_B)
 #define N_IP                    (N_NEXT_B+1)  #define N_IP                    (N_NEXT_B+1)
Line 113  static char *Interval_dummy;
Line 122  static char *Interval_dummy;
 #define N_GFPN  (N_NEXT_B+9)  #define N_GFPN  (N_NEXT_B+9)
 #define N_GFS   (N_NEXT_B+10)  #define N_GFS   (N_NEXT_B+10)
 #define N_GFSN  (N_NEXT_B+11)  #define N_GFSN  (N_NEXT_B+11)
   #define N_DA    (N_NEXT_B+12)
   
 /* data structures */  /* data structures */
 struct oItv {  struct oItv {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>