jmw wrote:
> Today I encountered some code using Math.IEEEremainder to calculate the
> remainder of two ints, for a simple pagination calculation. I normally
> would just use %, but I'm wondering if anyone knows of a specific
> reason to use Math.IEEEremainder for this type of calculation instead.
I have three thoughts why someone might do this.
They don't know how to cast to integer.
They don't know how to use %
They need to use the special rounding the IEEERemainder provides.
