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

Execution of "size(sprand(5e4,5e4,5e-4),'*')" suffers from Integer Overflow #767

Open
rdbyk opened this issue Dec 1, 2018 · 1 comment

Comments

@rdbyk
Copy link
Owner

rdbyk commented Dec 1, 2018

--> size(sprand(5e4,5e4,5e-4),'*')
 ans  =

  -1.795D+09

probably related to #766

@rdbyk rdbyk changed the title Execution of "size(sprand(5e4,5e4,5e-4),'*')" yields Wrong Result due to Integer Overflow Execution of "size(sprand(5e4,5e4,5e-4),'*')" suffers from Integer Overflow Dec 1, 2018
@rdbyk
Copy link
Owner Author

rdbyk commented Dec 1, 2018

A warning should be raised to indicate, that the result might be wrong!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant