Re: remainder() is not right

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu