rokucommunity / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
4 stars 2 forks source link

Functions `int()`, `cint()` and `fix()` are not properly converting LongInteger values #68

Closed lvcabral closed 2 months ago

lvcabral commented 3 months ago

Roku does truncate to 0x80000000 - 1 when passing a Long integer to math functions returning Int32:

image