Бранимир Караџић hace 7 años
padre
commit
9ff30f427f
Se han modificado 1 ficheros con 28 adiciones y 0 borrados
  1. 28 0
      tests/math_bench.cpp

+ 28 - 0
tests/math_bench.cpp

@@ -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");
 }