mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
For an edge case at an extreme, e.g., nextafter(-DBL_MAX,-INFINITY) do not return x+x. Instead, evaluate x+x and assign it to a volatile to raise an exception, and then fall through to return the correct result in current rounding mode. PR: 299389 MFC after: 6 days (for inclusion into releng/15.2)