From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C2B63858D33; Wed, 8 Mar 2023 17:43:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C2B63858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678297383; bh=3ytB8J0qJaGiYICKBNogUTBGCvVUTjK7u7AZ7A7Mo2c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UTHH/P/BHenipOJojHOP/zEihCQ8DyCexV61oK1Dd+77zwEQcz9IVh4Ke0v7ji0ex TBtx3YC0I8gbEEdijvvBUfS2aA4q6TZFU19PuFOQY/NaD6/+EmsFPbzj5tfVE41tNc H4DDd+lnI0yNAzi0YZmLt0dW2TjMk7krn8imeYCY= From: "pascal_cuoq at hotmail dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pascal_cuoq at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30040 --- Comment #2 from Pascal Cuoq --- 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). --=20 You are receiving this mail because: You are on the CC list for the bug.=