Home
last modified time | relevance | path

Searched refs:ix (Results 1 – 18 of 18) sorted by relevance

/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Ds_atanf.c52 int32_t ix,hx,id; in atanf() local
55 ix = hx&0x7fffffff; in atanf()
56 if(ix>=0x4c800000) { /* if |x| >= 2**26 */ in atanf()
57 if(ix>0x7f800000) in atanf()
61 } if (ix < 0x3ee00000) { /* |x| < 0.4375 */ in atanf()
62 if (ix < 0x39800000) { /* |x| < 2**-12 */ in atanf()
68 if (ix < 0x3f980000) { /* |x| < 1.1875 */ in atanf()
69 if (ix < 0x3f300000) { /* 7/16 <=|x|<11/16 */ in atanf()
75 if (ix < 0x401c0000) { /* |x| < 2.4375 */ in atanf()
De_atan2f.c36 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local
39 ix = hx&0x7fffffff; in __ieee754_atan2f()
42 if((ix>0x7f800000)|| in __ieee754_atan2f()
58 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f()
61 if(ix==0x7f800000) { in __ieee754_atan2f()
82 k = (iy-ix)>>23; in __ieee754_atan2f()
Dmath_private.h102 #define EXTRACT_WORD64(ix,d) \ argument
106 (ix) = ew_u.xparts.w; \
138 #define INSERT_WORD64(d,ix) \ argument
141 iw_u.xparts.w = (ix); \
/device/google/contexthub/lib/libm/
Dsf_atan.c75 __int32_t ix,hx,id; local
78 ix = hx&0x7fffffff;
79 if(ix>=0x50800000) { /* if |x| >= 2^34 */
80 if(FLT_UWORD_IS_NAN(ix))
84 } if (ix < 0x3ee00000) { /* |x| < 0.4375 */
85 if (ix < 0x31000000) { /* |x| < 2^-29 */
91 if (ix < 0x3f980000) { /* |x| < 1.1875 */
92 if (ix < 0x3f300000) { /* 7/16 <=|x|<11/16 */
98 if (ix < 0x401c0000) { /* |x| < 2.4375 */
Def_rem_pio2.c107 __int32_t i,j,n,ix,hx; local
111 ix = hx&0x7fffffff;
112 if(ix<=0x3f490fd8) /* |x| ~<= pi/4 , no need for reduction */
114 if(ix<0x4016cbe4) { /* |x| < 3pi/4, special case with n=+-1 */
117 if((ix&0xfffffff0)!=0x3fc90fd0) { /* 24+24 bit pi OK */
128 if((ix&0xfffffff0)!=0x3fc90fd0) { /* 24+24 bit pi OK */
139 if(ix<=0x43490f80) { /* |x| ~<= 2^7*(pi/2), medium size */
145 if(n<32&&(ix&0xffffff00)!=npio2_hw[n-1]) {
149 j = ix>>23;
177 if(!FLT_UWORD_IS_FINITE(ix)) {
[all …]
Dkf_cos.c39 __int32_t ix; local
40 GET_FLOAT_WORD(ix,x);
41 ix &= 0x7fffffff; /* ix = |x|'s high word*/
42 if(ix<0x32000000) { /* if x < 2**27 */
47 if(ix < 0x3e99999a) /* if |x| < 0.3 */
50 if(ix > 0x3f480000) { /* x > 0.78125 */
53 SET_FLOAT_WORD(qx,ix-0x01000000); /* x/4 */
Dsf_scalbn.c43 __int32_t k,ix; local
46 GET_FLOAT_WORD(ix,x);
47 hx = ix&0x7fffffff;
55 GET_FLOAT_WORD(ix,x);
56 k = ((ix&0x7f800000)>>23) - 25;
62 {SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23)); return x;}
69 SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23));
Dsf_sin.c26 __int32_t n,ix; local
28 GET_FLOAT_WORD(ix,x);
31 ix &= 0x7fffffff;
32 if(ix <= 0x3f490fd8) return __kernel_sinf(x,z,0);
35 else if (!FLT_UWORD_IS_FINITE(ix)) return x-x;
Dsf_cos.c32 __int32_t n,ix; local
34 GET_FLOAT_WORD(ix,x);
37 ix &= 0x7fffffff;
38 if(ix <= 0x3f490fd8) return __kernel_cosf(x,z);
41 else if (!FLT_UWORD_IS_FINITE(ix)) return x-x;
Dsf_floor.c41 __uint32_t i,ix; local
43 ix = (i0&0x7fffffff);
44 j0 = (ix>>23)-0x7f;
49 else if(!FLT_UWORD_IS_ZERO(ix))
61 if(!FLT_UWORD_IS_FINITE(ix)) return x+x; /* inf or NaN */
Def_atan2.c39 __int32_t k,m,hx,hy,ix,iy; local
42 ix = hx&0x7fffffff;
45 if(FLT_UWORD_IS_NAN(ix)||
61 if(FLT_UWORD_IS_ZERO(ix)) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
64 if(FLT_UWORD_IS_INFINITE(ix)) {
85 k = (iy-ix)>>23;
Dkf_sin.c39 __int32_t ix; local
40 GET_FLOAT_WORD(ix,x);
41 ix &= 0x7fffffff; /* high word of x */
42 if(ix<0x32000000) /* |x| < 2**-27 */
/device/google/contexthub/util/nanotool/
Dsensorevent.h49 int16_t ix; member
61 int32_t ix; member
Dsensorevent.cpp270 float x = sample->ix * kCompressedSampleRatio; in StringForSample()
/device/google/contexthub/firmware/inc/
Dsensors.h84 int32_t ix; member
108 int16_t ix; member
/device/google/contexthub/firmware/src/
DhostIntf.c780 sensor->buffer.rawTriple[0].ix = floatToInt16(triple->samples[i].x * sensor->rawScale); in copyTripleSamplesRaw()
808 … sensor->buffer.rawTriple[numSamples].ix = floatToInt16(triple->samples[0].x * sensor->rawScale); in copyTripleSamplesRaw()
821 … sensor->buffer.rawTriple[numSamples].ix = floatToInt16(triple->samples[i].x * sensor->rawScale); in copyTripleSamplesRaw()
918 sensor->buffer.triple[0].ix = triple->samples[i].ix; in copyTripleSamples()
952 sensor->buffer.triple[numSamples].ix = triple->samples[0].ix; in copyTripleSamples()
971 sensor->buffer.triple[numSamples].ix = triple->samples[i].ix; in copyTripleSamples()
/device/google/contexthub/sensorhal/
Dhubconnection.h139 int16_t ix, iy, iz; member
Dhubconnection.cpp413 sv->x = sample->ix * ACCEL_RAW_KSCALE; in processSample()