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

square-root -1 should return 1.#NaN instead of an error #2431

Closed
Oldes opened this issue Oct 15, 2020 · 0 comments
Closed

square-root -1 should return 1.#NaN instead of an error #2431

Oldes opened this issue Oct 15, 2020 · 0 comments
Labels
Datatype: decimal! Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written

Comments

@Oldes
Copy link
Owner

Oldes commented Oct 15, 2020

Now:

>> arcsine 90
== 1.#NaN

but:

>> square-root -1
** Math error: positive number required
** Where: square-root
** Near: square-root -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datatype: decimal! Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written
Projects
None yet
Development

No branches or pull requests

1 participant