Home
last modified time | relevance | path

Searched refs:fract (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/external/arm/
Darm_sin_cos_f32.c212 float32_t sinVal, fract, in; /* Temporary variables for input, output */ in arm_sin_f32() local
239 fract = findex - (float32_t) index; in arm_sin_f32()
246 sinVal = (1.0f-fract)*a + fract*b; in arm_sin_f32()
301 float32_t cosVal, fract, in; /* Temporary variables for input, output */ in arm_cos_f32() local
328 fract = findex - (float32_t) index; in arm_cos_f32()
335 cosVal = (1.0f-fract)*a + fract*b; in arm_cos_f32()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Darm_math.h5829 q31_t fract; /* fractional part */ in arm_linear_interp_q31() local
5850 fract = (x & 0x000FFFFF) << 11; in arm_linear_interp_q31()
5857 y = ((q31_t) ((q63_t) y0 * (0x7FFFFFFF - fract) >> 32)); in arm_linear_interp_q31()
5860 y += ((q31_t) (((q63_t) y1 * fract) >> 32)); in arm_linear_interp_q31()
5891 q31_t fract; /* fractional part */ in arm_linear_interp_q15() local
5911 fract = (x & 0x000FFFFF); in arm_linear_interp_q15()
5918 y = ((q63_t) y0 * (0xFFFFF - fract)); in arm_linear_interp_q15()
5921 y += ((q63_t) y1 * (fract)); in arm_linear_interp_q15()
5951 q31_t fract; /* fractional part */ in arm_linear_interp_q7() local
5973 fract = (x & 0x000FFFFF); in arm_linear_interp_q7()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/
DEnquire.c721 int exponent ARGS((Long_double x, Long_double *fract, int *exp));
1345 exponent(Long_double x, Long_double *fract, int *exp)
1353 *fract=0.0; *exp=0;
1370 if (neg) *fract= -x;
1371 else *fract= x;