sasagawa888 / eisl

ISLisp interpreter/compiler
Other
288 stars 23 forks source link

Correcting overflow and underflow behavior #275

Closed gtnoble closed 1 year ago

gtnoble commented 1 year ago

Refactored f_mult for simplicity Added positive and negative infinity constants

Corrected overflow and underflow checks: Overflow means too large in magnitude to represent. Underflow means too small in magnitude to represent.

Made parse-number underflows and overflows continuable Modified tests to account for new behavior

sasagawa888 commented 1 year ago

Thank you.