This commit is contained in:
Бранимир Караџић
2019-01-21 20:44:43 -08:00
parent 684f7ec5d6
commit 9ff30f427f

View File

@@ -59,6 +59,10 @@ void math_bench()
mathTest< ::sinf >(" ::sinf");
mathTest<bx::sin >("bx::sin");
bx::write(writer, &err, "\n");
mathTest< ::sinhf>(" ::sinhf");
mathTest<bx::sinh >("bx::sinh");
bx::write(writer, &err, "\n");
mathTest< ::asinf>(" ::asinf");
mathTest<bx::asin >("bx::asin");
@@ -67,6 +71,10 @@ void math_bench()
mathTest< ::cosf >(" ::cosf");
mathTest<bx::cos >("bx::cos");
bx::write(writer, &err, "\n");
mathTest< ::coshf>(" ::coshf");
mathTest<bx::cosh >("bx::cosh");
bx::write(writer, &err, "\n");
mathTest< ::acosf>(" ::acosf");
mathTest<bx::acos >("bx::acos");
@@ -75,7 +83,27 @@ void math_bench()
mathTest< ::tanf >(" ::tanf");
mathTest<bx::tan >("bx::tan");
bx::write(writer, &err, "\n");
mathTest< ::tanhf>(" ::tanhf");
mathTest<bx::tanh >("bx::tanh");
bx::write(writer, &err, "\n");
mathTest< ::atanf>(" ::atanf");
mathTest<bx::atan >("bx::atan");
bx::write(writer, &err, "\n");
mathTest< ::expf>(" ::expf");
mathTest<bx::exp >("bx::exp");
bx::write(writer, &err, "\n");
mathTest< ::exp2f>(" ::exp2f");
mathTest<bx::exp2 >("bx::exp2");
bx::write(writer, &err, "\n");
mathTest< ::logf >(" ::logf");
mathTest<bx::log >("bx::log");
bx::write(writer, &err, "\n");
mathTest< ::log2f>(" ::log2f");
mathTest<bx::log2 >("bx::log2");
}