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
Precaution: maybe we should verify that __round/__roundf uses the rounding mode of std::round, not FE_NEAREST, on all architectures/ISAs//archs, before using it.
After investigating, the only place where this can be applied from the STL's side is the handwritten float overloads. Functions with a f suffix and the double versions are from the UCRT.
I believe a best solution would be to give intrinsic value to those functions to the compiler (for example like how memcpy is).
In VS 2019 16.8 Preview 3, the following intrinsics will be available (MS-internal MSVC-PR-265316):
These are available for all architectures, declared in
<intrin0.h>
. We should take advantage of them. (We may need to report this to the UCRT too.)Also tracked by DevCom-987080 (MS-internal VSO-1101527 / AB#1101527) and DevCom-1038270 (MS-internal VSO-1129605 / AB#1129605).
The text was updated successfully, but these errors were encountered: