[BACK]Return to math.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/include/math.h between version 1.44 and 1.45

version 1.44, 2006/03/25 16:41:11 version 1.45, 2007/02/06 17:29:37
Line 331  long long int llroundf(float);
Line 331  long long int llroundf(float);
 float   fmodf(float, float);  float   fmodf(float, float);
 float   remainderf(float, float);  float   remainderf(float, float);
   
 /* 7.2.11 manipulation */  /* 7.12.11 manipulation */
   
 float   copysignf(float, float);  float   copysignf(float, float);
 double  nan(const char *);  double  nan(const char *);
Line 339  float nanf(const char *);
Line 339  float nanf(const char *);
 long double     nanl(const char *);  long double     nanl(const char *);
 float   nextafterf(float, float);  float   nextafterf(float, float);
   
   /* 7.12.14 comparision */
   
   #define isunordered(x, y)       (isnan(x) || isnan(y))
   #define isgreater(x, y)         (!isunordered((x), (y)) && (x) > (y))
   #define isgreaterequal(x, y)    (!isunordered((x), (y)) && (x) >= (y))
   #define isless(x, y)            (!isunordered((x), (y)) && (x) < (y))
   #define islessequal(x, y)       (!isunordered((x), (y)) && (x) <= (y))
   #define islessgreater(x, y)     (!isunordered((x), (y)) && \
                                    ((x) > (y) || (y) > (x)))
   
 #endif /* !_ANSI_SOURCE && ... */  #endif /* !_ANSI_SOURCE && ... */
   

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

CVSweb <webmaster@jp.NetBSD.org>