You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libstdc++ and libc++ behave correctly (note that MSVC's STL has an intentional behavior difference regarding negative NaNs, though): https://godbolt.org/z/MYsPxc98h
The STL appears to be sending the correct format flags to printf. The UCRT seems to be adding the point regardless of whether the value is finite or not. Perhaps we could work around it by omitting the # flag for non-finite values.
The STL appears to be sending the correct format flags to printf. The UCRT seems to be adding the point regardless of whether the value is finite or not. Perhaps we could work around it by omitting the # flag for non-finite values.
Thanks! I've verified that this is essentially a bug of UCRT and reported DevCom-10519861.
I think we should add some workaround at this moment.
libstdc++ and libc++ behave correctly (note that MSVC's STL has an intentional behavior difference regarding negative NaNs, though): https://godbolt.org/z/MYsPxc98h
Originally reported as DevCom-10512845 / VSO-1917556 / AB#1917556 .
The text was updated successfully, but these errors were encountered: