public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/31760] New: Missing math functions
@ 2024-05-19 23:11 hjl.tools at gmail dot com
2024-05-19 23:12 ` [Bug math/31760] " hjl.tools at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-19 23:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
Bug ID: 31760
Summary: Missing math functions
Product: glibc
Version: 2.40
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
The following math functions are only exported from libm.a, not libm.so:
scalbf32
scalbf32x
scalbf64
scalbf64x
significandf32
significandf32x
significandf64
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
@ 2024-05-19 23:12 ` hjl.tools at gmail dot com
2024-05-20 16:02 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-19 23:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsm28 at gcc dot gnu.org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
2024-05-19 23:12 ` [Bug math/31760] " hjl.tools at gmail dot com
@ 2024-05-20 16:02 ` hjl.tools at gmail dot com
2024-05-20 16:13 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-20 16:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
There are
libm-test-isfinite.inc:#if !TEST_FLOATN
libm-test-lgamma.inc:#if !TEST_FLOATN
libm-test-nexttoward.inc:#if !TEST_FLOATN
libm-test-nexttoward.inc:#if !TEST_FLOATN
libm-test-remainder.inc:#if !TEST_FLOATN
libm-test-scalb.inc:#if !TEST_FLOATN
libm-test-scalb.inc:#if !TEST_FLOATN
libm-test-significand.inc:#if !TEST_FLOATN
libm-test-significand.inc:#if !TEST_FLOATN
test-double.h:#define TEST_FLOATN 0
test-float.h:#define TEST_FLOATN 0
test-ldouble.h:#define TEST_FLOATN 0
test-math-floatn.h:#define TEST_FLOATN 1
It looks like that
scalbf32
scalbf32x
scalbf64
scalbf64x
significandf32
significandf32x
significandf64
are excluded on purpose.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
2024-05-19 23:12 ` [Bug math/31760] " hjl.tools at gmail dot com
2024-05-20 16:02 ` hjl.tools at gmail dot com
@ 2024-05-20 16:13 ` hjl.tools at gmail dot com
2024-05-20 16:30 ` adhemerval.zanella at linaro dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-20 16:13 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |murphyp at linux dot vnet.ibm.com
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
#if !TEST_FLOATN
was added by
commit 3c023dbf5780f5afe8a5ea8e17667719307d955f
Author: Paul E. Murphy <murphyp@linux.vnet.ibm.com>
Date: Fri Jul 15 14:29:51 2016 -0500
float128: Add test-{float128,ifloat128,float128-finite}
This adds test support for float128, and lays some groundwork for future
_FloatN types.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
` (2 preceding siblings ...)
2024-05-20 16:13 ` hjl.tools at gmail dot com
@ 2024-05-20 16:30 ` adhemerval.zanella at linaro dot org
2024-05-20 16:53 ` jsm28 at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-05-20 16:30 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
For scalb, my understanding is since this is a deprecated interface (it was
obsolescent in POSIX.1-2001; Removed in POSIX.1-2008, never made to C
standard), when the newer interface for ISO/IEC TS 18661-3:2015 was added
(glibc 2.27) it did not make sense to add this support to the symbol.
The significant is a similar symbol, where it seems to come originally from BSD
and never made in any standard.
So I think we should remove the fXX alias for static build as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
` (3 preceding siblings ...)
2024-05-20 16:30 ` adhemerval.zanella at linaro dot org
@ 2024-05-20 16:53 ` jsm28 at gcc dot gnu.org
2024-05-22 13:13 ` cvs-commit at gcc dot gnu.org
2024-05-24 12:52 ` hjl.tools at gmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2024-05-20 16:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
--- Comment #4 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Indeed, these aliases should be removed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
` (4 preceding siblings ...)
2024-05-20 16:53 ` jsm28 at gcc dot gnu.org
@ 2024-05-22 13:13 ` cvs-commit at gcc dot gnu.org
2024-05-24 12:52 ` hjl.tools at gmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-22 13:13 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a34f76edbda8a0b143111e670ca33c97623bfe56
commit a34f76edbda8a0b143111e670ca33c97623bfe56
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon May 20 09:56:36 2024 -0700
Don't provide scalb/significand _FloatN aliases [BZ #31760]
scalb is a deprecated interface which was obsolescent in POSIX.1-2001,
removed in POSIX.1-2008, never made to C standard. significant was
originally from BSD and never made in any standard. Fix BZ #31760 by
not providing _FloatN aliases for them.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug math/31760] Missing math functions
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
` (5 preceding siblings ...)
2024-05-22 13:13 ` cvs-commit at gcc dot gnu.org
@ 2024-05-24 12:52 ` hjl.tools at gmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-24 12:52 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31760
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.40
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed in 2.40.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-05-24 12:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-19 23:11 [Bug math/31760] New: Missing math functions hjl.tools at gmail dot com
2024-05-19 23:12 ` [Bug math/31760] " hjl.tools at gmail dot com
2024-05-20 16:02 ` hjl.tools at gmail dot com
2024-05-20 16:13 ` hjl.tools at gmail dot com
2024-05-20 16:30 ` adhemerval.zanella at linaro dot org
2024-05-20 16:53 ` jsm28 at gcc dot gnu.org
2024-05-22 13:13 ` cvs-commit at gcc dot gnu.org
2024-05-24 12:52 ` hjl.tools at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).