Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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


Right. :)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: