diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2015-01-23 17:05:24 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2015-01-23 17:05:24 +0100 |
commit | acdf78a82e9372b461e6148588a2045e7ff4b100 (patch) | |
tree | 2ba33f24c265589996b0855c7f3e27813aa9c90d /sysdeps/sh/sh4/fpu | |
parent | 1ff35137add0e9637df9e3fcc21133674188c8c4 (diff) | |
parent | 8f435c12186bcc685f77ef7fd7285624bcda1ecc (diff) |
Merge commit 'refs/top-bases/t/hurdsig-SA_SIGINFO' into t/hurdsig-SA_SIGINFO
Diffstat (limited to 'sysdeps/sh/sh4/fpu')
-rw-r--r-- | sysdeps/sh/sh4/fpu/fclrexcpt.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fedisblxcpt.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/feenablxcpt.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fegetenv.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fegetexcept.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fegetround.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/feholdexcpt.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fesetenv.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fesetround.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/feupdateenv.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fgetexcptflg.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fpu_control.h | 62 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fraiseexcpt.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/fsetexcptflg.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/ftestexcept.c | 2 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/libm-test-ulps | 1094 |
16 files changed, 14 insertions, 1170 deletions
diff --git a/sysdeps/sh/sh4/fpu/fclrexcpt.c b/sysdeps/sh/sh4/fpu/fclrexcpt.c index 8525bcd238..f3bce6d21d 100644 --- a/sysdeps/sh/sh4/fpu/fclrexcpt.c +++ b/sysdeps/sh/sh4/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998. diff --git a/sysdeps/sh/sh4/fpu/fedisblxcpt.c b/sysdeps/sh/sh4/fpu/fedisblxcpt.c index 8e458f5d23..3eccf94e87 100644 --- a/sysdeps/sh/sh4/fpu/fedisblxcpt.c +++ b/sysdeps/sh/sh4/fpu/fedisblxcpt.c @@ -1,5 +1,5 @@ /* Disable floating-point exceptions. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2012. diff --git a/sysdeps/sh/sh4/fpu/feenablxcpt.c b/sysdeps/sh/sh4/fpu/feenablxcpt.c index 3c90f3677e..cd248d7e3b 100644 --- a/sysdeps/sh/sh4/fpu/feenablxcpt.c +++ b/sysdeps/sh/sh4/fpu/feenablxcpt.c @@ -1,5 +1,5 @@ /* Enable floating-point exceptions. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2012. diff --git a/sysdeps/sh/sh4/fpu/fegetenv.c b/sysdeps/sh/sh4/fpu/fegetenv.c index 358f74eba4..2dc26967f0 100644 --- a/sysdeps/sh/sh4/fpu/fegetenv.c +++ b/sysdeps/sh/sh4/fpu/fegetenv.c @@ -1,5 +1,5 @@ /* Store current floating-point environment. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/sysdeps/sh/sh4/fpu/fegetexcept.c b/sysdeps/sh/sh4/fpu/fegetexcept.c index 568003da6f..b2ea919026 100644 --- a/sysdeps/sh/sh4/fpu/fegetexcept.c +++ b/sysdeps/sh/sh4/fpu/fegetexcept.c @@ -1,5 +1,5 @@ /* Get enabled floating-point exceptions. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2012. diff --git a/sysdeps/sh/sh4/fpu/fegetround.c b/sysdeps/sh/sh4/fpu/fegetround.c index 0523321b2d..1aaca4d1ba 100644 --- a/sysdeps/sh/sh4/fpu/fegetround.c +++ b/sysdeps/sh/sh4/fpu/fegetround.c @@ -1,5 +1,5 @@ /* Return current rounding direction. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998. diff --git a/sysdeps/sh/sh4/fpu/feholdexcpt.c b/sysdeps/sh/sh4/fpu/feholdexcpt.c index b111d76b96..e418e7867c 100644 --- a/sysdeps/sh/sh4/fpu/feholdexcpt.c +++ b/sysdeps/sh/sh4/fpu/feholdexcpt.c @@ -1,5 +1,5 @@ /* Store current floating-point environment and clear exceptions. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/sysdeps/sh/sh4/fpu/fesetenv.c b/sysdeps/sh/sh4/fpu/fesetenv.c index 5eba73921c..8b1a79c101 100644 --- a/sysdeps/sh/sh4/fpu/fesetenv.c +++ b/sysdeps/sh/sh4/fpu/fesetenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/sysdeps/sh/sh4/fpu/fesetround.c b/sysdeps/sh/sh4/fpu/fesetround.c index 2d98a316ee..890aa0e387 100644 --- a/sysdeps/sh/sh4/fpu/fesetround.c +++ b/sysdeps/sh/sh4/fpu/fesetround.c @@ -1,5 +1,5 @@ /* Set current rounding direction. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998. diff --git a/sysdeps/sh/sh4/fpu/feupdateenv.c b/sysdeps/sh/sh4/fpu/feupdateenv.c index 8044df53f0..f06d80a883 100644 --- a/sysdeps/sh/sh4/fpu/feupdateenv.c +++ b/sysdeps/sh/sh4/fpu/feupdateenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment and raise exceptions. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2012. diff --git a/sysdeps/sh/sh4/fpu/fgetexcptflg.c b/sysdeps/sh/sh4/fpu/fgetexcptflg.c index 6a2a0c0e67..9d004b23de 100644 --- a/sysdeps/sh/sh4/fpu/fgetexcptflg.c +++ b/sysdeps/sh/sh4/fpu/fgetexcptflg.c @@ -1,5 +1,5 @@ /* Store current representation for exceptions. - Copyright (C) 2013 Free Software Foundation, Inc. + Copyright (C) 2013-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/sysdeps/sh/sh4/fpu/fpu_control.h b/sysdeps/sh/sh4/fpu/fpu_control.h deleted file mode 100644 index 684a768a88..0000000000 --- a/sysdeps/sh/sh4/fpu/fpu_control.h +++ /dev/null @@ -1,62 +0,0 @@ -/* FPU control word definitions. SH version. - Copyright (C) 1999-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ - -#ifndef _FPU_CONTROL_H -#define _FPU_CONTROL_H - -#include <features.h> - -/* masking of interrupts */ -#define _FPU_MASK_VM 0x0800 /* Invalid operation */ -#define _FPU_MASK_ZM 0x0400 /* Division by zero */ -#define _FPU_MASK_OM 0x0200 /* Overflow */ -#define _FPU_MASK_UM 0x0100 /* Underflow */ -#define _FPU_MASK_IM 0x0080 /* Inexact operation */ - -/* rounding control */ -#define _FPU_RC_NEAREST 0x0 /* RECOMMENDED */ -#define _FPU_RC_ZERO 0x1 - -#define _FPU_RESERVED 0xffc00000 /* These bits are reserved. */ - -/* The fdlibm code requires strict IEEE double precision arithmetic, - and no interrupts for exceptions, rounding to nearest. */ -#define _FPU_DEFAULT 0x00080000 /* Default value. */ -#define _FPU_IEEE 0x00080f80 /* Default + exceptions enabled. */ - -/* Type of the control word. */ -typedef unsigned int fpu_control_t; - -/* Macros for accessing the hardware control word. */ -#define _FPU_GETCW(cw) __asm__ ("sts fpscr,%0" : "=r" (cw)) - -#if defined __GNUC__ -__BEGIN_DECLS - -/* GCC provides this function. */ -extern void __set_fpscr (unsigned long); -#define _FPU_SETCW(cw) __set_fpscr ((cw)) -#else -#define _FPU_SETCW(cw) __asm__ ("lds %0,fpscr" : : "r" (cw)) -#endif - -/* Default control word set at startup. */ -extern fpu_control_t __fpu_control; - -__END_DECLS -#endif /* _FPU_CONTROL_H */ diff --git a/sysdeps/sh/sh4/fpu/fraiseexcpt.c b/sysdeps/sh/sh4/fpu/fraiseexcpt.c index 9c3ea7c464..944da33a8c 100644 --- a/sysdeps/sh/sh4/fpu/fraiseexcpt.c +++ b/sysdeps/sh/sh4/fpu/fraiseexcpt.c @@ -1,5 +1,5 @@ /* Raise given exceptions. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2012. diff --git a/sysdeps/sh/sh4/fpu/fsetexcptflg.c b/sysdeps/sh/sh4/fpu/fsetexcptflg.c index 7a408bb70e..0f2fc69d1c 100644 --- a/sysdeps/sh/sh4/fpu/fsetexcptflg.c +++ b/sysdeps/sh/sh4/fpu/fsetexcptflg.c @@ -1,5 +1,5 @@ /* Set floating-point environment exception handling. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/sysdeps/sh/sh4/fpu/ftestexcept.c b/sysdeps/sh/sh4/fpu/ftestexcept.c index bcc0140864..9a99aad2ff 100644 --- a/sysdeps/sh/sh4/fpu/ftestexcept.c +++ b/sysdeps/sh/sh4/fpu/ftestexcept.c @@ -1,5 +1,5 @@ /* Test exception in current environment. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/sysdeps/sh/sh4/fpu/libm-test-ulps b/sysdeps/sh/sh4/fpu/libm-test-ulps deleted file mode 100644 index d517ea9e26..0000000000 --- a/sysdeps/sh/sh4/fpu/libm-test-ulps +++ /dev/null @@ -1,1094 +0,0 @@ -# Begin of automatic generation - -# asin -Test "asin (-0.5)": -float: 2 -ifloat: 2 -Test "asin (0.5)": -float: 2 -ifloat: 2 -Test "asin (0.7)": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -# atan2 -Test "atan2 (-0.7, -1.0)": -float: 3 -ifloat: 3 -Test "atan2 (0.7, -1.0)": -float: 3 -ifloat: 3 -Test "atan2 (1.4, -0.93)": -float: 4 -ifloat: 4 - -# atanh -Test "atanh (0.7)": -double: 1 -idouble: 1 - -# cabs -Test "cabs (-0.7 + 12.4 i)": -float: 1 -ifloat: 1 -Test "cabs (-0.7 - 12.4 i)": -float: 1 -ifloat: 1 -Test "cabs (-12.4 + 0.7 i)": -float: 1 -ifloat: 1 -Test "cabs (-12.4 - 0.7 i)": -float: 1 -ifloat: 1 -Test "cabs (0.7 + 1.2 i)": -double: 1 -idouble: 1 -Test "cabs (0.7 + 12.4 i)": -float: 1 -ifloat: 1 - -# cacos -Test "Real part of: cacos (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "Imaginary part of: cacos (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# cacosh -Test "Real part of: cacosh (-2 - 3 i)": -double: 1 -float: 7 -idouble: 1 -ifloat: 7 -Test "Imaginary part of: cacosh (-2 - 3 i)": -double: 1 -float: 3 -idouble: 1 -ifloat: 3 -Test "Real part of: cacosh (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# casin -Test "Real part of: casin (0.7 + 1.2 i)": -double: 3 -float: 2 -idouble: 3 -ifloat: 2 -Test "Imaginary part of: casin (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# casinh -Test "Real part of: casinh (-2 - 3 i)": -double: 5 -float: 1 -idouble: 5 -ifloat: 1 -Test "Imaginary part of: casinh (-2 - 3 i)": -double: 3 -float: 6 -idouble: 3 -ifloat: 6 -Test "Real part of: casinh (0.7 + 1.2 i)": -double: 1 -idouble: 1 -Test "Imaginary part of: casinh (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# catan -Test "Real part of: catan (-2 - 3 i)": -float: 3 -ifloat: 3 -Test "Imaginary part of: catan (-2 - 3 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "Real part of: catan (0.7 + 1.2 i)": -float: 4 -ifloat: 4 -Test "Imaginary part of: catan (0.7 + 1.2 i)": -double: 1 -idouble: 1 - -# catanh -Test "Real part of: catanh (-2 - 3 i)": -double: 4 -idouble: 4 -Test "Imaginary part of: catanh (-2 - 3 i)": -float: 4 -ifloat: 4 -Test "Real part of: catanh (0.7 + 1.2 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: catanh (0.7 + 1.2 i)": -double: 1 -float: 6 -idouble: 1 -ifloat: 6 - -# cbrt -Test "cbrt (-27.0)": -double: 1 -idouble: 1 -Test "cbrt (0.970299)": -double: 1 -idouble: 1 - -# ccos -Test "Imaginary part of: ccos (-2 - 3 i)": -float: 1 -ifloat: 1 -Test "Real part of: ccos (0.7 + 1.2 i)": -double: 1 -idouble: 1 -Test "Imaginary part of: ccos (0.7 + 1.2 i)": -double: 1 -idouble: 1 - -# ccosh -Test "Real part of: ccosh (-2 - 3 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: ccosh (-2 - 3 i)": -float: 1 -ifloat: 1 -Test "Real part of: ccosh (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "Imaginary part of: ccosh (0.7 + 1.2 i)": -double: 1 -idouble: 1 - -# cexp -Test "Imaginary part of: cexp (-2.0 - 3.0 i)": -float: 1 -ifloat: 1 -Test "Real part of: cexp (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "Imaginary part of: cexp (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# clog -Test "Imaginary part of: clog (-2 - 3 i)": -double: 1 -float: 3 -idouble: 1 -ifloat: 3 - -# clog10 -Test "Imaginary part of: clog10 (-0 + inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-0 - inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-2 - 3 i)": -double: 1 -float: 5 -idouble: 1 -ifloat: 5 -Test "Imaginary part of: clog10 (-3 + inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-3 - inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-inf + 0 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-inf + 1 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-inf - 0 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (-inf - 1 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (0 + inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (0 - inf i)": -float: 1 -ifloat: 1 -Test "Real part of: clog10 (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (0.7 + 1.2 i)": -double: 1 -idouble: 1 -Test "Imaginary part of: clog10 (3 + inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (3 - inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (inf + inf i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: clog10 (inf - inf i)": -float: 1 -ifloat: 1 - -# cos -Test "cos (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "cos (M_PI_6l * 2.0)": -double: 1 -float: 0.5 -idouble: 1 -ifloat: 0.5 -Test "cos (M_PI_6l * 4.0)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "cos (pi/2)": -double: 0.2758 -float: 0.3667 -idouble: 0.2758 -ifloat: 0.3667 - -# cpow -Test "Real part of: cpow (2 + 3 i, 4 + 0 i)": -double: 1 -float: 4 -idouble: 1 -ifloat: 4 -Test "Imaginary part of: cpow (2 + 3 i, 4 + 0 i)": -float: 2 -ifloat: 2 -Test "Imaginary part of: cpow (e + 0 i, 0 + 2 * M_PIl i)": -double: 1.1031 -float: 1.5 -idouble: 1.1031 -ifloat: 1.5 - -# csin -Test "Imaginary part of: csin (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# csinh -Test "Imaginary part of: csinh (-2 - 3 i)": -double: 1 -idouble: 1 -Test "Real part of: csinh (0.7 + 1.2 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: csinh (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# csqrt -Test "Real part of: csqrt (-2 + 3 i)": -float: 1 -ifloat: 1 -Test "Real part of: csqrt (-2 - 3 i)": -float: 1 -ifloat: 1 -Test "Real part of: csqrt (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "Imaginary part of: csqrt (0.7 + 1.2 i)": -float: 1 -ifloat: 1 - -# ctan -Test "Real part of: ctan (-2 - 3 i)": -double: 1 -idouble: 1 -Test "Real part of: ctan (0.7 + 1.2 i)": -float: 1 -ifloat: 1 -Test "Imaginary part of: ctan (0.7 + 1.2 i)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# ctanh -Test "Real part of: ctanh (-2 - 3 i)": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 -Test "Imaginary part of: ctanh (0 + pi/4 i)": -float: 1 -ifloat: 1 -Test "Real part of: ctanh (0.7 + 1.2 i)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "Imaginary part of: ctanh (0.7 + 1.2 i)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -# erfc -Test "erfc (0.7)": -double: 1 -idouble: 1 -Test "erfc (1.2)": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 -Test "erfc (2.0)": -double: 1 -idouble: 1 -Test "erfc (4.1)": -double: 24 -float: 12 -idouble: 24 -ifloat: 12 - -# exp10 -Test "exp10 (-1)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "exp10 (0.7)": -float: 1 -ifloat: 1 -Test "exp10 (3)": -double: 6 -float: 2 -idouble: 6 -ifloat: 2 - -# expm1 -Test "expm1 (1)": -float: 1 -ifloat: 1 - -# fmod -Test "fmod (-6.5, -2.3)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "fmod (-6.5, 2.3)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "fmod (6.5, -2.3)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "fmod (6.5, 2.3)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -# hypot -Test "hypot (-0.7, -12.4)": -float: 1 -ifloat: 1 -Test "hypot (-0.7, 12.4)": -float: 1 -ifloat: 1 -Test "hypot (-12.4, -0.7)": -float: 1 -ifloat: 1 -Test "hypot (-12.4, 0.7)": -float: 1 -ifloat: 1 -Test "hypot (0.7, -12.4)": -float: 1 -ifloat: 1 -Test "hypot (0.7, 1.2)": -double: 1 -idouble: 1 -Test "hypot (0.7, 12.4)": -float: 1 -ifloat: 1 -Test "hypot (12.4, -0.7)": -float: 1 -ifloat: 1 -Test "hypot (12.4, 0.7)": -float: 1 -ifloat: 1 - -# j0 -Test "j0 (10.0)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "j0 (2.0)": -float: 2 -ifloat: 2 -Test "j0 (8.0)": -float: 1 -ifloat: 1 - -# j1 -Test "j1 (10.0)": -float: 2 -ifloat: 2 -Test "j1 (2.0)": -double: 1 -idouble: 1 -Test "j1 (8.0)": -double: 1 -idouble: 1 - -# jn -Test "jn (0, 10.0)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "jn (0, 2.0)": -float: 2 -ifloat: 2 -Test "jn (0, 8.0)": -float: 1 -ifloat: 1 -Test "jn (1, 10.0)": -float: 2 -ifloat: 2 -Test "jn (1, 2.0)": -double: 1 -idouble: 1 -Test "jn (1, 8.0)": -double: 1 -idouble: 1 -Test "jn (10, 0.1)": -double: 6 -float: 4 -idouble: 6 -ifloat: 4 -Test "jn (10, 0.7)": -double: 3 -float: 1 -idouble: 3 -ifloat: 1 -Test "jn (10, 10.0)": -double: 4 -float: 3 -idouble: 4 -ifloat: 3 -Test "jn (10, 2.0)": -float: 4 -ifloat: 4 -Test "jn (3, 0.1)": -double: 1 -idouble: 1 -Test "jn (3, 0.7)": -float: 1 -ifloat: 1 -Test "jn (3, 10.0)": -double: 3 -float: 1 -idouble: 3 -ifloat: 1 -Test "jn (3, 2.0)": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -# lgamma -Test "lgamma (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "lgamma (1.2)": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -# log -Test "log (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# log10 -Test "log10 (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "log10 (e)": -float: 1 -ifloat: 1 - -# log1p -Test "log1p (-0.3)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# log2 -Test "log2 (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# sincos -Test "sincos (0.7) extra output 2": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "sincos (M_PI_6l*2.0) extra output 1": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "sincos (M_PI_6l*2.0) extra output 2": -double: 1 -float: 0.5 -idouble: 1 -ifloat: 0.5 -Test "sincos (pi/2) extra output 2": -double: 0.2758 -float: 0.3667 -idouble: 0.2758 -ifloat: 0.3667 -Test "sincos (pi/6) extra output 2": -float: 1 -ifloat: 1 - -# sinh -Test "sinh (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# tan -Test "tan (pi/4)": -double: 0.5 -idouble: 0.5 - -# tanh -Test "tanh (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# tgamma -Test "tgamma (-0.5)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "tgamma (0.5)": -float: 1 -ifloat: 1 -Test "tgamma (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# y0 -Test "y0 (0.7)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "y0 (1.0)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "y0 (1.5)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "y0 (10.0)": -float: 1 -ifloat: 1 -Test "y0 (8.0)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -# y1 -Test "y1 (0.1)": -double: 1 -idouble: 1 -Test "y1 (0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "y1 (1.5)": -float: 1 -ifloat: 1 -Test "y1 (10.0)": -double: 3 -float: 1 -idouble: 3 -ifloat: 1 -Test "y1 (2.0)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "y1 (8.0)": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -# yn -Test "yn (0, 0.7)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "yn (0, 1.0)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "yn (0, 1.5)": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 -Test "yn (0, 10.0)": -float: 1 -ifloat: 1 -Test "yn (0, 8.0)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "yn (1, 0.1)": -double: 1 -idouble: 1 -Test "yn (1, 0.7)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "yn (1, 1.5)": -float: 1 -ifloat: 1 -Test "yn (1, 10.0)": -double: 3 -float: 1 -idouble: 3 -ifloat: 1 -Test "yn (1, 2.0)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "yn (1, 8.0)": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 -Test "yn (10, 0.1)": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 -Test "yn (10, 0.7)": -double: 3 -idouble: 3 -Test "yn (10, 1.0)": -double: 1 -idouble: 1 -Test "yn (10, 10.0)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "yn (10, 2.0)": -double: 2 -idouble: 2 -Test "yn (3, 0.1)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "yn (3, 0.7)": -double: 3 -float: 1 -idouble: 3 -ifloat: 1 -Test "yn (3, 10.0)": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 -Test "yn (3, 2.0)": -double: 1 -idouble: 1 - -# Maximal error of functions: -Function: "asin": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -Function: "atan2": -float: 4 -ifloat: 4 - -Function: "atanh": -double: 1 -idouble: 1 - -Function: "cabs": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Real part of "cacos": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "cacos": -float: 1 -ifloat: 1 - -Function: Real part of "cacosh": -double: 1 -float: 7 -idouble: 1 -ifloat: 7 - -Function: Imaginary part of "cacosh": -double: 1 -float: 3 -idouble: 1 -ifloat: 3 - -Function: Real part of "casin": -double: 3 -float: 2 -idouble: 3 -ifloat: 2 - -Function: Imaginary part of "casin": -float: 1 -ifloat: 1 - -Function: Real part of "casinh": -double: 5 -float: 1 -idouble: 5 -ifloat: 1 - -Function: Imaginary part of "casinh": -double: 3 -float: 6 -idouble: 3 -ifloat: 6 - -Function: Real part of "catan": -float: 4 -ifloat: 4 - -Function: Imaginary part of "catan": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Real part of "catanh": -double: 4 -float: 1 -idouble: 4 -ifloat: 1 - -Function: Imaginary part of "catanh": -double: 1 -float: 6 -idouble: 1 -ifloat: 6 - -Function: "cbrt": -double: 1 -idouble: 1 - -Function: Real part of "ccos": -double: 1 -idouble: 1 - -Function: Imaginary part of "ccos": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Real part of "ccosh": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "ccosh": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Real part of "cexp": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "cexp": -float: 1 -ifloat: 1 - -Function: Imaginary part of "clog": -double: 1 -float: 3 -idouble: 1 -ifloat: 3 - -Function: Real part of "clog10": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "clog10": -double: 1 -float: 5 -idouble: 1 -ifloat: 5 - -Function: "cos": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: Real part of "cpow": -double: 1 -float: 4 -idouble: 1 -ifloat: 4 - -Function: Imaginary part of "cpow": -double: 1.1031 -float: 2 -idouble: 1.1031 -ifloat: 2 - -Function: Imaginary part of "csin": -float: 1 -ifloat: 1 - -Function: Real part of "csinh": -float: 1 -ifloat: 1 - -Function: Imaginary part of "csinh": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Real part of "csqrt": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "csqrt": -float: 1 -ifloat: 1 - -Function: Real part of "ctan": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Imaginary part of "ctan": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: Real part of "ctanh": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 - -Function: Imaginary part of "ctanh": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: "erfc": -double: 24 -float: 12 -idouble: 24 -ifloat: 12 - -Function: "exp10": -double: 6 -float: 2 -idouble: 6 -ifloat: 2 - -Function: "expm1": -float: 1 -ifloat: 1 - -Function: "fmod": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: "hypot": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "j0": -double: 2 -float: 2 -idouble: 2 -ifloat: 2 - -Function: "j1": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -Function: "jn": -double: 6 -float: 4 -idouble: 6 -ifloat: 4 - -Function: "lgamma": -double: 1 -float: 2 -idouble: 1 -ifloat: 2 - -Function: "log": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "log10": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "log1p": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "log2": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "sincos": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "sinh": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "tan": -double: 0.5 -idouble: 0.5 - -Function: "tanh": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "tgamma": -double: 1 -float: 1 -idouble: 1 -ifloat: 1 - -Function: "y0": -double: 2 -float: 1 -idouble: 2 -ifloat: 1 - -Function: "y1": -double: 3 -float: 2 -idouble: 3 -ifloat: 2 - -Function: "yn": -double: 3 -float: 2 -idouble: 3 -ifloat: 2 - -# end of automatic generation |