From 72db1c11e9887439125ce798bb1b6d571fe7d840 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Wed, 6 Oct 2004 20:31:32 +0000 Subject: * 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. --- winsup/mingw/include/math.h | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'winsup/mingw/include/math.h') 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);} -- cgit v1.2.3