Home
last modified time | relevance | path

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

/TwlSDK-5.5/build/demos/fx/test/src/
Dfx_append_vec.c116 static void Binary_operator_test_(fx32 vf1, fx32 vf2);
582 fx32 vf1 = 0x0, vf2 = 0x0; in BasicOperator_test_() local
601 vf2 = 0; in BasicOperator_test_()
604 vf2 += 0x1 << j; in BasicOperator_test_()
605 Binary_operator_test_(vf1, vf2); in BasicOperator_test_()
652 static void Binary_operator_test_(fx32 vf1, fx32 vf2) in Binary_operator_test_() argument
655 double vd2 = (double)FX_FX32_TO_F32(vf2); in Binary_operator_test_()
662 diff = fabs(FX2D(FX_Mul(vf1, vf2)) - vd1 * vd2); in Binary_operator_test_()
666 diff = fabs(FX2D(FX_Div(vf1, vf2)) - vd1 / vd2); in Binary_operator_test_()
670 diff = fabs(FX2D(FX_Mul32x64c(vf1, FX_FX32_TO_FX64C(vf2))) - vd1 * vd2); in Binary_operator_test_()
[all …]