Closed Kiwi closed 5 years ago
Sorry for the late reply—this issue got burried quickly and didn’t notice it.
Thanks for pointing out that source of confusion. In response to that, I have already updated both the English and Esperanto versions of the article, with the clarifications.
Currently in the English version (I don't know what it says in Esperanto I assume it's about the same... :) ) there's this point
mod
returns the difference of the absolute values of the divisor and the dividend, following the sign of the divisor, if either the divisor or the dividend is negative.I think it's only true in
a `mod` b
ifabs a <= abs b && a /= 0 && b /= 0
(or something like that)So while the statement holds here
it doesn't here
or here
obviously.
Some people thus found the statement misleading. I don't know if you want to elaborate on it? Thanks for taking the time to write it up in the first place. I like your website.
EN source EO source Division in Haskell