https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97086
--- Comment #3 from m farazma <mfarazma.ext at gmail dot com> --- Sorry the above example needs to be changed to this in order to reproduce the bug: ``` #include <iostream> #include <math.h> int main(){ float a = -0.0; std::cout << nearbyintf(a) << std::endl; return 0; } ```