Skip to content

Commit 8495700

Browse files
committed
fix and add links to NaN
1 parent c486510 commit 8495700

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/Type/Complex.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Usage:
8686
8787
COMPLEX.isNaN
8888
89-
Returns true if the real or imaginary part is C<NaN> (not a number).
89+
Returns true if the real or imaginary part is L<C<NaN>|/type/Num#NaN> (not a number).
9090
9191
=head2 method polar
9292

doc/Type/Int.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Usage:
198198
INTEGER.unival
199199
200200
Returns the number represented by the Unicode codepoint with the given integer
201-
number, or L<NaN> if it does not represent a number.
201+
number, or L<NaN|/type/Num#NaN> if it does not represent a number.
202202
203203
say ord("¾").unival; # 0.75
204204
say 190.unival; # 0.75

doc/Type/Numeric.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Returns the absolute value of the number.
113113
Returns a square root of the number. For real numbers the positive square
114114
root is returned.
115115
116-
On negative real numbers, C<sqrt> returns C<NaN> rather than a complex number,
116+
On negative real numbers, C<sqrt> returns L<C<NaN>|/type/Num#NaN> rather than a complex number,
117117
in order to not confuse people who are not familiar with complex arithmetic.
118118
If you want to calculate complex square roots, coerce to C<Complex> first, or
119119
use the C<roots> method.

0 commit comments

Comments
 (0)