Searched refs:ix (Results 1 - 25 of 142) sorted by relevance

123456

/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ds_logbf.c30 int32_t ix; local
31 GET_FLOAT_WORD(ix,x);
32 ix &= 0x7fffffff; /* high |x| */
33 if(ix==0) return (float)-1.0/fabsf(x);
34 if(ix>=0x7f800000) return x*x;
35 if((ix>>=23)==0) /* IEEE 754 logb */
38 return (float) (ix-127);
H A Ds_isnanf.c35 int32_t ix; local
36 GET_FLOAT_WORD(ix,x);
37 ix &= 0x7fffffff;
38 ix = 0x7f800000 - ix;
39 return (int)(((u_int32_t)(ix))>>31);
H A De_sqrtf.c26 int32_t ix,s,q,m,t,i; local
29 GET_FLOAT_WORD(ix,x);
32 if((ix&0x7f800000)==0x7f800000) {
37 if(ix<=0) {
38 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */
39 else if(ix<0)
43 m = (ix>>23);
45 for(i=0;(ix&0x00800000)==0;i++) ix<<=1;
49 ix
[all...]
H A Ds_logb.c33 int32_t lx,ix; local
34 EXTRACT_WORDS(ix,lx,x);
35 ix &= 0x7fffffff; /* high |x| */
36 if((ix|lx)==0) return -1.0/fabs(x);
37 if(ix>=0x7ff00000) return x*x;
38 if((ix>>=20)==0) /* IEEE 754 logb */
41 return (double) (ix-1023);
H A Ds_isinff.c21 int32_t ix,t; local
22 GET_FLOAT_WORD(ix,x);
23 t = ix & 0x7fffffff;
26 return ~(t >> 31) & (ix >> 30);
H A Ds_frexpf.c37 int32_t hx,ix; local
39 ix = 0x7fffffff&hx;
41 if(ix>=0x7f800000||(ix==0)) return x; /* 0,inf,nan */
42 if (ix<0x00800000) { /* subnormal */
45 ix = hx&0x7fffffff;
48 *eptr += (ix>>23)-126;
H A Ds_tanf.c31 int32_t n, ix; local
33 GET_FLOAT_WORD(ix,x);
36 ix &= 0x7fffffff;
37 if(ix <= 0x3f490fda) return __kernel_tanf(x,z,1);
40 else if (ix>=0x7f800000) return x-x; /* NaN */
H A De_coshf.c38 int32_t ix; local
40 GET_FLOAT_WORD(ix,x);
41 ix &= 0x7fffffff;
44 if(ix>=0x7f800000) return x*x;
47 if(ix<0x3eb17218) {
50 if (ix<0x24000000) return w; /* cosh(tiny) = 1 */
55 if (ix < 0x41b00000) {
61 if (ix < 0x42b17180) return half*__ieee754_expf(fabsf(x));
64 if (ix<=0x42b2d4fc) {
H A De_ilogbl.c34 int32_t es,hx,lx,ix; local
44 for (ix = -16415; lx>0; lx<<=1) ix -=1;
46 for (ix = -16383; hx>0; hx<<=1) ix -=1;
48 return ix;
H A De_sinhf.c37 int32_t ix,jx; local
40 ix = jx&0x7fffffff;
43 if(ix>=0x7f800000) return x+x;
48 if (ix < 0x41b00000) { /* |x|<22 */
49 if (ix<0x31800000) /* |x|<2**-28 */
52 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one));
57 if (ix < 0x42b17180) return h*__ieee754_expf(fabsf(x));
60 if (ix<=0x42b2d4fc) {
H A Ds_ilogbf.c31 int32_t hx,ix; local
39 for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1;
40 return ix;
H A Ds_sincos.c29 int32_t ix; local
32 GET_HIGH_WORD (ix, x);
35 ix &= 0x7fffffff;
36 if (ix>=0x7ff00000)
H A Ds_copysignf.c36 u_int32_t ix,iy; local
37 GET_FLOAT_WORD(ix,x);
39 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000));
H A Ds_fabsf.c34 u_int32_t ix; local
35 GET_FLOAT_WORD(ix,x);
36 SET_FLOAT_WORD(x,ix&0x7fffffff);
H A Ds_finitef.c35 int32_t ix; local
36 GET_FLOAT_WORD(ix,x);
37 return (int)((u_int32_t)((ix&0x7fffffff)-0x7f800000)>>31);
H A Ds_cosf.c37 int32_t n,ix; local
39 GET_FLOAT_WORD(ix,x);
42 ix &= 0x7fffffff;
43 if(ix <= 0x3f490fd8) return __kernel_cosf(x,z);
46 else if (ix>=0x7f800000) return x-x;
H A Ds_sinf.c31 int32_t n, ix; local
33 GET_FLOAT_WORD(ix,x);
36 ix &= 0x7fffffff;
37 if(ix <= 0x3f490fd8) return __kernel_sinf(x,z,0);
40 else if (ix>=0x7f800000) return x-x;
H A De_sinhl.c56 u_int32_t jx,ix,i0,i1; local
60 ix = jx&0x7fff;
63 if(ix==0x7fff) return x+x;
68 if (ix < 0x4003 || (ix == 0x4003 && i0 <= 0xc8000000)) { /* |x|<25 */
69 if (ix<0x3fdf) /* |x|<2**-32 */
72 if(ix<0x3fff) return h*(2.0*t-t*t/(t+one));
77 if (ix < 0x400c || (ix == 0x400c && i0 < 0xb17217f7))
81 if (ix<
[all...]
H A De_atanh.c58 int32_t hx,ix; local
61 ix = hx&0x7fffffff;
62 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
64 if(ix==0x3ff00000)
66 if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */
67 SET_HIGH_WORD(x,ix);
68 if(ix<0x3fe00000) { /* x < 0.5 */
H A De_atanhf.c43 int32_t hx,ix; local
45 ix = hx&0x7fffffff;
46 if (ix>0x3f800000) /* |x|>1 */
48 if(ix==0x3f800000)
50 if(ix<0x31800000&&(huge+x)>zero) return x; /* x<2**-28 */
51 SET_FLOAT_WORD(x,ix);
52 if(ix<0x3f000000) { /* x < 0.5 */
H A De_atanhl.c62 int32_t ix; local
65 ix = se&0x7fff;
66 if ((ix+((((i0&0x7fffffff)|i1)|(-((i0&0x7fffffff)|i1)))>>31))>0x3fff)
69 if(ix==0x3fff)
71 if(ix<0x3fe3&&(huge+x)>zero) return x; /* x<2**-28 */
72 SET_LDOUBLE_EXP(x,ix);
73 if(ix<0x3ffe) { /* x < 0.5 */
H A Ds_frexp.c44 int32_t hx, ix, lx; local
46 ix = 0x7fffffff&hx;
48 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
49 if (ix<0x00100000) { /* subnormal */
52 ix = hx&0x7fffffff;
55 *eptr += (ix>>20)-1022;
H A Ds_frexpl.c54 u_int32_t se, hx, ix, lx; local
56 ix = 0x7fff&se;
58 if(ix==0x7fff||((ix|hx|lx)==0)) return x; /* 0,inf,nan */
59 if (ix==0x0000) { /* subnormal */
62 ix = se&0x7fff;
65 *eptr += ix-16382;
H A Ds_tanhf.c37 int32_t jx,ix; local
40 ix = jx&0x7fffffff;
43 if(ix>=0x7f800000) {
49 if (ix < 0x41b00000) { /* |x|<22 */
50 if (ix == 0)
52 if (ix<0x24000000) /* |x|<2**-55 */
54 if (ix>=0x3f800000) { /* |x|>=1 */
/haiku/src/system/libroot/posix/glibc/arch/arm/
H A De_sqrtf.c38 int32_t ix,s,q,m,t,i; local
41 GET_FLOAT_WORD(ix,x);
44 if((ix&0x7f800000)==0x7f800000) {
49 if(ix<=0) {
50 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */
51 else if(ix<0)
55 m = (ix>>23);
57 for(i=0;(ix&0x00800000)==0;i++) ix<<=1;
61 ix
[all...]

Completed in 111 milliseconds

123456