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

[Feature] Add built-in constant NaN #671

Closed
2 of 3 tasks
Tracked by #676 ...
Luna-Klatzer opened this issue Jul 18, 2024 · 1 comment · Fixed by #676
Closed
2 of 3 tasks
Tracked by #676 ...

[Feature] Add built-in constant NaN #671

Luna-Klatzer opened this issue Jul 18, 2024 · 1 comment · Fixed by #676
Assignees
Labels
feature New feature or enhancement
Milestone

Comments

@Luna-Klatzer
Copy link
Member

Is there an existing proposal for this?

  • I have searched the existing issues

This feature does not exist in the latest version

  • I am using the latest version

Proposal

Implement built-in constant NaN, which simply represents the constant not-a-number. This value is already returned by as num when the value being converted from is not a number.

Exact behaviour / changes you want

  • Add constant NaN of type num.
@Luna-Klatzer Luna-Klatzer added the feature New feature or enhancement label Jul 18, 2024
@Luna-Klatzer Luna-Klatzer added this to the v0.12.0 milestone Jul 18, 2024
@Luna-Klatzer Luna-Klatzer self-assigned this Jul 18, 2024
@Luna-Klatzer Luna-Klatzer linked a pull request Jul 22, 2024 that will close this issue
8 tasks
@Luna-Klatzer
Copy link
Member Author

Implemented by #676.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or enhancement
Projects
Development

Successfully merging a pull request may close this issue.

1 participant