Searched refs:half_denominator (Results 1 – 1 of 1) sorted by relevance
/cmsis-3.4.0/CMSIS/NN/Include/ |
D | arm_nnsupportfunctions.h | 944 const int32_t half_denominator = (int32_t)((sum + (sum >= 0 ? 1 : -1)) / 2L); in arm_nn_one_over_one_plus_x_for_x_in_0_1() local 945 int32_t x = 1515870810 + MUL_SAT(half_denominator, -1010580540); in arm_nn_one_over_one_plus_x_for_x_in_0_1() 948 x += MUL_POW2(MUL_SAT(x, shift - MUL_SAT(half_denominator, x)), 2); in arm_nn_one_over_one_plus_x_for_x_in_0_1() 949 x += MUL_POW2(MUL_SAT(x, shift - MUL_SAT(half_denominator, x)), 2); in arm_nn_one_over_one_plus_x_for_x_in_0_1() 950 x += MUL_POW2(MUL_SAT(x, shift - MUL_SAT(half_denominator, x)), 2); in arm_nn_one_over_one_plus_x_for_x_in_0_1()
|