Branch: refs/heads/smoke-me/khw-precision Home: https://github.com/Perl/perl5 Commit: 24727636ca4df782ae75fbd8d70d46d90b6c38f3 https://github.com/Perl/perl5/commit/24727636ca4df782ae75fbd8d70d46d90b6c38f3 Author: Karl Williamson <k...@cpan.org> Date: 2022-04-10 (Sun, 10 Apr 2022)
Changed paths: M charclass_invlists.h M lib/unicore/mktables M lib/unicore/uni_keywords.pl M regcharclass.h M uni_keywords.h Log Message: ----------- Bump \p{nv=} precision from 2 to 3 This closes #19603 Unicode has various characters whose numeric value is rational non-integer. These can be specified in \p{nv=...} constructs by either the rational form or by an expression that it evaluates to. The number of significant digits that must match are kept to a minimum to allow for variances in different platforms floating point lengths and rounding decisions. Previously that number was 2 digits; but that is no longer always sufficient for all platforms. This commit changes it to 3.