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
v7.3.0: regression, modulo with negative number broken #1981
Comments
interesting. ➜ node
Welcome to Node.js v14.12.0.
Type ".help" for more information.
> -175 % 100
-75
> |
nm, seems to be the difference between modulo and remainder: https://2ality.com/2019/08/remainder-vs-modulo.html, if that is the intend. |
@dnalborczyk that is correct. In I hope this clarifies what's going on. |
thank you for the clarification! @josdejong @ovk |
repro:
v7.2.0
v7.3.0
The text was updated successfully, but these errors were encountered: