082ae04214
Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9843
14 lines
308 B
C++
14 lines
308 B
C++
--- utests/builtin_exp.cpp.orig 2017-01-20 10:40:51 UTC
|
|
+++ utests/builtin_exp.cpp
|
|
@@ -27,7 +27,11 @@ static void cpu_compiler_math(float *dst
|
|
|
|
dst[0] = exp(x);
|
|
dst[1] = exp2(x);
|
|
+#ifndef __FreeBSD__
|
|
dst[2] = exp10(x);
|
|
+#else
|
|
+ dst[2] = powf(10,x);
|
|
+#endif
|
|
dst[3] = expm1(x);
|
|
dst[4] = x;
|
|
}
|