Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sign of a complex number throws instead of fails. #90

Open
coke opened this issue Dec 14, 2011 · 1 comment
Open

sign of a complex number throws instead of fails. #90

coke opened this issue Dec 14, 2011 · 1 comment

Comments

@coke
Copy link
Collaborator

coke commented Dec 14, 2011

last test in t/spec/S32-num/sign.t indicates that the sign of a complex number should return an undefined value, but niecza throws an exception:

23:31 <+p6eval> ..niecza v12-30-g567948e: OUTPUT«Unhandled exception: Complex
numbers are not arithmetically ordered; use cmp if you want an
arbitrary order␤ at /home/p6eval/niecza/lib/CORE.setting line
0 (sign @ 0) ␤ at /tmp/Rv3WEKfIaV line 1 (mainline @ 2) ␤ at
/home/p6eval/niecza/lib/CORE.setting l…

Either the test or niecza need to be updated.

@coke
Copy link
Collaborator Author

coke commented Dec 14, 2011

Note that rakudo's skip comment is:

#?rakudo skip "Test is kind of doubtful IMO -- colomon"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant