]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
math: Use atanf from CORE-MATH
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 18 Nov 2024 11:45:16 +0000 (08:45 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 18 Dec 2024 20:24:43 +0000 (17:24 -0300)
The CORE-MATH implementation is correctly rounded (for any rounding mode)
and shows slight better performance to the generic atanf.

The code was adapted to glibc style and to use the definition of
math_config.h (to handle errno, overflow, and underflow).

Benchtest on x64_64 (Ryzen 9 5900X, gcc 14.2.1), aarch64 (Neoverse-N1,
gcc 13.3.1), and powerpc (POWER10, gcc 13.2.1):

Latency                      master        patched   improvement
x86_64                      56.8265        53.6842         5.53%
x86_64v2                    54.8177        53.6842         2.07%
x86_64v3                    46.2915        48.7034        -5.21%
i686                       158.3760        108.9560       31.20%
aarch64 (Neoverse)           21.687        20.5893         5.06%
power10                     13.1903        13.5012        -2.36%

reciprocal-throughput        master        patched   improvement
x86_64                      16.6787        16.7601        -0.49%
x86_64v2                    16.6983        16.7601        -0.37%
x86_64v3                    16.2268        12.1391        25.19%
i686                       138.6840        36.0640        74.00%
aarch64 (Neoverse)          11.8012        10.3565        12.24%
power10                      5.3212         4.2894        19.39%

Signed-off-by: Alexei Sibidanov <sibid@uvic.ca>
Signed-off-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
27 files changed:
SHARED-FILES
sysdeps/aarch64/libm-test-ulps
sysdeps/alpha/fpu/libm-test-ulps
sysdeps/arc/fpu/libm-test-ulps
sysdeps/arc/nofpu/libm-test-ulps
sysdeps/arm/libm-test-ulps
sysdeps/csky/fpu/libm-test-ulps
sysdeps/csky/nofpu/libm-test-ulps
sysdeps/hppa/fpu/libm-test-ulps
sysdeps/i386/fpu/libm-test-ulps
sysdeps/i386/fpu/s_atanf.S [deleted file]
sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
sysdeps/ieee754/flt-32/s_atanf.c
sysdeps/loongarch/lp64/libm-test-ulps
sysdeps/microblaze/libm-test-ulps
sysdeps/mips/mips32/libm-test-ulps
sysdeps/mips/mips64/libm-test-ulps
sysdeps/or1k/fpu/libm-test-ulps
sysdeps/or1k/nofpu/libm-test-ulps
sysdeps/powerpc/fpu/libm-test-ulps
sysdeps/powerpc/nofpu/libm-test-ulps
sysdeps/riscv/nofpu/libm-test-ulps
sysdeps/riscv/rvd/libm-test-ulps
sysdeps/s390/fpu/libm-test-ulps
sysdeps/sh/libm-test-ulps
sysdeps/sparc/fpu/libm-test-ulps
sysdeps/x86_64/fpu/libm-test-ulps

index 18b3244e44791e3981b407be09d6f73f72651da7..b9627afdfea4941ddb20167c945efc6a3ba14a18 100644 (file)
@@ -310,3 +310,7 @@ sysdeps/ieee754/flt-32/s_asinhf.c:
   (src/binary32/asinh/asinhf.c in CORE-MATH)
   - The code was adapted to use glibc code style and internal
     functions to handle errno, overflow, and underflow.
+sysdeps/ieee754/flt-32/s_atanf.c:
+  (src/binary32/atan/atanf.c in CORE-MATH)
+  - The code was adapted to use glibc code style and internal
+    functions to handle errno, overflow, and underflow.
index 44493b3f02a1ace49f7b732757788e1edec54c2c..33d282231a5d0af8513bfe04f9e320b84d7b5f56 100644 (file)
@@ -139,7 +139,6 @@ ldouble: 2
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -195,7 +194,6 @@ float: 1
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_sve":
@@ -204,12 +202,10 @@ float: 1
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
@@ -252,7 +248,7 @@ ldouble: 1
 
 Function: "atanpi_towardzero":
 double: 1
-float: 1
+float: 2
 ldouble: 1
 
 Function: "atanpi_upward":
@@ -298,7 +294,7 @@ ldouble: 6
 
 Function: Real part of "cacos_towardzero":
 double: 3
-float: 2
+float: 3
 ldouble: 3
 
 Function: Imaginary part of "cacos_towardzero":
@@ -343,7 +339,7 @@ ldouble: 5
 
 Function: Imaginary part of "cacosh_towardzero":
 double: 3
-float: 2
+float: 3
 ldouble: 3
 
 Function: Real part of "cacosh_upward":
index 708299915de6fb3f1d78715de2cc675b3c0254c2..f9c1cf7cf5fe74b6da4cbc9c65312ab4b188e4c0 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index 1c34bd36d62b326ed2420fa4163255716297f5ca..37b0efae662927b629a063643372a7a90425adc6 100644 (file)
@@ -51,7 +51,6 @@ double: 3
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 double: 7
@@ -71,15 +70,12 @@ float: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 2
-float: 2
 
 Function: "atanh":
 double: 2
index 58fc499f53b7e0cf4b2816c5ebcded09edc88763..8d283f0627899ac6199f98d72c8a58854ef897fc 100644 (file)
@@ -15,7 +15,6 @@ double: 2
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 float: 2
index 60f483ec31739972b5aa3876e112c17e1626df1f..7b1a541378b9e27e6563e8fa4961aa63d9ed4767 100644 (file)
@@ -83,7 +83,6 @@ float: 1
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 float: 2
@@ -118,15 +117,12 @@ float: 3
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
@@ -154,7 +150,7 @@ float: 2
 
 Function: "atanpi_towardzero":
 double: 1
-float: 1
+float: 2
 
 Function: "atanpi_upward":
 double: 1
@@ -190,7 +186,7 @@ float: 3
 
 Function: Real part of "cacos_towardzero":
 double: 3
-float: 2
+float: 3
 
 Function: Imaginary part of "cacos_towardzero":
 double: 5
@@ -226,7 +222,7 @@ float: 3
 
 Function: Imaginary part of "cacosh_towardzero":
 double: 3
-float: 2
+float: 3
 
 Function: Real part of "cacosh_upward":
 double: 4
index 2b7b5cfc92bd629af1d39b3dfefef272fcd87274..9d3fcf693d3a76beba22e2eae9a2f106f125f1fe 100644 (file)
@@ -48,7 +48,6 @@ Function: "asinh_upward":
 double: 3
 
 Function: "atan":
-float: 1
 
 Function: "atan2":
 float: 1
@@ -67,15 +66,12 @@ float: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
index 0eb62de8b204d663ed2217e1246e7fdca0c284eb..1bab8effc79e574b6d59a1c75c336982526fdcf3 100644 (file)
@@ -48,7 +48,6 @@ Function: "asinh_upward":
 double: 3
 
 Function: "atan":
-float: 1
 
 Function: "atan2":
 float: 1
@@ -67,15 +66,12 @@ float: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
index f48a12f51129435863ec1b38a90a5beb704ca56e..74936184b57c751f56a9f993c2b855816881551f 100644 (file)
@@ -83,7 +83,6 @@ float: 1
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 float: 2
@@ -118,15 +117,12 @@ float: 3
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
index 669ecbe3ac5c7e23725f7aa75867a5a0053595e4..1ff3b5cf3a4930ef188543a132776f27e777c9dc 100644 (file)
@@ -181,19 +181,16 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 1
 float128: 2
 ldouble: 1
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 float128: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 1
 float128: 2
 ldouble: 1
 
@@ -228,13 +225,13 @@ ldouble: 1
 
 Function: "atanpi_downward":
 double: 1
-float: 1
+float: 2
 float128: 1
 ldouble: 1
 
 Function: "atanpi_towardzero":
 double: 1
-float: 1
+float: 2
 float128: 1
 ldouble: 1
 
diff --git a/sysdeps/i386/fpu/s_atanf.S b/sysdeps/i386/fpu/s_atanf.S
deleted file mode 100644 (file)
index 4a8f5e3..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Public domain.
- */
-
-#include <machine/asm.h>
-#include <i386-math-asm.h>
-#include <libm-alias-float.h>
-
-RCSID("$NetBSD: s_atanf.S,v 1.3 1995/05/08 23:51:33 jtc Exp $")
-
-DEFINE_FLT_MIN
-
-#ifdef PIC
-# define MO(op) op##@GOTOFF(%ecx)
-#else
-# define MO(op) op
-#endif
-
-       .text
-ENTRY(__atanf)
-#ifdef  PIC
-       LOAD_PIC_REG (cx)
-#endif
-       flds    4(%esp)
-       fld1
-       fpatan
-       FLT_CHECK_FORCE_UFLOW
-       ret
-END (__atanf)
-libm_alias_float (__atan, atan)
index e5bc05eed13818093232141bbf8b40653a6c8beb..c296fefd0f72dad7a0500a5ccb04824ce6f25ee0 100644 (file)
@@ -181,19 +181,16 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 1
 float128: 2
 ldouble: 1
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 float128: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 1
 float128: 2
 ldouble: 1
 
@@ -228,13 +225,13 @@ ldouble: 1
 
 Function: "atanpi_downward":
 double: 1
-float: 1
+float: 2
 float128: 1
 ldouble: 1
 
 Function: "atanpi_towardzero":
 double: 1
-float: 1
+float: 2
 float128: 1
 ldouble: 1
 
index 3dbf5c5bb77c23d956abd127b5cda762a8cccf9d..147f69f9a8b32353c6fdee700d9e654bb875601c 100644 (file)
-/* s_atanf.c -- float version of s_atan.c.
- */
+/* Correctly-rounded arc-tangent of binary32 value.
 
-/*
- * ====================================================
- * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
- *
- * Developed at SunPro, a Sun Microsystems, Inc. business.
- * Permission to use, copy, modify, and distribute this
- * software is freely granted, provided that this notice
- * is preserved.
- * ====================================================
- */
+Copyright (c) 2022-2024 Alexei Sibidanov.
 
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: s_atanf.c,v 1.4 1995/05/10 20:46:47 jtc Exp $";
-#endif
+The original version of this file was copied from the CORE-MATH
+project (file src/binary32/atan/atanf.c, revision a8066a5).
 
-#include <float.h>
-#include <math.h>
-#include <math_private.h>
-#include <math-underflow.h>
-#include <libm-alias-float.h>
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
 
-static const float atanhi[] = {
-  4.6364760399e-01, /* atan(0.5)hi 0x3eed6338 */
-  7.8539812565e-01, /* atan(1.0)hi 0x3f490fda */
-  9.8279368877e-01, /* atan(1.5)hi 0x3f7b985e */
-  1.5707962513e+00, /* atan(inf)hi 0x3fc90fda */
-};
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
 
-static const float atanlo[] = {
-  5.0121582440e-09, /* atan(0.5)lo 0x31ac3769 */
-  3.7748947079e-08, /* atan(1.0)lo 0x33222168 */
-  3.4473217170e-08, /* atan(1.5)lo 0x33140fb4 */
-  7.5497894159e-08, /* atan(inf)lo 0x33a22168 */
-};
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
 
-static const float aT[] = {
-  3.3333334327e-01, /* 0x3eaaaaaa */
- -2.0000000298e-01, /* 0xbe4ccccd */
-  1.4285714924e-01, /* 0x3e124925 */
- -1.1111110449e-01, /* 0xbde38e38 */
-  9.0908870101e-02, /* 0x3dba2e6e */
- -7.6918758452e-02, /* 0xbd9d8795 */
-  6.6610731184e-02, /* 0x3d886b35 */
- -5.8335702866e-02, /* 0xbd6ef16b */
-  4.9768779427e-02, /* 0x3d4bda59 */
- -3.6531571299e-02, /* 0xbd15a221 */
-  1.6285819933e-02, /* 0x3c8569d7 */
-};
-
-static const float
-one   = 1.0,
-huge   = 1.0e30;
+#include <math.h>
+#include <stdint.h>
+#include <libm-alias-float.h>
+#include "math_config.h"
 
-float __atanf(float x)
+float
+__atanf (float x)
 {
-       float w,s1,s2,z;
-       int32_t ix,hx,id;
-
-       GET_FLOAT_WORD(hx,x);
-       ix = hx&0x7fffffff;
-       if(ix>=0x4c000000) {    /* if |x| >= 2^25 */
-           if(ix>0x7f800000)
-               return x+x;             /* NaN */
-           if(hx>0) return  atanhi[3]+atanlo[3];
-           else     return -atanhi[3]-atanlo[3];
-       } if (ix < 0x3ee00000) {        /* |x| < 0.4375 */
-           if (ix < 0x31000000) {      /* |x| < 2^-29 */
-               math_check_force_underflow (x);
-               if(huge+x>one) return x;        /* raise inexact */
-           }
-           id = -1;
-       } else {
-       x = fabsf(x);
-       if (ix < 0x3f980000) {          /* |x| < 1.1875 */
-           if (ix < 0x3f300000) {      /* 7/16 <=|x|<11/16 */
-               id = 0; x = ((float)2.0*x-one)/((float)2.0+x);
-           } else {                    /* 11/16<=|x|< 19/16 */
-               id = 1; x  = (x-one)/(x+one);
-           }
-       } else {
-           if (ix < 0x401c0000) {      /* |x| < 2.4375 */
-               id = 2; x  = (x-(float)1.5)/(one+(float)1.5*x);
-           } else {                    /* 2.4375 <= |x| < 2^66 */
-               id = 3; x  = -(float)1.0/x;
-           }
-       }}
-    /* end of argument reduction */
-       z = x*x;
-       w = z*z;
-    /* break sum from i=0 to 10 aT[i]z**(i+1) into odd and even poly */
-       s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
-       s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
-       if (id<0) return x - x*(s1+s2);
-       else {
-           z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
-           return (hx<0)? -z:z;
+  const double pi2 = 0x1.921fb54442d18p+0;
+  uint32_t t = asuint (x);
+  int e = (t >> 23) & 0xff;
+  bool gt = e >= 127;
+  uint32_t ta = t & 0x7fffffff;
+  if (__glibc_unlikely (ta >= 0x4c700518u)) /* |x| > 0x1.e00a3p+25 */
+    {
+      if (ta > 0x7f800000u)
+       return x + x; /* nan */
+      return copysign (pi2, (double) x);
+    }
+  if (__glibc_unlikely (e < 127 - 13))
+    {
+      if (__glibc_unlikely (e < 127 - 25))
+       {
+         if (!(t << 1))
+           return x;
+         return fmaf (-x, fabsf (x), x);
        }
+      return fmaf (-0x1.5555555555555p-2f * x, x * x, x);
+    }
+  /* now |x| >= 0x1p-13 */
+  double z = x;
+  if (gt)
+    z = 1 / z; /* gt is non-zero for |x| >= 1 */
+  double z2 = z * z;
+  double z4 = z2 * z2;
+  double z8 = z4 * z4;
+  /* polynomials generated using rminimax
+     (https://gitlab.inria.fr/sfilip/rminimax) with the following command:
+     ./ratapprox --function="atan(x)" --dom=[0.000122070,1]
+     --num=[x,x^3,x^5,x^7,x^9,x^11,x^13] --den=[1,x^2,x^4,x^6,x^8,x^10,x^12]
+     --output=atanf.sollya --log (see output atanf.sollya) The coefficient
+     cd[0] was slightly reduced from the original value 0x1.51eccde075d67p-2 to
+     avoid an exceptional case for |x| = 0x1.1ad646p-4 and rounding to nearest.
+  */
+  static const double cn[] =
+    {
+      0x1.51eccde075d67p-2, 0x1.a76bb5637f2f2p-1, 0x1.81e0eed20de88p-1,
+      0x1.376c8ca67d11dp-2, 0x1.aec7b69202ac6p-5, 0x1.9561899acc73ep-9,
+      0x1.bf9fa5b67e6p-16
+    };
+  static const double cd[] =
+    {
+      0x1.51eccde075d66p-2, 0x1.dfbdd7b392d28p-1, 0x1p+0,
+      0x1.fd22bf0e89b54p-2, 0x1.d91ff8b576282p-4, 0x1.653ea99fc9bbp-7,
+      0x1.1e7fcc202340ap-12
+    };
+  double cn0 = cn[0] + z2 * cn[1];
+  double cn2 = cn[2] + z2 * cn[3];
+  double cn4 = cn[4] + z2 * cn[5];
+  double cn6 = cn[6];
+  cn0 += z4 * cn2;
+  cn4 += z4 * cn6;
+  cn0 += z8 * cn4;
+  cn0 *= z;
+  double cd0 = cd[0] + z2 * cd[1];
+  double cd2 = cd[2] + z2 * cd[3];
+  double cd4 = cd[4] + z2 * cd[5];
+  double cd6 = cd[6];
+  cd0 += z4 * cd2;
+  cd4 += z4 * cd6;
+  cd0 += z8 * cd4;
+  double r = cn0 / cd0;
+  if (!gt)
+    return r; /* for |x| < 1, (float) r is correctly rounded */
+
+#define PI_OVER2_H 0x1.9p0
+#define PI_OVER2_L 0x1.0fdaa22168c23p-7
+  /* now r approximates atan(1/x), we use atan(x) + atan(1/x) = sign(x)*pi/2,
+     where PI_OVER2_H + PI_OVER2_L approximates pi/2.
+     With sign(z)*L + (-r + sign(z)*H), it fails for x=0x1.98c252p+12 and
+     rounding upward.
+     With sign(z)*PI - r, where PI is a double approximation of pi to nearest,
+     it fails for x=0x1.ddf9f6p+0 and rounding upward. */
+  r = copysign (PI_OVER2_L, z) - r + copysign (PI_OVER2_H, z);
+  return r;
 }
 libm_alias_float (__atan, atan)
index b24bc582ea4e5a60f81485bc3a241400229a2617..ff1cf6b2e43c03a40eec9c754e27788832fcb78b 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
@@ -162,7 +158,7 @@ ldouble: 6
 
 Function: Real part of "cacos_towardzero":
 double: 3
-float: 2
+float: 3
 ldouble: 3
 
 Function: Imaginary part of "cacos_towardzero":
@@ -207,7 +203,7 @@ ldouble: 5
 
 Function: Imaginary part of "cacosh_towardzero":
 double: 3
-float: 2
+float: 3
 ldouble: 3
 
 Function: Real part of "cacosh_upward":
index b7e73db063ca57bf9964239c763777ae43c79224..5dce4c8f8908abcb15eec2698f8c2b96ebefefd2 100644 (file)
@@ -12,7 +12,6 @@ Function: "asinh":
 double: 1
 
 Function: "atan":
-float: 1
 
 Function: "atan2":
 float: 1
index ca4eac5090f73d3d536a1783adea8dee63e400e7..9046a1717087bc964d47b49f2a8b25e58bcd54dd 100644 (file)
@@ -51,7 +51,6 @@ double: 3
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 float: 2
@@ -70,15 +69,12 @@ float: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
index 30e8d46c68b272f22f3a8af6b9cec894f75bba6a..1525e55eb5102d69257dafa6d198a3db0cc43aae 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index dd972b3063c998dd7c83887005a0e223be7fd11f..6edadaed89bcd6c54733619e52e28d4edb7013a0 100644 (file)
@@ -51,7 +51,6 @@ double: 3
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 float: 2
@@ -70,15 +69,12 @@ float: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
index d5d1c8dc8097764c7e5b68b7e2b10bead381ed66..318f29aacfaa378a9cad09d658e89b7f3ee11d3c 100644 (file)
@@ -59,7 +59,6 @@ float: 1
 
 Function: "atan":
 double: 1
-float: 1
 
 Function: "atan2":
 float: 2
@@ -82,15 +81,12 @@ float: 1
 
 Function: "atan_downward":
 double: 1
-float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 
 Function: "atanh":
 double: 2
index edb6678fdb53f3b18c359ba35133ec931a2fd035..0e7996d682c43fabf57b34e218f828d3d24d0975 100644 (file)
@@ -135,7 +135,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 float128: 1
 ldouble: 1
 
@@ -188,19 +187,16 @@ ldouble: 4
 
 Function: "atan_downward":
 double: 1
-float: 2
 float128: 2
 ldouble: 1
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 float128: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 float128: 2
 ldouble: 2
 
@@ -242,7 +238,7 @@ ldouble: 1
 
 Function: "atanpi_towardzero":
 double: 1
-float: 1
+float: 2
 float128: 1
 ldouble: 3
 
@@ -298,7 +294,7 @@ ldouble: 8
 
 Function: Real part of "cacos_towardzero":
 double: 3
-float: 2
+float: 3
 float128: 3
 ldouble: 7
 
@@ -352,7 +348,7 @@ ldouble: 8
 
 Function: Imaginary part of "cacosh_towardzero":
 double: 3
-float: 2
+float: 3
 float128: 3
 ldouble: 7
 
index 939468399cd0d91a0c39458dc5e8e079081096d1..c7242e5fec49687b13242779b1256dcea30d83e5 100644 (file)
@@ -71,7 +71,6 @@ ldouble: 7
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -95,17 +94,14 @@ ldouble: 3
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 1
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index 7c89f7915ba0e75539dfa91672381be7e4b91aec..4fa17a3da24cd68942c68049835d3dd056576e99 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index e1c1a6aee5453ded6dacbd406da943bea2bfe027..0e3fb96ee5341bb048b03b909b2ba4a848234d02 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index 038e3eb9d72bc8e7a798d690d39e0d5cc1648dd7..1f6d040eb8a053bfa4df87ed7ddab2ce4016ba67 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index 4bd1ff1f988daa868848ada106673a2e9e635731..b429f42d892c048b9544ddad392df25c16577c6c 100644 (file)
@@ -24,7 +24,6 @@ Function: "asinh_towardzero":
 double: 2
 
 Function: "atan":
-float: 1
 
 Function: "atan2":
 float: 1
@@ -35,7 +34,6 @@ float: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 
 Function: "atanh":
 double: 2
index a4d678da03b466818f649a0ee59b424307b655fb..66564e0ab1a38354c758a1ea12cd83b9a0c38460 100644 (file)
@@ -67,7 +67,6 @@ ldouble: 4
 
 Function: "atan":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan2":
@@ -91,17 +90,14 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 ldouble: 2
 
 Function: "atanh":
index 23c40d059080fce995ccdee2720dc20107f382d4..f054d8307a5ebc7d0e42716dadff913bf1d0d506 100644 (file)
@@ -208,7 +208,6 @@ ldouble: 2
 
 Function: "atan":
 double: 1
-float: 1
 float128: 1
 ldouble: 1
 
@@ -281,19 +280,16 @@ ldouble: 2
 
 Function: "atan_downward":
 double: 1
-float: 2
 float128: 2
 ldouble: 1
 
 Function: "atan_towardzero":
 double: 1
-float: 1
 float128: 1
 ldouble: 1
 
 Function: "atan_upward":
 double: 1
-float: 2
 float128: 2
 ldouble: 1
 
@@ -375,7 +371,7 @@ ldouble: 1
 
 Function: "atanpi_towardzero":
 double: 1
-float: 1
+float: 2
 float128: 1
 ldouble: 1
 
@@ -431,7 +427,7 @@ ldouble: 6
 
 Function: Real part of "cacos_towardzero":
 double: 3
-float: 2
+float: 3
 float128: 3
 ldouble: 2
 
@@ -485,7 +481,7 @@ ldouble: 5
 
 Function: Imaginary part of "cacosh_towardzero":
 double: 3
-float: 2
+float: 3
 float128: 3
 ldouble: 2