From 728d7b43fc8a4f9b3ec772fd8b75a39b945e9f04 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 17 Jan 2013 20:25:51 +0000 Subject: Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). --- include/complex.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include/complex.h') diff --git a/include/complex.h b/include/complex.h index acf8cf14ba..e173f1f6a3 100644 --- a/include/complex.h +++ b/include/complex.h @@ -1 +1,11 @@ -#include +#ifndef _COMPLEX_H +# include + +/* Return the complex inverse hyperbolic sine of finite nonzero Z, + with the imaginary part of the result subtracted from pi/2 if ADJ + is nonzero. */ +extern complex float __kernel_casinhf (complex float z, int adj); +extern complex double __kernel_casinh (complex double z, int adj); +extern complex long double __kernel_casinhl (complex long double z, int adj); + +#endif -- cgit v1.2.3