File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 86
86
87
87
COMPLEX.isNaN
88
88
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).
90
90
91
91
= head2 method polar
92
92
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ Usage:
198
198
INTEGER.unival
199
199
200
200
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.
202
202
203
203
say ord("¾").unival; # 0.75
204
204
say 190.unival; # 0.75
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ Returns the absolute value of the number.
113
113
Returns a square root of the number. For real numbers the positive square
114
114
root is returned.
115
115
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,
117
117
in order to not confuse people who are not familiar with complex arithmetic.
118
118
If you want to calculate complex square roots, coerce to C < Complex > first, or
119
119
use the C < roots > method.
You can’t perform that action at this time.
0 commit comments