[BACK]Return to w_remainder.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libm / src

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

Diff for /src/lib/libm/src/w_remainder.c between version 1.7 and 1.8

version 1.7, 1997/10/09 11:35:53 version 1.8, 1999/07/02 15:37:45
Line 5 
Line 5 
  *   *
  * Developed at SunPro, a Sun Microsystems, Inc. business.   * Developed at SunPro, a Sun Microsystems, Inc. business.
  * Permission to use, copy, modify, and distribute this   * Permission to use, copy, modify, and distribute this
  * software is freely granted, provided that this notice   * software is freely granted, provided that this notice
  * is preserved.   * is preserved.
  * ====================================================   * ====================================================
  */   */
Line 15 
Line 15 
 __RCSID("$NetBSD$");  __RCSID("$NetBSD$");
 #endif  #endif
   
 /*  /*
  * wrapper remainder(x,p)   * wrapper remainder(x,p)
  */   */
   
Line 35  __RCSID("$NetBSD$");
Line 35  __RCSID("$NetBSD$");
         double z;          double z;
         z = __ieee754_remainder(x,y);          z = __ieee754_remainder(x,y);
         if(_LIB_VERSION == _IEEE_ || isnan(y)) return z;          if(_LIB_VERSION == _IEEE_ || isnan(y)) return z;
         if(y==0.0)          if(y==0.0)
             return __kernel_standard(x,y,28); /* remainder(x,0) */              return __kernel_standard(x,y,28); /* remainder(x,0) */
         else          else
             return z;              return z;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>