Re: remainder() is not right
- Posted by Ricardo Forno <ricardoforno at tutopia?c?m> May 05, 2008
- 1046 views
If we define the quotient to be floor(a / b), then it is true that remaider() is not right. In fact, floor((-27) / 3600) is -1, not 0. Anyway, I noticed this problem long ago, and implemented a Residue function in my General Functions package. Maybe it should be called mod() instead. Regards.