This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #133979] uniprops02 failing on Windows
authorKarl Williamson <khw@cpan.org>
Sat, 6 Apr 2019 23:51:13 +0000 (17:51 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 7 Apr 2019 00:20:34 +0000 (18:20 -0600)
commitf9c1e7e9ed13a16099c8471c2030b93deb482571
tree4a0a59a400e5c6b73446532c9cc7eb047c55c70a
parent6879a07bc8b8e75c35d0e3b765ea718cc1c7aeb2
PATCH: [perl #133979] uniprops02 failing on Windows

This turns out to be because Windows doesn't necessarily round to even
on floating point %e conversions.  The solution is to add an extra entry
rounding up to odd when a fraction is precisely representable in binary.
So far, the only case where this occurs is 1/32.
charclass_invlists.h
lib/unicore/mktables
lib/unicore/uni_keywords.pl
regcharclass.h
uni_keywords.h