Searched refs:sign (Results 1 - 25 of 39) sorted by relevance

12

/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_signbit.c39 return (u.bits.sign);
48 return (u.bits.sign);
57 return (u.bits.sign);
H A Ds_fabsl.c41 u.bits.sign = 0;
H A Ds_copysignl.c40 ux.bits.sign = uy.bits.sign;
H A Ds_cbrtf.c36 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 Ds_rintl.c59 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 Ds_fmax.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[0].bits.sign].d);
H A Ds_fmaxf.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[0].bits.sign].f);
H A Ds_fmaxl.c51 if (u[0].bits.sign != u[1].bits.sign)
52 return (u[0].bits.sign ? y : x);
H A Ds_fmin.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[1].bits.sign].d);
H A Ds_fminf.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[1].bits.sign].f);
H A Ds_fminl.c51 if (u[0].bits.sign != u[1].bits.sign)
52 return (u[1].bits.sign ? y : x);
H A De_sqrt.c98 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 Ds_cbrt.c45 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 Ds_modfl.c67 *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 Ds_sinl.c54 s = z.bits.sign;
55 z.bits.sign = 0;
H A Ds_tanl.c60 s = z.bits.sign;
61 z.bits.sign = 0;
H A De_sqrtf.c29 int32_t sign = (int)0x80000000; local
42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */
H A De_jnf.c49 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 Ds_ceill.c65 u.e = u.bits.sign ? -0.0 : 1.0;
70 if (!u.bits.sign) {
87 if (!u.bits.sign) {
H A Ds_floorl.c65 u.e = u.bits.sign ? -1.0 : 0.0;
70 if (u.bits.sign) {
87 if (u.bits.sign) {
H A Ds_cosl.c59 z.bits.sign = 0;
/bionic/libm/
H A Dfpmath.h39 unsigned int sign :1; member in struct:IEEEf2bits::__anon691
41 unsigned int sign :1;
58 unsigned int sign :1; member in struct:IEEEd2bits::__anon692
64 unsigned int sign :1;
66 unsigned int sign :1;
/bionic/libm/mips/
H A D_fpmath.h36 unsigned int sign :1; member in struct:IEEEl2bits::__anon697
38 unsigned int sign :1;
/bionic/libm/arm/
H A D_fpmath.h44 unsigned int sign :1; member in struct:IEEEl2bits::__anon690
49 unsigned int sign :1;
/bionic/libm/i386/
H A D_fpmath.h35 unsigned int sign :1; member in struct:IEEEl2bits::__anon693

Completed in 180 milliseconds

12