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

NaN/Infinite values #7

Closed
jedwards1211 opened this issue Sep 29, 2020 · 4 comments
Closed

NaN/Infinite values #7

jedwards1211 opened this issue Sep 29, 2020 · 4 comments

Comments

@jedwards1211
Copy link
Contributor

I don't see constants for NaN/Infinity in the language reference, are they supported yet?

@pfusik pfusik closed this as completed in 454547e Sep 29, 2020
@pfusik
Copy link
Collaborator

pfusik commented Sep 29, 2020

Added now. Thanks!

@jedwards1211
Copy link
Contributor Author

jedwards1211 commented Sep 29, 2020

Oh that was fast, thanks! But so fast I forgot to also mention Math.isInfinite/Math.isFinite 😅 (isFinite meaning not NaN or infinite in languages I'm aware of). I guess these are fairly easy to implement in userland, though wouldn't hurt to have them in core.

pfusik added a commit that referenced this issue Sep 29, 2020
@pfusik
Copy link
Collaborator

pfusik commented Sep 29, 2020

Done.

@jedwards1211
Copy link
Contributor Author

Very cool, thanks!

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

2 participants