diff options
Diffstat (limited to 'src/elementaryFunctions/acosh/dacoshs.c')
-rw-r--r-- | src/elementaryFunctions/acosh/dacoshs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elementaryFunctions/acosh/dacoshs.c b/src/elementaryFunctions/acosh/dacoshs.c index 978a0b59..a5c13c8b 100644 --- a/src/elementaryFunctions/acosh/dacoshs.c +++ b/src/elementaryFunctions/acosh/dacoshs.c @@ -13,6 +13,13 @@ #include <math.h> #include "acosh.h" +#ifdef _MSC_VER +double acosh(double x)
+{
+ return log(x + sqrt(x * x - 1));
+}
+#endif + double dacoshs(double x) { return (acosh(x)); } |