[BACK]Return to math_private.h 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/math_private.h between version 1.16 and 1.17

version 1.16, 2010/09/16 20:39:50 version 1.17, 2012/05/05 17:54:14
Line 275  extern float __kernel_cosf __P((float,fl
Line 275  extern float __kernel_cosf __P((float,fl
 extern float __kernel_tanf __P((float,float,int));  extern float __kernel_tanf __P((float,float,int));
 extern int   __kernel_rem_pio2f __P((float*,float*,int,int,int,const int*));  extern int   __kernel_rem_pio2f __P((float*,float*,int,int,int,const int*));
   
   /*
    * TRUNC() is a macro that sets the trailing 27 bits in the mantissa of an
    * IEEE double variable to zero.  It must be expression-like for syntactic
    * reasons, and we implement this expression using an inline function
    * instead of a pure macro to avoid depending on the gcc feature of
    * statement-expressions.
    */
   #define TRUNC(d)        (_b_trunc(&(d)))
   
   static __inline void
   _b_trunc(volatile double *_dp)
   {
           uint32_t _lw;
   
           GET_LOW_WORD(_lw, *_dp);
           SET_LOW_WORD(*_dp, _lw & 0xf8000000);
   }
   
   struct Double {
           double  a;
           double  b;
   };
   
   /*
    * Functions internal to the math package, yet not static.
    */
   double  __exp__D(double, double);
   struct Double __log__D(double);
   
 #endif /* _MATH_PRIVATE_H_ */  #endif /* _MATH_PRIVATE_H_ */

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>