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

release notes: clarify that (0.0 / 0.0).is_sign_positive() cannot yet be called in const fn #1417

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Oct 18, 2024

When writing this description I didn't realize that the float method constification slipped into the next release. So let's clarify this before people try calling (0.0 / 0.0).is_sign_positive() in a const fn and are confused.

Rendered

@RalfJung RalfJung changed the title clarify that (0.0 / 0.0).is_sign_positive() cannot yet be called in const fn release notes: clarify that (0.0 / 0.0).is_sign_positive() cannot yet be called in const fn Oct 18, 2024
@RalfJung
Copy link
Member Author

Cc @traviscross

@traviscross traviscross merged commit 0da4323 into rust-lang:master Oct 18, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants