We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
View all comments
Feature gate: #![feature(float_minimum_maximum)]
#![feature(float_minimum_maximum)]
This is the tracking issue for the f{32,64}::{min,max}imum functions.
f{32,64}::{min,max}imum
It provide IEEE 754-2019 minimum and maximum functions to f32/f64.
minimum
maximum
impl f32 { pub const fn minimum(self, other: f32) -> f32; pub const fn maximum(self, other: f32) -> f32; } impl f64 { pub const fn minimum(self, other: f64) -> f64; pub const fn maximum(self, other: f64) -> f64; }
const fn
{f16,f32,f64,f128}::{minimum,maximum}
Cannot select: constant:i128<0>
llvm.maximum.f128
constant:i128<0>
i32 = setcc 0x00000000, Constant:i64
min
max
View all comments
Feature gate:
#![feature(float_minimum_maximum)]This is the tracking issue for the
f{32,64}::{min,max}imumfunctions.It provide IEEE 754-2019
minimumandmaximumfunctions to f32/f64.Public API
Steps / History
const fn#130568Unresolved Questions
{f16,f32,f64,f128}::{minimum,maximum}operations #140792Cannot select: constant:i128<0>forllvm.maximum.f128llvm/llvm-project#139380constant:i128<0>forllvm.maximum.f128llvm/llvm-project#139381i32 = setcc 0x00000000, Constant:i64llvm/llvm-project#140445minimumandmaximum) or something else ? Tracking Issue for float_minimum_maximum #91079 (comment)min/max) ?