It's seems inconsistent that floating-point types have a min method, but integer types don't.
And there's a standalone min() function that works with integer types, but it's not defined for floating-point types.
I don't have a strong preference for either style, but I'd prefer that at least one way of computing min/max was available for both floating point and integer types alike.
It's seems inconsistent that floating-point types have a
minmethod, but integer types don't.And there's a standalone
min()function that works with integer types, but it's not defined for floating-point types.I don't have a strong preference for either style, but I'd prefer that at least one way of computing min/max was available for both floating point and integer types alike.