Names to numbers: Difference between revisions
m
→{{header|Wren}}: Minor tidy
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: future-proof for 5.36, 'use utf8') |
m (→{{header|Wren}}: Minor tidy) |
||
Line 2,538:
{{libheader|Wren-fmt}}
Wren's built in Num type can only deal accurately with integers up to 16 digits long (plus or minus 2 ^ 53) so without resorting to BigInt (which would be overkill here) we can only deal with numbers up to nine quadrillion or so.
<syntaxhighlight lang="
import "./pattern" for Pattern
import "./fmt" for Fmt
var names = {
"one": 1,
|