<< The "math" package seems to operate pretty much entirely on
float64, ... . For floats, you have the -0 case, which people tend to
forget about, so the function saves us from that. >>
Agreed.
<< Without generics, we'd have to pick between int, int64, and int32
for the type of Iabs() or possibly have three different functions. >>
Not really, since as you mentioned above, `math' operates
pretty much entirely on `float64'. Similarly, for integer operations,
only int64 versions could have been provided. That was just for
argument :-)
In any case, looking at `java.lang.Math', for a comparison, we
notice only three functions for integers, viz. `abs', `max' and `min',
but they are there. I probably was expecting analogously!
Greetings,
JS