Remove integer max() function

...replace with the floating-point one from the "math" package. This
does create a situation where unexpected results could happen with very
large numbers where a 64-bit floating point number can no longer be
incremented by an integer value of one - but I'd be very impressed if
someone found a reason to feed that much data into this thing.