public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/31516] New: documentation: where to define rounding modes for other operations?
@ 2024-03-20 22:23 newbie-02 at gmx dot de
2024-03-21 23:37 ` [Bug manual/31516] " jsm28 at gcc dot gnu.org
2024-03-25 10:59 ` newbie-02 at gmx dot de
0 siblings, 2 replies; 3+ messages in thread
From: newbie-02 at gmx dot de @ 2024-03-20 22:23 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31516
Bug ID: 31516
Summary: documentation: where to define rounding modes for
other operations?
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: manual
Assignee: unassigned at sourceware dot org
Reporter: newbie-02 at gmx dot de
CC: mtk.manpages at gmail dot com
Target Milestone: ---
'This value characterizes the rounding mode for floating point **addition**.
The following values indicate standard rounding modes:' in:
https://www.gnu.org/software/libc/manual/html_node/Floating-Point-Parameters.html
should read 'rounding mode for floating point **operations**.' ??
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug manual/31516] documentation: where to define rounding modes for other operations?
2024-03-20 22:23 [Bug manual/31516] New: documentation: where to define rounding modes for other operations? newbie-02 at gmx dot de
@ 2024-03-21 23:37 ` jsm28 at gcc dot gnu.org
2024-03-25 10:59 ` newbie-02 at gmx dot de
1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2024-03-21 23:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31516
--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Floating-point addition is how ISO C defines FLT_ROUNDS. You don't want to use
it if you're changing the rounding mode with fesetround anyway, since it
doesn't reflect such runtime changes:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30569
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug manual/31516] documentation: where to define rounding modes for other operations?
2024-03-20 22:23 [Bug manual/31516] New: documentation: where to define rounding modes for other operations? newbie-02 at gmx dot de
2024-03-21 23:37 ` [Bug manual/31516] " jsm28 at gcc dot gnu.org
@ 2024-03-25 10:59 ` newbie-02 at gmx dot de
1 sibling, 0 replies; 3+ messages in thread
From: newbie-02 at gmx dot de @ 2024-03-25 10:59 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31516
--- Comment #2 from b. <newbie-02 at gmx dot de> ---
(In reply to Joseph Myers from comment #1)
> Floating-point addition is how ISO C defines FLT_ROUNDS.
Can be, but think the mode is affecting other operations too.
If ISO C used a 'simple' misleading definition it need
not spread further. The mislead is that it injects the idea
of different rounding modes for different operations.
> You don't want to
> use it if you're changing the rounding mode with fesetround anyway, since it
> doesn't reflect such runtime changes:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30569
don't understand the connection, nor the other bug at all.
Think I can change the rounding mode with fesetround, also
at runtime, needs other parameters but works.
The bug was only about 'addition' vs. 'operation'.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-25 10:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 22:23 [Bug manual/31516] New: documentation: where to define rounding modes for other operations? newbie-02 at gmx dot de
2024-03-21 23:37 ` [Bug manual/31516] " jsm28 at gcc dot gnu.org
2024-03-25 10:59 ` newbie-02 at gmx dot de
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).