/device/google/contexthub/firmware/lib/libm/ |
D | ef_fmod.c | 37 __int32_t n,hx,hy,hz,ix,iy,sx,i; local 63 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1; 64 } else iy = (hy>>23)-127; 73 if(iy >= -126) 76 n = -126-iy; 81 n = ix - iy; 99 iy -= 1; 101 if(iy>= -126) { /* normalize output */ 102 hx = ((hx-0x00800000)|((iy+127)<<23)); 107 n = -126 - iy;
|
D | ef_atan2.c | 39 __int32_t k,m,hx,hy,ix,iy; local 44 iy = hy&0x7fffffff; 46 FLT_UWORD_IS_NAN(iy)) /* x or y is NaN */ 52 if(FLT_UWORD_IS_ZERO(iy)) { 65 if(FLT_UWORD_IS_INFINITE(iy)) { 82 if(FLT_UWORD_IS_INFINITE(iy)) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; 85 k = (iy-ix)>>23;
|
D | kf_sin.c | 32 float __kernel_sinf(float x, float y, int iy) in __kernel_sinf() argument 34 float __kernel_sinf(x, y, iy) in __kernel_sinf() 35 float x,y; int iy; /* iy=0 if y is zero */ in __kernel_sinf() 47 if(iy==0) return x+v*(S1+z*r);
|
D | ef_pow.c | 69 __int32_t hx,hy,ix,iy,is; local 73 ix = hx&0x7fffffff; iy = hy&0x7fffffff; 76 if(FLT_UWORD_IS_ZERO(iy)) return one; 80 FLT_UWORD_IS_NAN(iy)) { 92 if(iy>=0x4b800000) yisint = 2; /* even integer y */ 93 else if(iy>=0x3f800000) { 94 k = (iy>>23)-0x7f; /* exponent */ 95 j = iy>>(23-k); 96 if((j<<(23-k))==iy) yisint = 2-(j&1); 101 if (FLT_UWORD_IS_INFINITE(iy)) { /* y is +-inf */ [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
D | e_fmod.c | 37 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmod() local 68 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in __ieee754_fmod() 70 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; in __ieee754_fmod() 72 } else iy = (hy>>20)-1023; in __ieee754_fmod() 87 if(iy >= -1022) in __ieee754_fmod() 90 n = -1022-iy; in __ieee754_fmod() 101 n = ix - iy; in __ieee754_fmod() 119 iy -= 1; in __ieee754_fmod() 121 if(iy>= -1022) { /* normalize output */ in __ieee754_fmod() 122 hx = ((hx-0x00100000)|((iy+1023)<<20)); in __ieee754_fmod() [all …]
|
D | e_atan2.c | 65 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2() local 71 iy = hy&0x7fffffff; in __ieee754_atan2() 73 ((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */ in __ieee754_atan2() 79 if((iy|ly)==0) { in __ieee754_atan2() 92 if(iy==0x7ff00000) { in __ieee754_atan2() 109 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2() 112 k = (iy-ix)>>20; in __ieee754_atan2()
|
D | e_pow.c | 123 int32_t hx,hy,ix,iy; in __ieee754_pow() local 128 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_pow() 131 if((iy|ly)==0) return one; in __ieee754_pow() 135 iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0))) in __ieee754_pow() 145 if(iy>=0x43400000) yisint = 2; /* even integer y */ in __ieee754_pow() 146 else if(iy>=0x3ff00000) { in __ieee754_pow() 147 k = (iy>>20)-0x3ff; /* exponent */ in __ieee754_pow() 152 j = iy>>(20-k); in __ieee754_pow() 153 if((j<<(20-k))==iy) yisint = 2-(j&1); in __ieee754_pow() 160 if (iy==0x7ff00000) { /* y is +-inf */ in __ieee754_pow() [all …]
|
D | k_tan.c | 79 __kernel_tan(double x, double y, int iy) in __kernel_tan() argument 90 if(((ix | low) | (iy + 1)) == 0) in __kernel_tan() 93 if (iy == 1) in __kernel_tan() 135 v = (double) iy; in __kernel_tan() 139 if (iy == 1) in __kernel_tan()
|
D | k_sin.c | 59 __kernel_sin(double x, double y, int iy) in __kernel_sin() argument 70 if(iy==0) return x+v*(S1+z*r); in __kernel_sin()
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | e_atan2f.c | 36 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local 41 iy = hy&0x7fffffff; in __ieee754_atan2f() 43 (iy>0x7f800000)) /* x or y is NaN */ in __ieee754_atan2f() 49 if(iy==0) { in __ieee754_atan2f() 62 if(iy==0x7f800000) { in __ieee754_atan2f() 79 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f() 82 k = (iy-ix)>>23; in __ieee754_atan2f()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | imageop.c | 122 int ix, iy, xstep, ystep; in imageop_crop() local 150 for( iy = newy1; iy != newy2; iy+=ystep ) { in imageop_crop() 152 if ( iy < 0 || iy >= y || ix < 0 || ix >= x ) { in imageop_crop() 159 *ncp++ = *CHARP(cp, x, ix, iy); in imageop_crop() 161 *nsp++ = *SHORTP(cp, x, ix, iy); in imageop_crop() 163 *nlp++ = *LONGP(cp, x, ix, iy); in imageop_crop() 177 int ix, iy; in imageop_scale() local 201 for( iy = 0; iy < newy; iy++ ) { in imageop_scale() 204 oiy = iy * y / newy; in imageop_scale()
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.h | 50 int16_t iy; member 65 int32_t iy; member
|
D | sensorevent.cpp | 290 float y = sample->iy * compressedSampleRatio; in StringForSample()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 94 int32_t iy; member 115 int16_t iy; member
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntf.c | 937 sensor->buffer.triple[0].iy = triple->samples[i].iy; in copyTripleSamples() 969 sensor->buffer.triple[numSamples].iy = triple->samples[0].iy; in copyTripleSamples() 988 sensor->buffer.triple[numSamples].iy = triple->samples[i].iy; in copyTripleSamples() 1049 sensor->buffer.rawTriple[0].iy = floatToInt16(triple->samples[i].y * sensor->rawScale); in copyTripleSamplesRaw() 1075 … sensor->buffer.rawTriple[numSamples].iy = floatToInt16(triple->samples[0].y * sensor->rawScale); in copyTripleSamplesRaw() 1088 … sensor->buffer.rawTriple[numSamples].iy = floatToInt16(triple->samples[i].y * sensor->rawScale); in copyTripleSamplesRaw()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.h | 190 int16_t ix, iy, iz; member
|
D | hubconnection.cpp | 687 sv->y = sample->iy * mScaleAccel; in processSample() 716 ue->y_uncalib = sample->iy * mScaleAccel + mAccelBias[1]; in processSample() 742 sv->y = (mLefty.accel ? -sample->iy : sample->iy) * mScaleAccel; in processSample() 750 sv->y = sample->iy * mScaleMag; in processSample() 763 ue->y_uncalib = sample->iy * mScaleMag + mMagBias[1]; in processSample()
|