
12 Feb
2007
12 Feb
'07
7:30 a.m.
Hello Lennart, Monday, February 12, 2007, 11:53:32 AM, you wrote:
Many architectures gives both the quotient and remainder when you use the division instruction, so divMod (quotRem) shouldn't cost more than a div or mod. But if the code generator takes advantage of that is another matter.
qoutRem# is primitive operation in GHC -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com