Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "mod" operator for fractions (maybe also complex or quaternions?) #702

Open
rlwhitcomb opened this issue Jan 15, 2025 · 0 comments
Open
Assignees
Labels

Comments

@rlwhitcomb
Copy link
Owner

rlwhitcomb commented Jan 15, 2025

It is WAY broken now:

frac(2,5) mod 3 -> 2/5

Should be:

frac(2,5) mod 3 -> 1

See some discussion here: https://math.stackexchange.com/questions/586595/finding-modular-of-a-fraction

Complex gives "unknown operator mod" error as does quaternion.

@rlwhitcomb rlwhitcomb added the bug label Jan 15, 2025
@rlwhitcomb rlwhitcomb self-assigned this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant