/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_rintl.c | 60 int ex, sign; in rintl() local 71 sign = expsign >> 15; in rintl() 80 x += shift[sign]; in rintl() 81 x -= shift[sign]; in rintl() 88 return (zero[sign]); in rintl()
|
D | e_sqrt.c | 98 int32_t sign = (int)0x80000000; in __ieee754_sqrt() local 111 if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */ in __ieee754_sqrt() 130 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt() 136 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt() 148 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt() 153 r = sign; in __ieee754_sqrt() 159 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt() 165 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt() 185 if ((q&1)==1) ix1 |= sign; in __ieee754_sqrt()
|
D | s_cbrtf.c | 36 u_int32_t sign; in cbrtf() local 40 sign=hx&0x80000000; /* sign= sign(x) */ in cbrtf() 41 hx ^=sign; in cbrtf() 51 SET_FLOAT_WORD(t,sign|((high&0x7fffffff)/3+B2)); in cbrtf() 53 SET_FLOAT_WORD(t,sign|(hx/3+B1)); in cbrtf()
|
D | s_fminf.c | 49 if (u[0].bits.sign != u[1].bits.sign) in fminf() 50 return (u[u[1].bits.sign].f); in fminf()
|
D | s_fmaxf.c | 49 if (u[0].bits.sign != u[1].bits.sign) in fmaxf() 50 return (u[u[0].bits.sign].f); in fmaxf()
|
D | s_cbrt.c | 45 u_int32_t sign; in cbrt() local 49 sign=hx&0x80000000; /* sign= sign(x) */ in cbrt() 50 hx ^=sign; in cbrt() 74 INSERT_WORDS(t,sign|((high&0x7fffffff)/3+B2),0); in cbrt() 76 INSERT_WORDS(t,sign|(hx/3+B1),0); in cbrt()
|
D | s_fmax.c | 49 if (u[0].bits.sign != u[1].bits.sign) in fmax() 50 return (u[u[0].bits.sign].d); in fmax()
|
D | s_fmin.c | 49 if (u[0].bits.sign != u[1].bits.sign) in fmin() 50 return (u[u[1].bits.sign].d); in fmin()
|
D | s_fmaxl.c | 51 if (u[0].bits.sign != u[1].bits.sign) in fmaxl() 52 return (u[0].bits.sign ? y : x); in fmaxl()
|
D | s_fminl.c | 51 if (u[0].bits.sign != u[1].bits.sign) in fminl() 52 return (u[1].bits.sign ? y : x); in fminl()
|
D | s_copysignl.c | 40 ux.bits.sign = uy.bits.sign; in copysignl()
|
D | s_modfl.c | 67 *iptr = zero[ux.bits.sign]; in modfl() 73 return (zero[ux.bits.sign]); in modfl() 87 return (zero[ux.bits.sign]); in modfl() 92 return (zero[ux.bits.sign]); in modfl()
|
D | s_tanl.c | 60 s = z.bits.sign; in tanl() 61 z.bits.sign = 0; in tanl()
|
D | s_fabsl.c | 41 u.bits.sign = 0; in fabsl()
|
D | s_sinl.c | 54 s = z.bits.sign; in sinl() 55 z.bits.sign = 0; in sinl()
|
D | s_remquol.c | 78 sx = ux.bits.sign; in remquol() 79 sxy = sx ^ uy.bits.sign; in remquol() 80 ux.bits.sign = 0; /* |x| */ in remquol() 81 uy.bits.sign = 0; /* |y| */ in remquol() 157 ux.bits.sign = 0; in remquol() 172 ux.bits.sign ^= sx; in remquol()
|
D | e_jnf.c | 170 int32_t sign; in __ieee754_ynf() local 179 sign = 1; in __ieee754_ynf() 182 sign = 1 - ((n&1)<<1); in __ieee754_ynf() 185 if(n==1) return(sign*__ieee754_y1f(x)); in __ieee754_ynf() 198 if(sign>0) return b; else return -b; in __ieee754_ynf()
|
D | s_floorl.c | 65 u.e = u.bits.sign ? -1.0 : 0.0; in floorl() 70 if (u.bits.sign) { in floorl() 87 if (u.bits.sign) { in floorl()
|
D | s_ceill.c | 65 u.e = u.bits.sign ? -0.0 : 1.0; in ceill() 70 if (!u.bits.sign) { in ceill() 87 if (!u.bits.sign) { in ceill()
|
D | e_sqrtf.c | 29 int32_t sign = (int)0x80000000; in __ieee754_sqrtf() local 42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */ in __ieee754_sqrtf()
|
/bionic/libm/ |
D | signbit.c | 38 return (u.bits.sign); in __signbit() 46 return (u.bits.sign); in __signbitf() 55 return (u.bits.sign); in __signbitl()
|
D | fpmath.h | 46 unsigned int sign :1; member 59 unsigned int sign :1; member 71 unsigned int sign :1; member
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | ldtoa.c | 49 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 74 *sign = p->ext_sign; in __ldtoa() 113 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 118 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in __ldtoa()
|
D | hdtoa.c | 71 dorounding(char *s0, int ndigits, int sign, int *decpt) in dorounding() argument 85 if (sign == 0) in dorounding() 89 if (sign != 0) in dorounding() 123 __hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, in __hdtoa() argument 131 *sign = p->dbl_sign; in __hdtoa() 220 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, in __hldtoa() argument 228 *sign = p->ext_sign; in __hldtoa() 326 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, in __hldtoa() argument 329 return (__hdtoa((double)e, xdigs, ndigits, decpt, sign, rve)); in __hldtoa()
|
D | gethex.c | 40 gethex(sp, fpi, exp, bp, sign) in gethex() argument 41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; in gethex() 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 …]
|