
11 Aug
2007
11 Aug
'07
3:24 p.m.
On Sat, 2007-08-11 at 21:10 +0200, Henning Thielemann wrote:
Btw. is there any application, where 'quot' and 'rem' are needed? All occurrences of 'quot' and 'rem' I found in code so far were actually wrong and should have been 'div' and 'mod'.
http://www.haskell.org/haskellwiki/Things_to_avoid#Forget_about_quot_and_rem
quotRem is faster than divMod, and my understanding is that even divMod is arguably broken. http://www.cs.uu.nl/~daan/download/papers/divmodnote-letter.pdf