summaryrefslogtreecommitdiff
path: root/charclass_invlists.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-04-10 09:41:30 -0600
committerYves Orton <demerphq@gmail.com>2022-04-12 14:08:32 +0800
commit83c93d52168a17129173de239a4ff05df85c6666 (patch)
tree06ce97e7512253dda6ca8e96bc594db1df164ca2 /charclass_invlists.h
parent66f51c878ffb217ed5ec7a4563fa1167ca9e7ca6 (diff)
downloadperl-83c93d52168a17129173de239a4ff05df85c6666.tar.gz
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.
Diffstat (limited to 'charclass_invlists.h')
-rw-r--r--charclass_invlists.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/charclass_invlists.h b/charclass_invlists.h
index 330bfffd3f..70f704032c 100644
--- a/charclass_invlists.h
+++ b/charclass_invlists.h
@@ -23,7 +23,7 @@
#define NUM_ANYOF_CODE_POINTS (1 << 8)
/* The precision to use in "%.*e" formats */
-#define PL_E_FORMAT_PRECISION 2
+#define PL_E_FORMAT_PRECISION 3
#if (defined(PERL_IN_REGCOMP_C) && ! defined(PERL_IN_XSUB_RE))
@@ -430751,7 +430751,7 @@ static const U8 WB_table[23][23] = {
* 43f6df50e4878f501b417e366b0ee097ae5ccb2d4ce942026bed3d62d78e7887 lib/unicore/extracted/DLineBreak.txt
* a04502ebb36a45d83cbe48a7d8132ea8143edb7b3d34d0aa6afe4a9685049741 lib/unicore/extracted/DNumType.txt
* 11075771b112e8e7ccf6ffa637c4c91eadc3ef3db0517b24e605df8fd3624239 lib/unicore/extracted/DNumValues.txt
- * a5032876704eb2ed2872ea296f8b1543ad2b9029b9d4ec011ad81c05644b0bfa lib/unicore/mktables
+ * 1e514199c3fa46f5df6148d272db7bddbfd5e89c9710e39773ef9d734f344a2f lib/unicore/mktables
* c72bbdeda99714db1c8024d3311da4aef3c0db3b9b9f11455a7cfe10d5e9aba3 lib/unicore/version
* 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
* 5f8520d3a17ade6317fc0c423f5091470924b1ef425bca0c41ce8e4a9f8460fe regen/mk_PL_charclass.pl