rust-lang / blog.rust-lang.org

Home of the Rust and Inside Rust blogs
https://blog.rust-lang.org
Apache License 2.0
354 stars 285 forks source link

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

Closed RalfJung closed 1 day ago

RalfJung commented 1 day ago

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 commented 1 day ago

Cc @traviscross