Fwd: KCalc - Modulo Function

Josef Spillner spillner at kde.org
Mon Feb 13 12:43:21 GMT 2006


El Lunes, 13. Febrero 2006 14:19, Mirko Boehm escribió:
> Entering -7 mod 3 in the KCALC number field results in 2.

FWIW, python also returns 2, and has a FAQ entry about this:
http://www.python.org/doc/faq/programming.html#why-does-22-10-return-3

This hit me recently too, although I don't have an opinion on its correctness.

Josef




More information about the kde-core-devel mailing list