That is not true. Lua is designed to allow its number type to be configurable but in its default configuration it just uses what C gives as a double.
Nothing indicates it can store any 64 bit integer and in fact it can almost never store them in a single number, unless Lua is specifically compiled using long double in C and they are represented as 80 bit with a 64 bit mantissa part...
No there's no standard way to know the limits of numbers in lua. You need to test them by trying some operations in test loops during initialization of your code, and then use these dynamic results as if they were constants. But a Lua interpreter or compiler will never know that they are constants after the initialisation when bref to be variables during the initialization where their final value is still not known.