bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new modules logp1, logp1, logp1l


From: Bruno Haible
Subject: new modules logp1, logp1, logp1l
Date: Mon, 29 Jul 2024 14:14:43 +0200

glibc 2.40 adds the function families
  exp10m1
  exp2m1
  log10p1
  log2p1
  logp1
All are specified by ISO C23.

This set of patches adds the logp1 family to gnulib.


2024-07-29  Bruno Haible  <bruno@clisp.org>

        logp1l: Add tests.
        * tests/test-logp1l.c: New file, based on tests/test-log1pl.c.
        * modules/logp1l-tests: New file.

        logp1l: New module.
        * lib/math.in.h (logp1l): New declaration.
        * lib/logp1l.c: New file.
        * m4/logp1l.m4: New file.
        * m4/math_h.m4 (gl_MATH_H): Test whether logp1l is declared.
        (gl_MATH_H_REQUIRE_DEFAULTS): Initialize GNULIB_LOGP1L.
        (gl_MATH_H_DEFAULTS): Initialize HAVE_LOGP1L.
        * modules/math (Makefile.am): Substitute GNULIB_LOGP1L, HAVE_LOGP1L.
        * modules/logp1l: New file.
        * doc/posix-functions/logp1l.texi: Mention the new module.

2024-07-29  Bruno Haible  <bruno@clisp.org>

        logp1f: Add tests.
        * tests/test-logp1f.c: New file, based on tests/test-log1pf.c.
        * modules/logp1f-tests: New file.

        logp1f: New module.
        * lib/math.in.h (logp1f): New declaration.
        * lib/logp1f.c: New file.
        * m4/logp1f.m4: New file.
        * m4/log1p.m4 (gl_FUNC_LOG1P): Define through AC_DEFUN_ONCE.
        * m4/isnand.m4 (gl_FUNC_ISNAND): Define through AC_DEFUN_ONCE.
        * m4/math_h.m4 (gl_MATH_H): Test whether logp1f is declared.
        (gl_MATH_H_DEFAULTS): Initialize HAVE_LOGP1F.
        * modules/math (Makefile.am): Substitute GNULIB_LOGP1F, HAVE_LOGP1F.
        * modules/logp1f: New file.
        * doc/posix-functions/logp1f.texi: Mention the new module.

2024-07-29  Bruno Haible  <bruno@clisp.org>

        logp1: Add tests.
        * tests/test-logp1.c: New file, based on tests/test-log1p.c.
        * modules/logp1-tests: New file.

        logp1: New module.
        * lib/math.in.h (logp1): New declaration.
        * lib/logp1.c: New file.
        * m4/logp1.m4: New file.
        * m4/math_h.m4 (gl_MATH_H): Test whether logp1 is declared.
        (gl_MATH_H_REQUIRE_DEFAULTS): Initialize GNULIB_LOGP1.
        (gl_MATH_H_DEFAULTS): Initialize HAVE_LOGP1.
        * modules/math (Makefile.am): Substitute GNULIB_LOGP1, HAVE_LOGP1.
        * modules/logp1: New file.
        * doc/posix-functions/logp1.texi: Mention the new module.

Attachment: 0001-logp1-New-module.patch
Description: Text Data

Attachment: 0002-logp1-Add-tests.patch
Description: Text Data

Attachment: 0003-logp1f-New-module.patch
Description: Text Data

Attachment: 0004-logp1f-Add-tests.patch
Description: Text Data

Attachment: 0005-logp1l-New-module.patch
Description: Text Data

Attachment: 0006-logp1l-Add-tests.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]