summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/math.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-10-06 20:31:32 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-10-06 20:31:32 +0000
commit72db1c11e9887439125ce798bb1b6d571fe7d840 (patch)
tree9ad7335a58ca086ea29b788d867728ea23fb7cc9 /winsup/mingw/include/math.h
parent74b2bdc351dcbab192faca58b5544bce4f92b973 (diff)
downloadcygnal-72db1c11e9887439125ce798bb1b6d571fe7d840.tar.gz
cygnal-72db1c11e9887439125ce798bb1b6d571fe7d840.tar.bz2
cygnal-72db1c11e9887439125ce798bb1b6d571fe7d840.zip
* include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,
atanh, atanhf, atanhl): Add prototypes. * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list. (MATH_DISTFILES): Add sources for above and fastmath.h to list. Specify dependency on fastmath.h for new objects. * mingwex/math/fastmath.h: New file. * mingwex/math/ashinh.c: New file. * mingwex/math/asinhf.c: New file. * mingwex/math/asinhl.c: New file. * mingwex/math/acosh.c: New file. * mingwex/math/acoshf.c: New file. * mingwex/math/acoshl.c: New file. * mingwex/math/atanh.c: New file. * mingwex/math/atanhf.c: New file. * mingwex/math/atanhl.c: New file.
Diffstat (limited to 'winsup/mingw/include/math.h')
-rw-r--r--winsup/mingw/include/math.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h
index abcd6a4b8..a05fa841b 100644
--- a/winsup/mingw/include/math.h
+++ b/winsup/mingw/include/math.h
@@ -427,10 +427,23 @@ __CRT_INLINE float __cdecl tanhf (float x)
{return (float) tanh (x);}
extern long double __cdecl tanhl (long double);
-/*
- * TODO: asinh, acosh, atanh
- */
-
+/* Inverse hyperbolic trig functions */
+/* 7.12.5.1 */
+extern double __cdecl acosh (double);
+extern float __cdecl acoshf (float);
+extern long double __cdecl acoshl (long double);
+
+/* 7.12.5.2 */
+extern double __cdecl asinh (double);
+extern float __cdecl asinhf (float);
+extern long double __cdecl asinhl (long double);
+
+/* 7.12.5.3 */
+extern double __cdecl atanh (double);
+extern float __cdecl atanf (float);
+extern long double __cdecl atanhl (long double);
+
+/* Exponentials and logarithms */
/* 7.12.6.1 Double in C89 */
__CRT_INLINE float __cdecl expf (float x)
{return (float) exp (x);}