[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Numeric types, overhead and precision loss
- From: David Kastrup <dak@...>
- Date: Mon, 21 May 2007 22:08:52 +0200
"Grellier, Thierry" <t-grellier@ti.com> writes:
> if you need 64 bits int (well > 53 bits).
Then an integer expanding into float will not help. You'll need an
arbitrarily sized integer instead. Which would make more sense as a
separate data type since it would not at some point of time start
bleeding precision.
Still, it would appear to me that the main motivation to have integers
as a separate data type would be to be able to pass arrays of integers
(or similar) without reinterpretation between external code and Lua.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- References:
- Numeric types, overhead and precision loss, Luís Santos
- Re: Numeric types, overhead and precision loss, Ralph Hempel
- Re: Numeric types, overhead and precision loss, Gavin Wraith
- Re: Numeric types, overhead and precision loss, Ralph Hempel
- RE: Numeric types, overhead and precision loss, Grellier, Thierry
- Re: Numeric types, overhead and precision loss, David Kastrup
- RE: Numeric types, overhead and precision loss, Grellier, Thierry