]> Savannah Git Hosting - gnulib.git/commitdiff
logl: Document musl libc bug.
authorBruno Haible <bruno@clisp.org>
Sun, 31 Jan 2021 12:15:38 +0000 (13:15 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 31 Jan 2021 12:15:38 +0000 (13:15 +0100)
* doc/posix-functions/logl.texi: Document musl libc bug.
* m4/logl.m4 (gl_FUNC_LOGL_WORKS): Update comment and cross
compilation guess.

ChangeLog
doc/posix-functions/logl.texi
m4/logl.m4

index 8f7f5eef046f2aec404c1455375bf32c3bb16890..9aa58555c60be3bb18f70238fcbc177f2e60d822 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-01-31  Bruno Haible  <bruno@clisp.org>
+
+       logl: Document musl libc bug.
+       * doc/posix-functions/logl.texi: Document musl libc bug.
+       * m4/logl.m4 (gl_FUNC_LOGL_WORKS): Update comment and cross
+       compilation guess.
+
 2021-01-31  Bruno Haible  <bruno@clisp.org>
 
        expm1l: Document musl libc bug.
index 1e7918bde9cb364c3904b6494557e9795383a59e..e0d04b5ec05d10c96cf28404d3a5c517deca884f 100644 (file)
@@ -20,7 +20,7 @@ glibc 2.7 on Linux/SPARC64.
 @item
 This function produces results which are accurate to only 16 digits on some
 platforms:
-NetBSD 9.0.
+musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.0.
 @end itemize
 
 Portability problems not fixed by Gnulib:
index 128170a4a83839b22f2c586241af24182bd385be..7dcdac12d95e4da2a056e453d91847e1df17e979 100644 (file)
@@ -1,4 +1,4 @@
-# logl.m4 serial 14
+# logl.m4 serial 15
 dnl Copyright (C) 2010-2021 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -166,7 +166,7 @@ int main (int argc, char *argv[])
     if (!(gy + gy == gy))
       result |= 1;
   }
-  /* This test fails on NetBSD 9.0.  */
+  /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.0.  */
   {
     const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */
       (long double) (1U << ((LDBL_MANT_DIG - 1) / 5))
@@ -188,8 +188,8 @@ int main (int argc, char *argv[])
         [case "$host_os" in
                           # Guess yes on glibc systems.
            *-gnu* | gnu*) gl_cv_func_logl_works="guessing yes" ;;
-                          # Guess yes on musl systems.
-           *-musl*)       gl_cv_func_logl_works="guessing yes" ;;
+                          # Guess no on musl systems.
+           *-musl*)       gl_cv_func_logl_works="guessing no" ;;
                           # Guess yes on native Windows.
            mingw*)        gl_cv_func_logl_works="guessing yes" ;;
                           # If we don't know, obey --enable-cross-guesses.