Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: ebdbfbc13a50bac2c7d9a6733bc76d959e1f6a92
https://github.com/Perl/perl5/commit/ebdbfbc13a50bac2c7d9a6733bc76d959e1f6a92
Author: TAKAI Kousuke <[email protected]>
Date: 2021-04-17 (Sat, 17 Apr 2021)
Changed paths:
M ext/POSIX/Makefile.PL
M ext/POSIX/t/math.t
Log Message:
-----------
POSIX: Prefer system's NAN/INFINITY for POSIX::NAN and POSIX::INFINITY.
POSIX::NAN and POSIX::INFINITY used to return NV_NAN and NV_INF
defined in the perl core respectively, but these might be different
from the values defined in the POSIX system header, as these special
values might have multiple internal representations.
If respective POSIX macro is not defined (eg. on pre-C99 system),
they will return NV_NAN/NV_INF, so there should be no degradation.