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
The multiplication example is here. The example takes value contained in Y as a counter for the loop, decreases it by 1 untill the counter reaches 0.
Load Y Subt one Store Y
The multiplication fails when value in Y is negative. The loop becomes infinite. So, -3 * 5 works. 5 * -3 doesn't!
The page for this example is removed.The link is here. I opened a pull request for this issue here.
The text was updated successfully, but these errors were encountered:
(MARIE-js#286) Fix multiplication when the second input(Y) is negative.
eabe7f0
Merge pull request #287 from kishorliv/fix-multiply-example
20c6503
(#286) Fix multiplication when the second input(Y) is negative.
Good work! I have tidied up the code, and also handled the case where Y = 0, in which case outputs 0. Closing this issue.
Sorry, something went wrong.
No branches or pull requests
The multiplication example is here.
The example takes value contained in Y as a counter for the loop, decreases it by 1 untill the counter reaches 0.
The multiplication fails when value in Y is negative. The loop becomes infinite.
So, -3 * 5 works. 5 * -3 doesn't!
The page for this example is removed.The link is here.
I opened a pull request for this issue here.
The text was updated successfully, but these errors were encountered: