remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / math / acoshf.c
index 16550f19d397a5c4b267b00d946cecf340a3d21e..8a4ec4d57ead3cbcd473d2ddfdd43d910956f1b9 100644 (file)
@@ -1,5 +1,13 @@
 #include "libm.h"
 
+#if FLT_EVAL_METHOD==2
+#undef sqrtf
+#define sqrtf sqrtl
+#elif FLT_EVAL_METHOD==1
+#undef sqrtf
+#define sqrtf sqrt
+#endif
+
 /* acosh(x) = log(x + sqrt(x*x-1)) */
 float acoshf(float x)
 {