Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: ee444c8d1a7d537784075be303d6fef32ab72a50
https://github.com/Perl/perl5/commit/ee444c8d1a7d537784075be303d6fef32ab72a50
Author: TAKAI Kousuke <[email protected]>
Date: 2021-12-24 (Fri, 24 Dec 2021)
Changed paths:
M ext/POSIX/Makefile.PL
M ext/POSIX/POSIX.xs
M ext/POSIX/t/iv_const.t
Log Message:
-----------
POSIX: FLT_ROUNDS is now an XS function rather than a constant
POSIX::FLT_ROUNDS used to be an NV constant, but C FLT_ROUNDS is
actually an integer and not a constant (C99 seems to say that
it reflects the current rounding mode set by fesetround()).
Commit: ea5f65263ad54bd59f582eb38161753c2546d6b3
https://github.com/Perl/perl5/commit/ea5f65263ad54bd59f582eb38161753c2546d6b3
Author: TAKAI Kousuke <[email protected]>
Date: 2021-12-24 (Fri, 24 Dec 2021)
Changed paths:
M MANIFEST
M ext/POSIX/POSIX.xs
A ext/POSIX/t/fenv.t
Log Message:
-----------
Add last-resort implementation for POSIX::FLT_ROUNDS.
POSIX::FLT_ROUNDS now emulates (more) standard behavior that
reflects the current rounding mode set by fesetround(),
even when compiled with GCC whose FLT_ROUNDS is wrongly fixed to 1.
Also add tests for this.
Compare: https://github.com/Perl/perl5/compare/69101e619b5e...ea5f65263ad5