Searched refs:sx (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/lib/libm/ |
D | ef_fmod.c | 37 __int32_t n,hx,hy,hz,ix,iy,sx,i; local 41 sx = hx&0x80000000; /* sign of x */ 42 hx ^=sx; /* |x| */ 52 return Zero[(__uint32_t)sx>>31]; /* |x|=|y| return x*0*/ 87 return Zero[(__uint32_t)sx>>31]; 96 return Zero[(__uint32_t)sx>>31]; 103 SET_FLOAT_WORD(x,hx|sx); 109 SET_FLOAT_WORD(x,hx|sx);
|
D | ef_exp.c | 50 __int32_t k = 0,xsb,sx; local 53 GET_FLOAT_WORD(sx,x); 54 xsb = (sx>>31)&1; /* sign bit of x */ 55 hx = sx & 0x7fffffff; /* high word of |x| */ 62 if(sx > FLT_UWORD_LOG_MAX) 64 if(sx < 0 && hx > FLT_UWORD_LOG_MIN)
|
/device/google/contexthub/firmware/os/algos/calibration/over_temp/ |
D | over_temp_cal.c | 1331 float sx = 0.0f, stsx = 0.0f; in updateModel() local 1344 sx += over_temp_cal->model_data[i].offset[0] * weight; in updateModel() 1368 sensor_intercept[0] = (sx - st * temp_sensitivity[0]) * inv_sw; in updateModel()
|