This file contains some miscellaneous functions used by p-adics.
Returns the maximum of the inputs, where the maximum of the empty list is -infinity.
sage: from sage.rings.padics.misc import max sage: max() -Infinity sage: max(2,3) 3
Returns the minimum of the inputs, where the minimum of the empty list is infinity.
sage: from sage.rings.padics.misc import min sage: min() +Infinity sage: min(2,3) 2