public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pascal_cuoq at hotmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/30040] nextafter(0.0, 1.0) does not correctly set errno
Date: Wed, 08 Mar 2023 17:43:02 +0000	[thread overview]
Message-ID: <bug-30040-131-CLrAeH3u4p@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30040-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=30040

--- Comment #2 from Pascal Cuoq <pascal_cuoq at hotmail dot com> ---
I see.

In this case the man page that can currently be read at
https://man7.org/linux/man-pages/man3/nextafter.3.html is wrong, since it
describes the behavior as:

       If x is not equal to y, and the correct function result would be
       subnormal, zero, or underflow, a range error occurs, and either
       the correct value (if it can be represented), or 0.0, is
       returned.

But this of course is not Glibc's fault (chuckle).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

      parent reply	other threads:[~2023-03-08 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 10:47 [Bug math/30040] New: " pascal_cuoq at hotmail dot com
2023-01-24 10:47 ` [Bug math/30040] " pascal_cuoq at hotmail dot com
2023-03-08 17:23 ` schwab@linux-m68k.org
2023-03-08 17:43 ` pascal_cuoq at hotmail dot com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30040-131-CLrAeH3u4p@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).