4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-01 03:50:28 +08:00
Kito Cheng bbf8484a5b libm/common: Fix nextafter and nextafterf when x == y
That according to C99/POSIX, nextafter(x,y) should return y if x==y.

[1] NetBSD fix for this: 3bc6852241
[2] glibc fix for this: bc9f6000f6 (diff-bcc0628a39c3c2003047dcb5a40a8b50c00f01a74b1c8c1100d770a8e48b1ce2)
[3] Linux man page: https://man7.org/linux/man-pages/man3/nextafter.3.html

(cherry picked from commit 7ccfe49e8ce908c581f82c8dbf0f9064df488a24)
2024-12-05 11:57:37 +01:00
..
2022-03-16 22:01:19 -04:00
2023-08-17 18:14:15 -04:00
2023-12-04 10:26:41 +01:00