Module fmaximum_num

Source
Expand description

IEEE 754-2019 maximumNumber.

Per the spec, returns:

  • x if x > y
  • y if y > x
  • Non-NaN if one operand is NaN
  • Logic following +0.0 > -0.0
  • Either x or y if x == y and the signs are the same
  • qNaN if either operand is a NaN

Excluded from our implementation is sNaN handling.

Functionsยง

fmaximum_num