We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
number.ts has only add, mul or sub.
Add MagmaDiv to number.ts
export const MagmaDiv = { concat: (lhs: number, rhs: number): number => lhs / rhs }
Javascript's division will return Number.INFINITY or Number.NEGATIVE_INFINITY on if rhs are 0. It is good for Magma's condition.
For strict functional programming users.
Some one think so Number.INFINITY aren't "number". Then, the division has no Magma.
number are basic type. I want add, sub, mul or div instances for number.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🚀 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: