Skip to content

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

Merged
shane-circuithub merged 2 commits intomasterfrom
divMod
Jan 26, 2022
Merged

Rename div and mod to quot and rem and introduce proper div and mod#155
shane-circuithub merged 2 commits intomasterfrom
divMod

Conversation

@shane-circuithub
Copy link
Copy Markdown
Contributor

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

@shane-circuithub shane-circuithub changed the title rel8: Rename div and mod to quot and rem and introduce proper div and mod Rename div and mod to quot and rem and introduce proper div and mod Jan 25, 2022
The functions in `Rel8.Expr.Num` that were called `div` and `mod` actually behaved like the Haskell functions `quot` and `rem` on negative values.
@shane-circuithub shane-circuithub merged commit 2833c4b into master Jan 26, 2022
@shane-circuithub shane-circuithub deleted the divMod branch January 26, 2022 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants