[Bug libstdc++/101794] std::lerp with NaN input does not result in NaN

2022-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101794 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/microsof

[Bug libstdc++/101794] std::lerp with NaN input does not result in NaN

2022-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101794 --- Comment #1 from Andrew Pinski --- The section of std::lerp in the standard does not define what value should be returned if t is nan. I have not tried to find out what other parts of the standard say but I think this might be just unspecifie