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(MultipleOf): MultipleOf not working as expected #126

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MathieM
Copy link

@MathieM MathieM commented Jan 6, 2023

#123

Dealing with float is too complicated.
I add some test to help to understand but it's not working well for all cases.

You can find some examples here : https://3v4l.org/FpKHR

@MathieM MathieM marked this pull request as ready for review January 6, 2023 14:00
@nikcani
Copy link

nikcani commented Jan 9, 2023

@sorinsarca will this be merged? If yes, when? Thx in advance :)

@MathieM
Copy link
Author

MathieM commented Jan 10, 2023

better way to implement multipleof :
https://3v4l.org/K5D3k
I'll implement that and test it.

@MathieM MathieM force-pushed the fix/MultipleOf/multipleOf-not-working-as-expected branch 2 times, most recently from 75b0d80 to 30e6c4f Compare January 30, 2023 13:35
@MathieM MathieM force-pushed the fix/MultipleOf/multipleOf-not-working-as-expected branch from 30e6c4f to f8d8f5e Compare January 30, 2023 13:37
@drzraf
Copy link

drzraf commented Oct 17, 2024

Getting rid of bcmath is also a very desirable side-effect

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.

3 participants