Hacker News new | ask | show | jobs
by ufo 4390 days ago
Similarly to Javascript, all numbers in Lua are floating point numbers and all number operations are floating point operations. Integers can be represented accurately up to 2^53.
2 comments

Changing the Lua number type from a float to an integer type is something like a 3 line patch.
Right. :)