Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/lib/libm/
Def_sqrt.c33 __int32_t ix,s,q,m,t,i; local
35 GET_FLOAT_WORD(ix,x);
36 hx = ix&0x7fffffff;
44 if(ix<0) return (x-x)/(x-x); /* sqrt(-ve) = sNaN */
47 m = (ix>>23);
49 for(i=0;(ix&0x00800000L)==0;i++) ix<<=1;
53 ix = (ix&0x007fffffL)|0x00800000L;
55 ix += ix;
59 ix += ix;
65 if(t<=ix) {
[all …]
Def_pow.c69 __int32_t hx,hy,ix,iy,is; local
73 ix = hx&0x7fffffff; iy = hy&0x7fffffff;
79 if(FLT_UWORD_IS_NAN(ix) ||
81 if(ix==0x3f800000) return one;
102 if (ix==0x3f800000)
104 else if (ix > 0x3f800000)/* (|x|>1)**+-inf = inf,0 */
120 if(FLT_UWORD_IS_INFINITE(ix)||FLT_UWORD_IS_ZERO(ix)||ix==0x3f800000){
124 if(((ix-0x3f800000)|yisint)==0) {
138 if(ix<0x3f7ffff8) return (hy<0)? huge*huge:tiny*tiny;
139 if(ix>0x3f800007) return (hy>0)? huge*huge:tiny*tiny;
[all …]
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 …]
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 */
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));
Def_fmod.c37 __int32_t n,hx,hy,hz,ix,iy,sx,i; local
58 for (ix = -126,i=(hx<<8); i>0; i<<=1) ix -=1;
59 } else ix = (hx>>23)-127;
67 if(ix >= -126)
70 n = -126-ix;
81 n = ix - iy;
Def_asin.c48 __int32_t hx,ix; local
50 ix = hx&0x7fffffff;
51 if(ix==0x3f800000) {
54 } else if(ix> 0x3f800000) { /* |x|>= 1 */
56 } else if (ix<0x3f000000) { /* |x|<0.5 */
57 if(ix<0x32000000) { /* if |x| < 2**-27 */
73 if(ix>=0x3F79999A) { /* if |x| > 0.975 */
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;
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.c26 __int32_t n,ix; local
28 GET_FLOAT_WORD(ix,x);
31 ix &= 0x7fffffff;
32 if(ix <= 0x3f490fd8) return __kernel_cosf(x,z);
35 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 */
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/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/generic/goldfish-opengl/system/codecs/c2/decoders/base/include/
DSimpleC2Interface.h226 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in NonStrictValuesWithNoDeps() local
228 me.F(me.v.m.values[ix]).validatePossible(me.v.m.values[ix])); in NonStrictValuesWithNoDeps()
/device/google/contexthub/firmware/os/core/
DhostIntf.c936 sensor->buffer.triple[0].ix = triple->samples[i].ix; in copyTripleSamples()
968 sensor->buffer.triple[numSamples].ix = triple->samples[0].ix; in copyTripleSamples()
987 sensor->buffer.triple[numSamples].ix = triple->samples[i].ix; in copyTripleSamples()
1048 sensor->buffer.rawTriple[0].ix = floatToInt16(triple->samples[i].x * sensor->rawScale); in copyTripleSamplesRaw()
1074 … sensor->buffer.rawTriple[numSamples].ix = floatToInt16(triple->samples[0].x * sensor->rawScale); in copyTripleSamplesRaw()
1087 … sensor->buffer.rawTriple[numSamples].ix = floatToInt16(triple->samples[i].x * sensor->rawScale); in copyTripleSamplesRaw()
/device/google/contexthub/util/nanotool/
Dsensorevent.h49 int16_t ix; member
61 int32_t ix; member
Dsensorevent.cpp289 float x = sample->ix * compressedSampleRatio; in StringForSample()
/device/google/contexthub/firmware/os/inc/
Dsensors.h90 int32_t ix; member
114 int16_t ix; member
/device/google/contexthub/sensorhal/
Dhubconnection.cpp686 sv->x = sample->ix * mScaleAccel; in processSample()
715 ue->x_uncalib = sample->ix * mScaleAccel + mAccelBias[0]; in processSample()
741 sv->x = sample->ix * mScaleAccel; in processSample()
749 sv->x = sample->ix * mScaleMag; in processSample()
762 ue->x_uncalib = sample->ix * mScaleMag + mMagBias[0]; in processSample()
Dhubconnection.h190 int16_t ix, iy, iz; member
/device/google/sunfish/audio/acdbdata/
DworkspaceFile.qwsp1 …meyMbzZBfpBm60/J5uIuFKjO8ewFpdmboUhV+tc8udU7LIPrGHNp0NTTbxKcBZEVNxgbieYSIY+ix+AKygP3rAVG+IiQxHW1TM…
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt52231 HSPLjava/nio/ByteBufferAsCharBuffer;->ix(I)I
52236 HSPLjava/nio/ByteBufferAsFloatBuffer;->ix(I)I
52241 HSPLjava/nio/ByteBufferAsIntBuffer;->ix(I)I
52247 HSPLjava/nio/ByteBufferAsLongBuffer;->ix(I)I
52250 HSPLjava/nio/ByteBufferAsShortBuffer;->ix(I)I
52308 HSPLjava/nio/DirectByteBuffer;->ix(I)J
52362 HSPLjava/nio/HeapByteBuffer;->ix(I)I
52382 HSPLjava/nio/HeapCharBuffer;->ix(I)I