Fixes incorrect mask being used when FE_INVALID bit is wanted by user.
The problem was noticed thanks lib msun fenv tests, that was failing on test 3.
*fenv test still crashes on test 6, this will be addressed on another review
Differential D27201
[POWERPC] msun: fix incorrect flag in fesetexceptflag alfredo on Nov 12 2020, 10:29 PM. Authored by Tags Referenced Files
Subscribers
Details Fixes incorrect mask being used when FE_INVALID bit is wanted by user. The problem was noticed thanks lib msun fenv tests, that was failing on test 3. *fenv test still crashes on test 6, this will be addressed on another review Tested on powerpc64. Without the patch When running fenv_test, it should print "ok 3 - fenv". It will crash with assert after "ok 2 - fenv" when unpatched. $ ./fenv_test
Diff Detail
|