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
Steps to reproduce:
const Long = require('long'); const x = Long.UZERO.mul(10);
Expected behaviour:
x.unsigned === true
Actual behaviour:
x.unsigned === false
The text was updated successfully, but these errors were encountered:
This seems to be caused by the check for zero that unconditionally returns ZERO, without consulting self.unsigned:
ZERO
self.unsigned
long.js/src/long.js
Lines 864 to 866 in 9448e61
Sorry, something went wrong.
Yeah, should return this
return this
19ac17b
No branches or pull requests
Steps to reproduce:
Expected behaviour:
Actual behaviour:
The text was updated successfully, but these errors were encountered: