lua-users home
lua-l archive

Re: Lua number type and 64-bit machines

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2009年3月06日 15:04:52 +0000
Polarina <gabrielp@simnet.is> wrote:
> On Fri, 2009年03月06日 at 09:57 -0500, Javier Guerra wrote:
> > On Fri, Mar 6, 2009 at 9:43 AM, Gabríel A. Pétursson
> > <gabrielp@simnet.is> wrote:
> > > The x86_64 and x86 do support long doubles in hardware. Other
> > > architectures do not.
> > 
> > [citation requested]
> >From http://en.wikibooks.org/wiki/X86_Assembly/Floating_Point:
> "Floating point numbers may generally be either 32 bits long (C
> "float" type), or 64 bits long (C "double" type). However, in order
> to reduce round-off errors, the FPU stack registers are all 80 bits
> wide."
>
> The 80-bit wide FPU stack registers are long double.
What about the other assertion, "Other architectures do not." ?
:)
B.

AltStyle によって変換されたページ (->オリジナル) /