1
Fork 0

Add const_fn_floating_point_arithmetic

This commit is contained in:
Dylan MacKenzie 2020-09-23 11:53:58 -07:00
parent 5bfeee5fe0
commit 0d2521aaf7
3 changed files with 28 additions and 0 deletions

View file

@ -584,6 +584,9 @@ declare_features! (
/// Allows non trivial generic constants which have to be manually propageted upwards.
(active, const_evaluatable_checked, "1.48.0", Some(76560), None),
/// Allows basic arithmetic on floating point types in a `const fn`.
(active, const_fn_floating_point_arithmetic, "1.48.0", Some(57563), None),
// -------------------------------------------------------------------------
// feature-group-end: actual feature gates
// -------------------------------------------------------------------------