[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Miles Bader <miles@...>
- Date: Wed, 10 Jul 2013 22:42:54 +0900
Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
> This result is correct. On many (all?) Intel CPUs, long double uses
> 80-bit floats, which have exactly 64 bits in their mantissas. So, they
> count correctly up to 2^64, but after that they lose precision. (Because
> of alignment, the sizeof of a long double usually is larger than 80
> bits.)
BTW, another issue with long floats on x86-family processors is that
they're not supported by SSE instructions, only by the 387 FPU
instructions, and my understanding is that the latter tend to be
slower...
-miles
--
Road, n. A strip of land along which one may pass from where it is too
tiresome to be to where it is futile to go.
- References:
- [ANN] Lua 5.3.0 (work1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.3.0 (work1) now available, Ico
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.3.0 (work1) now available, Xavier Wang
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.3.0 (work1) now available, Tim Hill
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.3.0 (work1) now available, Sean Conner
- Re: [ANN] Lua 5.3.0 (work1) now available, Sean Conner
- Re: [ANN] Lua 5.3.0 (work1) now available, Rena
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy