From 9ff30f427f6e0f80879de2f5a4aa960e3ce4dc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Mon, 21 Jan 2019 20:44:43 -0800 Subject: [PATCH] Cleanup. --- tests/math_bench.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tests/math_bench.cpp b/tests/math_bench.cpp index 7e53a07..e9e083e 100644 --- a/tests/math_bench.cpp +++ b/tests/math_bench.cpp @@ -59,6 +59,10 @@ void math_bench() mathTest< ::sinf >(" ::sinf"); mathTest("bx::sin"); + bx::write(writer, &err, "\n"); + mathTest< ::sinhf>(" ::sinhf"); + mathTest("bx::sinh"); + bx::write(writer, &err, "\n"); mathTest< ::asinf>(" ::asinf"); mathTest("bx::asin"); @@ -67,6 +71,10 @@ void math_bench() mathTest< ::cosf >(" ::cosf"); mathTest("bx::cos"); + bx::write(writer, &err, "\n"); + mathTest< ::coshf>(" ::coshf"); + mathTest("bx::cosh"); + bx::write(writer, &err, "\n"); mathTest< ::acosf>(" ::acosf"); mathTest("bx::acos"); @@ -75,7 +83,27 @@ void math_bench() mathTest< ::tanf >(" ::tanf"); mathTest("bx::tan"); + bx::write(writer, &err, "\n"); + mathTest< ::tanhf>(" ::tanhf"); + mathTest("bx::tanh"); + bx::write(writer, &err, "\n"); mathTest< ::atanf>(" ::atanf"); mathTest("bx::atan"); + + bx::write(writer, &err, "\n"); + mathTest< ::expf>(" ::expf"); + mathTest("bx::exp"); + + bx::write(writer, &err, "\n"); + mathTest< ::exp2f>(" ::exp2f"); + mathTest("bx::exp2"); + + bx::write(writer, &err, "\n"); + mathTest< ::logf >(" ::logf"); + mathTest("bx::log"); + + bx::write(writer, &err, "\n"); + mathTest< ::log2f>(" ::log2f"); + mathTest("bx::log2"); }