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

Small Basic arithmetic should be fully checked #138

Open
McSherry opened this issue Jul 27, 2020 · 0 comments
Open

Small Basic arithmetic should be fully checked #138

McSherry opened this issue Jul 27, 2020 · 0 comments
Labels
pri/3 Priority 3 - Something that can be done in SBO 1.1 or later type/runtime Issues related to runtime engine

Comments

@McSherry
Copy link
Member

This issue stems from a Yammer discussion.

At the moment, Small Basic follows .NET—overflow results in an exception, underflow results in truncation to zero.

It would probably be more intuitive for Small Basic to be consistent in what it does. That is, Small Basic should throw an exception for both values that are too large and values that are too small.

@McSherry McSherry added the type/runtime Issues related to runtime engine label Jul 27, 2020
@Caseysch Caseysch added the pri/3 Priority 3 - Something that can be done in SBO 1.1 or later label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pri/3 Priority 3 - Something that can be done in SBO 1.1 or later type/runtime Issues related to runtime engine
Projects
None yet
Development

No branches or pull requests

2 participants