Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 25 of 34) sorted by relevance

12

/bionic/libm/src/
Dfpmath.h39 unsigned int sign :1; member
41 unsigned int sign :1;
58 unsigned int sign :1; member
64 unsigned int sign :1;
66 unsigned int sign :1;
De_sqrt.c97 int32_t sign = (int)0x80000000; in __ieee754_sqrt() local
110 if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */ in __ieee754_sqrt()
129 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt()
135 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt()
147 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt()
152 r = sign; in __ieee754_sqrt()
158 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt()
164 ix0 += ix0 + ((ix1&sign)>>31); in __ieee754_sqrt()
184 if ((q&1)==1) ix1 |= sign; in __ieee754_sqrt()
Ds_signbit.c39 return (u.bits.sign); in __signbit()
48 return (u.bits.sign); in __signbitf()
57 return (u.bits.sign); in __signbitl()
Ds_cbrtf.c43 u_int32_t sign; in cbrtf() local
47 sign=hx&0x80000000; /* sign= sign(x) */ in cbrtf()
48 hx ^=sign; in cbrtf()
58 SET_FLOAT_WORD(t,sign|((high&0x7fffffff)/3+B2)); in cbrtf()
60 SET_FLOAT_WORD(t,sign|(hx/3+B1)); in cbrtf()
Ds_fminf.c49 if (u[0].bits.sign != u[1].bits.sign) in fminf()
50 return (u[u[1].bits.sign].f); in fminf()
Ds_fmaxf.c49 if (u[0].bits.sign != u[1].bits.sign) in fmaxf()
50 return (u[u[0].bits.sign].f); in fmaxf()
Ds_cbrt.c41 u_int32_t sign; in cbrt() local
45 sign=hx&0x80000000; /* sign= sign(x) */ in cbrt()
46 hx ^=sign; in cbrt()
71 SET_HIGH_WORD(t,sign|((high&0x7fffffff)/3+B2)); in cbrt()
73 SET_HIGH_WORD(t,sign|(hx/3+B1)); in cbrt()
Ds_fmax.c49 if (u[0].bits.sign != u[1].bits.sign) in fmax()
50 return (u[u[0].bits.sign].d); in fmax()
Ds_fmin.c49 if (u[0].bits.sign != u[1].bits.sign) in fmin()
50 return (u[u[1].bits.sign].d); in fmin()
Ds_fminl.c51 if (u[0].bits.sign != u[1].bits.sign) in fminl()
52 return (u[1].bits.sign ? y : x); in fminl()
Ds_fmaxl.c51 if (u[0].bits.sign != u[1].bits.sign) in fmaxl()
52 return (u[0].bits.sign ? y : x); in fmaxl()
Ds_copysignl.c40 ux.bits.sign = uy.bits.sign; in copysignl()
Ds_fabsl.c41 u.bits.sign = 0; in fabsl()
De_jnf.c167 int32_t sign; in __ieee754_ynf() local
176 sign = 1; in __ieee754_ynf()
179 sign = 1 - ((n&1)<<1); in __ieee754_ynf()
182 if(n==1) return(sign*__ieee754_y1f(x)); in __ieee754_ynf()
195 if(sign>0) return b; else return -b; in __ieee754_ynf()
Ds_ceill.c66 u.e = u.bits.sign ? 0.0 : 1.0; in ceill()
71 if (!u.bits.sign) { in ceill()
88 if (!u.bits.sign) { in ceill()
Ds_floorl.c66 u.e = u.bits.sign ? -1.0 : 0.0; in floorl()
71 if (u.bits.sign) { in floorl()
88 if (u.bits.sign) { in floorl()
De_sqrtf.c29 int32_t sign = (int)0x80000000; in __ieee754_sqrtf() local
42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */ in __ieee754_sqrtf()
/bionic/libm/sh/
D_fpmath.h40 unsigned int sign :1; member
42 unsigned int sign :1;
/bionic/libm/arm/
D_fpmath.h36 unsigned int sign :1; member
38 unsigned int sign :1;
/bionic/libm/ia64/
D_fpmath.h39 unsigned int sign :1; member
43 unsigned int sign :1;
/bionic/libc/string/
Dstrerror_r.c57 __itoa(int num, int sign, char *buffer, size_t start, size_t end) in __itoa() argument
63 if (sign && num < 0) { in __itoa()
128 __num2string(int num, int sign, int setid, char *buf, size_t buflen,
143 ret = __itoa(num, sign, buf, len, buflen);
/bionic/libm/powerpc/
D_fpmath.h32 unsigned int sign :1; member
/bionic/libm/alpha/
D_fpmath.h35 unsigned int sign :1; member
/bionic/libm/i386/
D_fpmath.h35 unsigned int sign :1; member
/bionic/libm/amd64/
D_fpmath.h35 unsigned int sign :1; member

12