Adam Bailey 3a2e7c30d3 lua: fix integer overflow in LNUM patch
Safely detect integer overflow in try_addint() and try_subint().
Old code relied on undefined behavior, and recent versions of GCC on x86
optimized away the if-statements.
This caused integer overflow in Lua code instead of falling back to
floating-point numbers.

Signed-off-by: Adam Bailey <aebailey@gmail.com>
2023-07-08 16:56:12 +02:00
..
2019-12-23 00:22:07 +01:00
2023-05-22 20:55:33 +02:00
2019-10-19 12:49:11 +02:00
2023-05-18 10:14:13 +02:00
2023-05-19 12:07:14 +02:00
2023-05-18 10:14:13 +02:00
2023-06-29 12:54:34 +02:00