summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/acosh/sacoshs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/acosh/sacoshs.c')
-rw-r--r--src/elementaryFunctions/acosh/sacoshs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elementaryFunctions/acosh/sacoshs.c b/src/elementaryFunctions/acosh/sacoshs.c
index a9ef9811..d2a9ae53 100644
--- a/src/elementaryFunctions/acosh/sacoshs.c
+++ b/src/elementaryFunctions/acosh/sacoshs.c
@@ -13,6 +13,13 @@
#include <math.h>
#include "acosh.h"
+#ifdef _MSC_VER
+float acoshf (float x)
+{
+ return (float) log(x + sqrt(x * x - 1));
+}
+#endif
+
float sacoshs(float x) {
return (acoshf(x));
}