Skip to content

Commit a7c21ad

Browse files
committed
fixes numerics links
And adds reference to 0d, which was not mentioned albeit indexed. Refs #2568
1 parent dded407 commit a7c21ad

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/Language/numerics.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ say f $x;
677677
678678
However, this rule is waived if a call is being made where one of the arguments
679679
is a native type and another one is a
680-
L<numeric literal|/syntax/Number literals>:
680+
L<numeric literal|/language/syntax#Number_literals>:
681681
682682
=begin code
683683
multi f(int, int) {}

doc/Language/syntax.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -576,12 +576,12 @@ X<|0x (radix form)>
576576
X<|Number (literals)>
577577
=head3 Number literals
578578
579-
Number literals are generally specified in base ten, unless a prefix
580-
like C<0x> (heB<x>adecimal, base 16), C<0o> (B<o>ctal, base 8) or C<0b>
581-
(B<b>inary, base 2) or an explicit base in adverbial notation like C<<
582-
:16<A0> >> specifies it otherwise. Unlike other programming languages,
583-
leading zeros do I<not> indicate base 8; instead a compile-time warning
584-
is issued.
579+
Number literals are generally specified in base ten (which can be used
580+
literally, if needed, via the prefix C<0d>), unless a prefix like C<0x>
581+
(heB<x>adecimal, base 16), C<0o> (B<o>ctal, base 8) or C<0b> (B<b>inary, base 2)
582+
or an explicit base in adverbial notation like C<< :16<A0> >> specifies it
583+
otherwise. Unlike other programming languages, leading zeros do I<not> indicate
584+
base 8; instead a compile-time warning is issued.
585585
586586
In all literal formats, you can use underscores to group digits; they
587587
don't carry any semantic information; the following literals all

0 commit comments

Comments
 (0)