]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
math: Remove the SVID error handling from remainder
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 31 Oct 2025 16:08:51 +0000 (13:08 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 4 Nov 2025 07:14:01 +0000 (04:14 -0300)
The optimized i386 version is faster than the generic one, and
gcc implements it through the builtin. This optimization enables
us to migrate the implementation to a C version.  The performance
on a Zen3 chip is similar to the SVID one.

The m68k provided an optimized version through __m81_u(remainderf)
(mathimpl.h), and gcc does not implement it through a builtin
(different than i386).

Performance improves a bit on x86_64 (Zen3, gcc 15.2.1):

reciprocal-throughput           input    master   NO-SVID  improvement
x86_64                     subnormals   18.8522   16.2506       13.80%
x86_64                         normal  421.8260  403.9270        4.24%
x86_64                 close-exponent   21.0579   18.7642       10.89%
i686                       subnormals   21.3443   21.4229       -0.37%
i686                           normal  525.8380   538.807       -2.47%
i686                   close-exponent   21.6589   21.7983       -0.64%

Tested on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
33 files changed:
math/Versions
math/w_remainder_compat.c
sysdeps/i386/fpu/e_remainder.S [deleted file]
sysdeps/i386/fpu/e_remainder.c [new file with mode: 0644]
sysdeps/ieee754/dbl-64/e_remainder.c
sysdeps/ieee754/dbl-64/w_remainder.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
sysdeps/m68k/m680x0/fpu/e_remainder.c
sysdeps/mach/hurd/i386/libm.abilist
sysdeps/unix/sysv/linux/aarch64/libm.abilist
sysdeps/unix/sysv/linux/alpha/libm.abilist
sysdeps/unix/sysv/linux/arm/be/libm.abilist
sysdeps/unix/sysv/linux/arm/le/libm.abilist
sysdeps/unix/sysv/linux/hppa/libm.abilist
sysdeps/unix/sysv/linux/i386/libm.abilist
sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist
sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist
sysdeps/unix/sysv/linux/microblaze/be/libm.abilist
sysdeps/unix/sysv/linux/microblaze/le/libm.abilist
sysdeps/unix/sysv/linux/mips/mips32/libm.abilist
sysdeps/unix/sysv/linux/mips/mips64/libm.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist
sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist
sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist
sysdeps/unix/sysv/linux/sh/be/libm.abilist
sysdeps/unix/sysv/linux/sh/le/libm.abilist
sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist
sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist
sysdeps/unix/sysv/linux/x86_64/64/libm.abilist
sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist

index 18cbce4ef202c17b718c17992eb214fd5f6d72ef..3b16796453f6d4975cdb2724d411769ce878be28 100644 (file)
@@ -697,6 +697,7 @@ libm {
     j1f;
     jnf;
     log10f;
+    remainder;
     remainderf;
     y0f;
     y1f;
index 6410fa4d2b00f5a20747bce6a5c1f13335f10aae..f3d10d3b20798fca5063dc79699d704da80b244b 100644 (file)
 #include <math_private.h>
 #include <math-svid-compat.h>
 #include <libm-alias-double.h>
+#include <shlib-compat.h>
 
 
-#if LIBM_SVID_COMPAT
+#if LIBM_SVID_COMPAT && (SHLIB_COMPAT (libm, GLIBC_2_0, GLIBC_2_43) \
+                        || defined NO_LONG_DOUBLE \
+                        || defined LONG_DOUBLE_COMPAT)
 /* wrapper remainder */
 double
-__remainder (double x, double y)
+__remainder_compat (double x, double y)
 {
   if (((__builtin_expect (y == 0.0, 0) && ! isnan (x))
        || (__builtin_expect (isinf (x), 0) && ! isnan (y)))
       && _LIB_VERSION != _IEEE_)
     return __kernel_standard (x, y, 28); /* remainder domain */
 
-  return __ieee754_remainder (x, y);
+  return __remainder (x, y);
 }
-libm_alias_double (__remainder, remainder)
-weak_alias (__remainder, drem)
+compat_symbol (libm, __remainder_compat, remainder, GLIBC_2_0);
+weak_alias (__remainder_compat, drem)
 # ifdef NO_LONG_DOUBLE
-weak_alias (__remainder, dreml)
+weak_alias (__remainder_compat, dreml)
+weak_alias (__remainder_compat, remainderl)
+# endif
+# ifdef LONG_DOUBLE_COMPAT
+LONG_DOUBLE_COMPAT_CHOOSE_libm_remainderl (
+  compat_symbol (libm, __remainder_compat, remainderl, \
+                FIRST_VERSION_libm_remainderl), );
 # endif
 #endif
diff --git a/sysdeps/i386/fpu/e_remainder.S b/sysdeps/i386/fpu/e_remainder.S
deleted file mode 100644 (file)
index 5c10a46..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Public domain.
- */
-
-#include <machine/asm.h>
-#include <libm-alias-finite.h>
-
-ENTRY(__ieee754_remainder)
-       fldl    12(%esp)
-       fldl    4(%esp)
-1:     fprem1
-       fstsw   %ax
-       sahf
-       jp      1b
-       fstp    %st(1)
-       ret
-END (__ieee754_remainder)
-libm_alias_finite (__ieee754_remainder, __remainder)
diff --git a/sysdeps/i386/fpu/e_remainder.c b/sysdeps/i386/fpu/e_remainder.c
new file mode 100644 (file)
index 0000000..ec907ec
--- /dev/null
@@ -0,0 +1,41 @@
+/* Floating-point remainder function.
+   Copyright (C) 2025 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
+   <https://www.gnu.org/licenses/>.  */
+
+#include <math.h>
+#include <libm-alias-finite.h>
+#include <libm-alias-double.h>
+#include "math_config.h"
+
+double
+__remainder (double x, double y)
+{
+  uint64_t hx = asuint64 (x);
+  uint64_t hy = asuint64 (y);
+
+  /* fmod(+-Inf,y) or fmod(x,0) */
+  if (__glibc_unlikely ((is_inf (hx) || y == 0.0)
+                       && !is_nan (hy)
+                       && !is_nan (hx)))
+    return __math_invalid (x);
+
+  return __builtin_remainder (x, y);
+}
+strong_alias (__remainder, __ieee754_remainder)
+versioned_symbol (libm, __remainder, remainder, GLIBC_2_43);
+libm_alias_double_other (__remainder, remainder)
+libm_alias_finite (__ieee754_remainder, __remainder)
index dbae3aab81e90a2d4be02611daad271c6f584f30..99c6a754f005a11dcc57c845cf8decfa374d4aae 100644 (file)
 
 #include <math.h>
 #include <libm-alias-finite.h>
+#include <libm-alias-double.h>
+#include <math-svid-compat.h>
 #include "math_config.h"
 
 double
-__ieee754_remainder (double x, double y)
+__remainder (double x, double y)
 {
   uint64_t hx = asuint64 (x);
   uint64_t hy = asuint64 (y);
@@ -34,12 +36,8 @@ __ieee754_remainder (double x, double y)
   y = fabs (y);
   if (__glibc_likely (hy < UINT64_C (0x7fe0000000000000)))
     {
-      /* |x| not finite, |y| equal 0 is handled by fmod.  */
-      if (__glibc_unlikely (hx >= EXPONENT_MASK))
-       return (x * y) / (x * y);
-
-      x = fabs (__ieee754_fmod (x, y + y));
-      if (x + x > y)
+      x = fabs (__fmod (x, y + y));
+      if (isgreater (x + x, y))
        {
          x -= y;
          if (x + x >= y)
@@ -52,9 +50,9 @@ __ieee754_remainder (double x, double y)
     }
   else
     {
-      /* |x| not finite or |y| is NaN or 0 */
-      if ((hx >= EXPONENT_MASK || (hy - 1) >= EXPONENT_MASK))
-       return (x * y) / (x * y);
+      /* |x| not finite or |y| is NaN */
+      if (__glibc_unlikely (hx >= EXPONENT_MASK || hy > EXPONENT_MASK))
+       return __math_invalid (x * y);
 
       x = fabs (x);
       double y_half = y * 0.5;
@@ -70,4 +68,14 @@ __ieee754_remainder (double x, double y)
 
   return sx ? -x : x;
 }
-libm_alias_finite (__ieee754_remainder, __remainder)
+libm_alias_finite (__remainder, __remainder)
+#if LIBM_SVID_COMPAT
+versioned_symbol (libm, __remainder, remainder, GLIBC_2_43);
+libm_alias_double_other (__remainder, remainder)
+#else
+libm_alias_double (__remainder, remainder)
+weak_alias (__remainder, drem)
+# ifdef NO_LONG_DOUBLE
+weak_alias (__remainder, dreml)
+# endif
+#endif
diff --git a/sysdeps/ieee754/dbl-64/w_remainder.c b/sysdeps/ieee754/dbl-64/w_remainder.c
new file mode 100644 (file)
index 0000000..db3355f
--- /dev/null
@@ -0,0 +1 @@
+/* Not needed */
index 8bdea32c02c539314fdfe329bc355928df54f699..ed87fbf7eca9da4d47625bcc68621e7ee9e4bfb5 100644 (file)
@@ -1,6 +1,6 @@
 #include <math_ldbl_opt.h>
 #include <math/w_remainder_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-strong_alias (__remainder, __drem)
+strong_alias (__remainder_compat, __drem)
 compat_symbol (libm, __drem, dreml, GLIBC_2_0);
 #endif
index d9d383840f5eb5e39fe98071c76309e50bd106ae..b173876dd2a51262d08bea5b1466edd140c54e78 100644 (file)
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-double.h>
 #include <libm-alias-finite.h>
 #include "mathimpl.h"
+#include "math_config.h"
 
 double
-__ieee754_remainder (double x, double y)
+__remainder (double x, double y)
 {
+  uint64_t hx = asuint64 (x);
+  uint64_t hy = asuint64 (y);
+
+  /* fmod(+-Inf,y) or fmod(x,0) */
+  if (__glibc_unlikely ((is_inf (hx) || y == 0.0f)
+                       && !is_nan (hy)
+                       && !is_nan (hx)))
+    return __math_invalid (x);
+
   return __m81_u(__ieee754_remainder)(x, y);
 }
+strong_alias (__remainder, __ieee754_remainder)
+versioned_symbol (libm, __remainder, remainder, GLIBC_2_43);
+libm_alias_double_other (__remainder, remainder)
 libm_alias_finite (__ieee754_remainder, __remainder)
index 97a955f103cae701c2c3719714186c877dce0515..1dc8f572d0e3daa2ceae15170132bcd0b374f2da 100644 (file)
@@ -1328,6 +1328,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index b3ef9288c842c4a7baf30b7ea6e7ef0b91657d4a..d799f204faf8b63980531abce4af70ddf7f4095c 100644 (file)
@@ -1294,6 +1294,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index e05ee8fc0915cc7b15c8943827689994e62d7fcd..0d608533c92b7f7c94afe2e65c49d746d42f77a5 100644 (file)
@@ -1453,6 +1453,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index ccbc8488414f67bce3d246e2bbe57187884533ca..d60a11026cdaf8b90d80f9215fc14c6ec5743fe5 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index ccbc8488414f67bce3d246e2bbe57187884533ca..d60a11026cdaf8b90d80f9215fc14c6ec5743fe5 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 268d1589438eb6dd9ec7b22b040f49efb510fe6f..60ce950d8afbb7c6d2179ea0e0f0ebbfc0c934de 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index cb043bc5980f04797822ef52b0e2f643b410a364..b4164516f6b054a6212dcc97b791c69ce5daa348 100644 (file)
@@ -1335,6 +1335,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index ccbc8488414f67bce3d246e2bbe57187884533ca..d60a11026cdaf8b90d80f9215fc14c6ec5743fe5 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index b4927dbb2e81fe490b8315badf1760732668955f..5875a5c80cd3214d3e915f1b4f616c35888d3852 100644 (file)
@@ -992,6 +992,7 @@ GLIBC_2.43 fmodf F
 GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 90089d142802b75987192529ca81f6b2977d7b3e..e24b8ef83aa15f446a93389051f33acf118cee24 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 90089d142802b75987192529ca81f6b2977d7b3e..e24b8ef83aa15f446a93389051f33acf118cee24 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 666d67867d20c4873de55b7089fcdb22c41d63ac..42afecec7c84d19ddcdffe5779a6c27886a1b3c6 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index ee49433203a2d4ef442ab43878550713da9a924d..2850dacf7f35cb3886bb2d054f30c73472730cfa 100644 (file)
@@ -1294,6 +1294,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index fa7d38edc6a5dd2f1c1812ce589d99d11e111207..71f1e74f75e7e07932709d703aa449a5ca95d8f7 100644 (file)
@@ -1106,6 +1106,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index cb79ecc5d708fcff9bf3eeb1642ae0959afff0ed..2cab971c10282968092dd5c613df2b68a82c0648 100644 (file)
@@ -1105,6 +1105,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index e7d13a48e983a7d0dd798e0e4efe40a8e6d3142b..6574ba9908b821e0a3dd63f19ffcfea6b19e340f 100644 (file)
@@ -1099,6 +1099,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 8362b4eb68f2bae3e0914efad661525680b40569..e4888b6cf2b66edb55641767c35c3191d4f4beeb 100644 (file)
@@ -1483,6 +1483,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 56a38af71b263c22e58ae47ac1dbecaafef8c533..ccc0de5b98813f33c4cb70c8705516576209185c 100644 (file)
@@ -1397,6 +1397,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 457a2856d9111e669f1533cb84266878a6a6815f..871c473efa6296553c42a704f53b2e44a40ad7fa 100644 (file)
@@ -1397,6 +1397,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 8a026ba740a94ba8a59b7bf20c9351ab47d98ba1..7a0edfe5c37bde137f46c7cc50df5f0ff789c28e 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 8a026ba740a94ba8a59b7bf20c9351ab47d98ba1..7a0edfe5c37bde137f46c7cc50df5f0ff789c28e 100644 (file)
@@ -959,6 +959,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index af62388c05569a07e08f5bb1e9a663a7c6d9b71a..acfe74ef6ff342cc887b6351b1072da2ef6ff9ba 100644 (file)
@@ -1404,6 +1404,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index 61dc56a894313049e6f5863cf66639e7959f0a96..dc28560fdcb168b73fcbe3c596bab6dfb620d2b7 100644 (file)
@@ -1294,6 +1294,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index cea77965ca07c388d5aa8f1cd2027a999990a78f..369000017530fb0bb82a69630c0a2c81620c9ffd 100644 (file)
@@ -1327,6 +1327,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F
index c4d83222502041e080eef22921cb4c6698a6cba1..c41a781b5c916e95ee40ce98ebdaef4c8f8ad079 100644 (file)
@@ -1327,6 +1327,7 @@ GLIBC_2.43 j0f F
 GLIBC_2.43 j1f F
 GLIBC_2.43 jnf F
 GLIBC_2.43 log10f F
+GLIBC_2.43 remainder F
 GLIBC_2.43 remainderf F
 GLIBC_2.43 y0f F
 GLIBC_2.43 y1f F