]> Savannah Git Hosting - gnulib.git/commit
fenv-rounding: Improve code for MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Nov 2023 13:07:22 +0000 (14:07 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Nov 2023 13:11:17 +0000 (14:11 +0100)
commitc261d5dd4897f61aa8ca35cc69fe59fd8d7e3963
tree41105c161a6335a35e1294e911853bf4cdbbf1e9
parenta71a8dae0e04aabbfd17ba1dc3489523e24abbc3
fenv-rounding: Improve code for MSVC.

* lib/fenv-round.c (fegetround) [MSVC]: Use the rounding direction from
the SSE unit. Don't assume stable values for FE_UPWARD and FE_DOWNWARD.
(fesetround) [MSVC]: Set the rounding direction only in the SSE unit.
Don't assume stable values for FE_UPWARD and FE_DOWNWARD.
ChangeLog
lib/fenv-round.c