The functions
minNum and maxNum ([IEEE 754-2008, 5.3.1, p19]) take two
arguments and return the min and max, respectively. They
have the special, distinguished property that “if exactly one
argument is NaN, they return the other. If both are NaN they
return NaN.”
Edit: As of 2019, the formerly required minNum, maxNum, minNumMag, and maxNumMag in IEEE 754-2008 are now deleted due to their non-associativity. [https://en.wikipedia.org/wiki/IEEE_754#2019]
Source: http://tom7.org/nand/nand.pdf
Edit: As of 2019, the formerly required minNum, maxNum, minNumMag, and maxNumMag in IEEE 754-2008 are now deleted due to their non-associativity. [https://en.wikipedia.org/wiki/IEEE_754#2019]