When an empty set is considered a subset of the extended reals (all real numbers, including positive and negative infinity), negative infinity is the least upper bound. Similar to zero being the identity element for the sum of an empty set and to one being the identity element for the product of an empty set, negative infinity is the identity element for the maximum, and thus, if not provided any arguments, the function returns +infinity (i.e., the absolute value of -infinity).
Returns the maximum absolute value.
Notes
+infinity
(i.e., the absolute value of-infinity
).