You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perl IEEE[^1]:
1) asinh(-Inf) should return -Inf
2) Any too-large values that don't fit should be an Inf with the correct sign.
3) asinh(-0) gives -0
I fixed[^2] the first issue for num and Num, but not yet sure what the
correct solution is for Complex.
The rest of the issues are still present:
<ZoffixW> m: dd asinh -1e200
<camelia> rakudo-moar 74d0e3: OUTPUT«Inf» # should be -Inf
<ZoffixW> m: dd asinh my num $ = -0e0
<camelia> rakudo-moar 74d0e3: OUTPUT«0e0» # should be -0e0
<ZoffixW> m: dd asinh -0e0
<camelia> rakudo-moar 74d0e3: OUTPUT«0e0» # should be -0e0
<ZoffixW> m: dd asinh -1e200+1i
<camelia> rakudo-moar 74d0e3: OUTPUT«<NaN+NaN\i>» # Not sure
what it should be; WolframAlpha just gives -Inf, with no indication of
the imaginary part
Migrated from rt.perl.org#129919 (status was 'new')
Searchable as RT129919$
The text was updated successfully, but these errors were encountered: