Changeset 21557 for t/spec/S29-num/sqrt.t
- Timestamp:
- 07/27/08 01:47:24 (6 months ago)
- Files:
-
- 1 modified
-
t/spec/S29-num/sqrt.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S29-num/sqrt.t
r21210 r21557 13 13 is_approx(sqrt(2), 1.4142135623730951, 'got the square root of 2'); 14 14 is_approx(sqrt(5), 2.23606797749979, 'got the square root of 5'); 15 #?rakudo 2skip 'NaN not implemented'15 #?rakudo 1 skip 'NaN not implemented' 16 16 is(sqrt(-1), NaN, 'sqrt(-1) is NaN'); 17 17 18 #WARNING: there is currently no spec which of the complex roots should be 19 #returned. We should change that. 18 # The spec specifies a branch cut in the complex plane of -pi <= theta <= pi 20 19 is_approx(sqrt(-1 +0i), 1i, 'got the square root of -1+0i'); 21 20
