Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix and add links to NaN
  • Loading branch information
gfldex committed Jun 16, 2016
1 parent c486510 commit 8495700
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/Type/Complex.pod
Expand Up @@ -86,7 +86,7 @@ Usage:
COMPLEX.isNaN
Returns true if the real or imaginary part is C<NaN> (not a number).
Returns true if the real or imaginary part is L<C<NaN>|/type/Num#NaN> (not a number).
=head2 method polar
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Int.pod
Expand Up @@ -198,7 +198,7 @@ Usage:
INTEGER.unival
Returns the number represented by the Unicode codepoint with the given integer
number, or L<NaN> if it does not represent a number.
number, or L<NaN|/type/Num#NaN> if it does not represent a number.
say ord("¾").unival; # 0.75
say 190.unival; # 0.75
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Numeric.pod
Expand Up @@ -113,7 +113,7 @@ Returns the absolute value of the number.
Returns a square root of the number. For real numbers the positive square
root is returned.
On negative real numbers, C<sqrt> returns C<NaN> rather than a complex number,
On negative real numbers, C<sqrt> returns L<C<NaN>|/type/Num#NaN> rather than a complex number,
in order to not confuse people who are not familiar with complex arithmetic.
If you want to calculate complex square roots, coerce to C<Complex> first, or
use the C<roots> method.
Expand Down

0 comments on commit 8495700

Please sign in to comment.