On Fri, 8 May 2020, Richard Biener wrote: > The IFNs are supposed to match fmin and fmax from the C standard which > IIRC have IEEE semantics.
fmin and fmax have IEEE (2008) semantics (where an sNaN operand results in a qNaN result with "invalid" raised", but a quiet NaN results in the other operand, if not sNaN, being returned). Not to be confused with any of the new minimum/maximum operations in IEEE (2019) (both variants that treat all NaNs like other arithmetic operations, and variants that can raise "invalid" for sNaN without returning a NaN), for which C bindings under different names are proposed. -- Joseph S. Myers jos...@codesourcery.com