maxNum is (was - as another poster mentioned it is now deprecated) a specific function defined in the IEEE specification. This isn't a language level comparison function but a specific operation on floating points that has to behave the way I described. It is not a comparison function.
maximumMagnitude (and a few similar ones) replace it but behave similarly.
maximumMagnitude (and a few similar ones) replace it but behave similarly.