[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Numeric types, overhead and precision loss
- From: Luís Santos <lsantos@...>
- Date: Fri, 18 May 2007 09:41:17 -0300
Hello, people
I am facing some problems with the default numeric type of the lua and
that brought back to me an old question: why only one numeric type?
If it is a floating point and you use it for integer calculations, can't
you get unnecessary overhead? (nevermind the risk of precision loss)
Is there any severe concerns about adding support for integer
operations? Is it intended to be done using the userdata structure?
Jason