Small Basic arithmetic should be fully checked #138
Labels
pri/3
Priority 3 - Something that can be done in SBO 1.1 or later
type/runtime
Issues related to runtime engine
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.
The text was updated successfully, but these errors were encountered: