circuithub / rel8

Hey! Hey! Can u rel8?
https://rel8.readthedocs.io
Other
154 stars 39 forks source link

Rename div and mod to quot and rem and introduce proper div and mod #155

Closed shane-circuithub closed 2 years ago

shane-circuithub commented 2 years ago

The functions in Rel8.Expr.Num that were called div and mod actually behaved like the Haskell functions quot and rem on negative values.