mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 17:00:27 +00:00
0adb13ed71
In C, signed arithmetic overflow is undefined behvior but unsigned arithmetic overflow is twos complement Unconditionally switch to unsigned arithmetic internally for +, -, * This will not affect the result thanks to twos complement awesomeness. I don't think this will be an issue in these functions, but it has a history of causing bugs..... |
||
---|---|---|
.. | ||
boot | ||
conf | ||
core | ||
include | ||
mainclient |