/bionic/libm/ |
H A D | signbit.c | 38 return (u.bits.sign); 46 return (u.bits.sign); 55 return (u.bits.sign);
|
H A D | fpmath.h | 46 unsigned int sign :1; member in struct:IEEEf2bits::__anon973 59 unsigned int sign :1; member in struct:IEEEd2bits::__anon974 71 unsigned int sign :1; member in struct:IEEEl2bits::__anon975
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_fabsl.c | 41 u.bits.sign = 0;
|
H A D | s_copysignl.c | 40 ux.bits.sign = uy.bits.sign;
|
H A D | s_cbrtf.c | 36 u_int32_t sign; local 40 sign=hx&0x80000000; /* sign= sign(x) */ 41 hx ^=sign; 51 SET_FLOAT_WORD(t,sign|((high&0x7fffffff)/3+B2)); 53 SET_FLOAT_WORD(t,sign|(hx/3+B1));
|
H A D | s_rintl.c | 59 int ex, sign; local 70 sign = expsign >> 15; 79 x += shift[sign]; 80 x -= shift[sign]; 83 * If the result is +-0, then it must have the same sign as x, but 84 * the above calculation doesn't always give this. Fix up the sign. 87 return (zero[sign]);
|
H A D | s_fmax.c | 49 if (u[0].bits.sign != u[1].bits.sign) 50 return (u[u[0].bits.sign].d);
|
H A D | s_fmaxf.c | 49 if (u[0].bits.sign != u[1].bits.sign) 50 return (u[u[0].bits.sign].f);
|
H A D | s_fmaxl.c | 51 if (u[0].bits.sign != u[1].bits.sign) 52 return (u[0].bits.sign ? y : x);
|
H A D | s_fmin.c | 49 if (u[0].bits.sign != u[1].bits.sign) 50 return (u[u[1].bits.sign].d);
|
H A D | s_fminf.c | 49 if (u[0].bits.sign != u[1].bits.sign) 50 return (u[u[1].bits.sign].f);
|
H A D | s_fminl.c | 51 if (u[0].bits.sign != u[1].bits.sign) 52 return (u[1].bits.sign ? y : x);
|
H A D | e_sqrt.c | 98 int32_t sign = (int)0x80000000; local 111 if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */ 130 ix0 += ix0 + ((ix1&sign)>>31); 136 ix0 += ix0 + ((ix1&sign)>>31); 148 ix0 += ix0 + ((ix1&sign)>>31); 153 r = sign; 159 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; 165 ix0 += ix0 + ((ix1&sign)>>3 [all...] |
H A D | s_cbrt.c | 45 u_int32_t sign; local 49 sign=hx&0x80000000; /* sign= sign(x) */ 50 hx ^=sign; 74 INSERT_WORDS(t,sign|((high&0x7fffffff)/3+B2),0); 76 INSERT_WORDS(t,sign|(hx/3+B1),0);
|
H A D | s_modfl.c | 67 *iptr = zero[ux.bits.sign]; 73 return (zero[ux.bits.sign]); 87 return (zero[ux.bits.sign]); 92 return (zero[ux.bits.sign]);
|
H A D | s_sinl.c | 54 s = z.bits.sign; 55 z.bits.sign = 0;
|
H A D | s_tanl.c | 60 s = z.bits.sign; 61 z.bits.sign = 0;
|
H A D | e_sqrtf.c | 29 int32_t sign = (int)0x80000000; local 42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */
|
H A D | e_jnf.c | 49 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 170 int32_t sign; local 179 sign = 1; 182 sign = 1 - ((n&1)<<1); 185 if(n==1) return(sign*__ieee754_y1f(x)); 198 if(sign>0) return b; else return -b;
|
H A D | s_ceill.c | 65 u.e = u.bits.sign ? -0.0 : 1.0; 70 if (!u.bits.sign) { 87 if (!u.bits.sign) {
|
H A D | s_floorl.c | 65 u.e = u.bits.sign ? -1.0 : 0.0; 70 if (u.bits.sign) { 87 if (u.bits.sign) {
|
H A D | s_cosl.c | 59 z.bits.sign = 0;
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
H A D | ldtoa.c | 49 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, argument 70 * gdtoa doesn't know anything about the sign of the number, so 74 *sign = p->ext_sign; 113 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, argument 118 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve);
|
H A D | hdtoa.c | 71 dorounding(char *s0, int ndigits, int sign, int *decpt) argument 85 if (sign == 0) 89 if (sign != 0) 120 * Outputs: decpt, sign, rve 123 __hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, argument 131 *sign = p->dbl_sign; 220 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, argument 228 *sign = p->ext_sign; 326 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, argument 329 return (__hdtoa((double)e, xdigs, ndigits, decpt, sign, rv [all...] |
H A D | gethex.c | 40 gethex(sp, fpi, exp, bp, sign) 41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; 43 gethex( CONST char **sp, FPI *fpi, Long *exp, Bigint **bp, int sign) 159 if (sign) 163 if (!sign) 180 if (!sign) 184 if (sign) 283 if (!sign) 287 if (sign) { 329 up = 1 - sign; [all...] |