A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=713 ====================================================================== Reported By: nsz Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 713 Category: System Interfaces Type: Omission Severity: Editorial Priority: normal Status: New Name: Szabolcs Nagy Organization: musl User Reference: Section: remquo Page Number: Line Number: Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2013-06-18 00:00 UTC Last Modified: 2021-06-16 00:40 UTC ====================================================================== Summary: in remquo quo should be unspecified when the result is NaN ======================================================================
---------------------------------------------------------------------- (0005379) nick (manager) - 2021-06-16 00:40 https://austingroupbugs.net/view.php?id=713#c5379 ---------------------------------------------------------------------- >From WG14 (as yet unofficial position from a member of the floating point subgroup): This is an issue raised by The Open Group via WG14 N2723. There are four cases where remquo() can return a NaN: remquo( NaN, y, &quo) remquo( x, NaN, &quo) remquo( infinity, y, &quo) remquo( x, 0, &quo) Only the last case (0==y) says (7.12.10.3 The remquo functions) that quo's value is unspecified. Seems like an oversite. Note: quo is an int, so cannot hold the value NaN. I suggest that words similar to: If a NaN is returned, the value stored in the object pointed to by quo is unspecified. be added to F.10.7.3 The remquo functions Issue History Date Modified Username Field Change ====================================================================== 2013-06-18 00:00 nsz New Issue 2013-06-18 00:00 nsz Name => Szabolcs Nagy 2013-06-18 00:00 nsz Organization => musl 2013-06-18 00:00 nsz Section => remquo 2013-06-20 15:54 nick Tag Attached: c99 2021-04-14 15:01 nick Note Added: 0005312 2021-04-14 15:23 kre Note Added: 0005313 2021-04-14 15:28 kre Note Added: 0005314 2021-04-15 09:08 geoffclare Note Added: 0005317 2021-04-15 19:58 kre Note Added: 0005319 2021-04-15 19:58 kre Note Deleted: 0005313 2021-04-15 19:59 kre Note Edited: 0005319 2021-06-16 00:40 nick Note Added: 0005379 ======================================================================