Searched refs:b_i (Results 1 – 6 of 6) sorted by relevance
/sof-3.4.0/test/cmocka/src/math/arithmetic/ |
D | exponential.c | 27 static void gen_exp_testvector(double a, double b, double *r, int32_t *b_i); 37 static void gen_exp_testvector(double a, double b, double *r, int32_t *b_i) in gen_exp_testvector() argument 49 *b_i = (a2 >= -2147483648LL) ? a2 : INT32_MIN; in gen_exp_testvector() 51 *b_i = INT32_MAX; in gen_exp_testvector() 65 int32_t b_i; in test_math_arithmetic_exponential_fixed() local 69 gen_exp_testvector(a_tmp, b_tmp, &r, &b_i); in test_math_arithmetic_exponential_fixed() 70 a_i = (double)b_i / (1 << 28); in test_math_arithmetic_exponential_fixed() 71 accum = sofm_exp_int32(b_i); in test_math_arithmetic_exponential_fixed() 76 max_ulp, (double)b_i / (1 << 28), (double)accum / (1 << 23)); in test_math_arithmetic_exponential_fixed()
|
/sof-3.4.0/src/math/ |
D | trig.c | 119 int32_t b_i; in is_scalar_cordic_acos() local 146 for (b_i = 0; b_i < i; b_i++) { in is_scalar_cordic_acos() 147 j = (b_i + 1) << 1; in is_scalar_cordic_acos() 151 if (b_i < 31) in is_scalar_cordic_acos() 152 k = b_i; in is_scalar_cordic_acos() 173 z += sign * cordic_ilookup[b_i]; in is_scalar_cordic_acos() 199 int32_t b_i; in is_scalar_cordic_asin() local 226 for (b_i = 0; b_i < i; b_i++) { in is_scalar_cordic_asin() 227 j = (b_i + 1) << 1; in is_scalar_cordic_asin() 231 if (b_i < 31) in is_scalar_cordic_asin() [all …]
|
/sof-3.4.0/test/cmocka/src/math/trig/ |
D | acos_16b_fixed.c | 30 int b_i; in test_math_trig_acos_16b_fixed() local 39 b_i = (int)u; in test_math_trig_acos_16b_fixed() 41 float r = Q_CONVERT_QTOF(acos_fixed_16b(b_i), 13); in test_math_trig_acos_16b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_acos_16b_fixed()
|
D | acos_32b_fixed.c | 30 int b_i; in test_math_trig_acos_32b_fixed() local 39 b_i = (int)u; in test_math_trig_acos_32b_fixed() 41 float r = Q_CONVERT_QTOF(acos_fixed_32b(b_i), 29); in test_math_trig_acos_32b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_acos_32b_fixed()
|
D | asin_16b_fixed.c | 30 int b_i; in test_math_trig_asin_16b_fixed() local 39 b_i = (int)u; in test_math_trig_asin_16b_fixed() 41 float r = Q_CONVERT_QTOF(asin_fixed_16b(b_i), 13); in test_math_trig_asin_16b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_asin_16b_fixed()
|
D | asin_32b_fixed.c | 30 int b_i; in test_math_trig_asin_32b_fixed() local 39 b_i = (int)u; in test_math_trig_asin_32b_fixed() 41 float r = Q_CONVERT_QTOF(asin_fixed_32b(b_i), 29); in test_math_trig_asin_32b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_asin_32b_fixed()
|