Difference between `mod` and `rem` in Haskell

后端 未结 0 345
梦谈多话
梦谈多话 2020-12-22 19:46

What exactly is the difference between mod and rem in Haskell?

Both seems to give the same results

*Main> mod 2 3
2
*Mai         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题