From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5FD15386F82C; Tue, 26 May 2020 08:38:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FD15386F82C From: "mtk.manpages at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/15467] sincos does not set errno on domain error Date: Tue, 26 May 2020 08:38:49 +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.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mtk.manpages at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc 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 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 08:38:50 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D15467 Michael Kerrisk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtk.manpages at gmail dot = com --- Comment #4 from Michael Kerrisk --- Fix document in man-pages. diff --git a/man3/sincos.3 b/man3/sincos.3 index b8c3089f8..c299d17b6 100644 --- a/man3/sincos.3 +++ b/man3/sincos.3 @@ -60,9 +60,10 @@ when calling these functions. The following errors can occur: .TP Domain error: \fIx\fP is an infinity -.\" .I errno -.\" is set to -.\" .BR EDOM . +.I errno +is set to +.BR EDOM +(but see BUGS). An invalid floating-point exception .RB ( FE_INVALID ) is raised. @@ -103,6 +104,13 @@ built-in optimizations, using flags such as: cc -O \-lm \-fno\-builtin prog.c .EE .in +.SH BUGS +Before version 2.22, the glibc implementation did not set +.\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=3D15467 +.I errno +to +.B EDOM +when a domain error occurred. .SH SEE ALSO .BR cos (3), .BR sin (3), --=20 You are receiving this mail because: You are on the CC list for the bug.=