-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MagmaDiv for number #1845
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃殌 Feature request
Current Behavior
number.ts has only add, mul or sub.
Desired Behavior
Add MagmaDiv to number.ts
Suggested Solution
Javascript's division will return Number.INFINITY or Number.NEGATIVE_INFINITY on if rhs are 0.
It is good for Magma's condition.
Who does this impact? Who is this for?
For strict functional programming users.
Describe alternatives you've considered
Some one think so Number.INFINITY aren't "number".
Then, the division has no Magma.
Additional context
number are basic type.
I want add, sub, mul or div instances for number.
Your environment
The text was updated successfully, but these errors were encountered: