Re: is order urgent doubt



Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxxx> wrote [re double double]:

[*] Although one wonders why `long double' wasn't used
instead.

Because double double (using a pair of doubles to represent a single
floating-point number) in the general case doesn't adhere to the
standard's floating-point model and thus isn't a valid implementation of
long double. To be a valid long double implementation, you would have
to restrict the exponents to make the fraction bits contiguous rather
than allowing a gap or overlap.

-- Larry Jones

I think grown-ups just ACT like they know what they're doing. -- Calvin
.



Relevant Pages

  • Re: is order urgent doubt
    ... Because double double (using a pair of doubles to represent a single ... floating-point number) in the general case doesn't adhere to the ... to restrict the exponents to make the fraction bits contiguous rather ...
    (comp.lang.c)
  • Re: Working with floating point values
    ... That's what I've always done in the past, but decimals are *much* slower to ... complex calculations thousands of times each, ... decimals and doubles is quite noticeable. ... >> nature of floating-point calculations to produce values like ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OADate
    ... stores them as standard IEEE 64-bit ... floating-point numbers ". ... I of course meant Doubles! ... The rest of the explanation still holds good though. ...
    (microsoft.public.vb.general.discussion)