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

Make some float methods unstable const fn #130568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 19, 2024

  1. Make some float methods unstable const fn

    Some float methods are now `const fn` under the `const_float_methods` feature gate (except `f16` and `f128` versions, which I placed under `f16` and `f128` feature gates respectively).
    
    In order to support `min` / `max`, the implementation of some intrinsics had to be moved from Miri to rustc_const_eval.
    eduardosm committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4c6f58d View commit details
    Browse the repository at this point in the history