Re: is order urgent doubt
- From: lawrence.jones@xxxxxxxxxxx
- Date: Thu, 5 Jun 2008 20:11:51 -0400
Walter Roberson <roberson@xxxxxxxxxxxxxxxxxx> wrote:
Long double arithmetic is supported by the compiler. The
representation used is not IEEE compliant; long doubles are
represented on this system as the sum or difference of two doubles,
normalized so that the smaller double is <= .5 ULP of the larger.
This is equivalent to a 107 bit mantissa with an 11 bit biased
exponent (bias = 1023), and 1 sign bit. In terms of decimal
precision, this is approximately 34 decimal digits.
Which is a perfectly valid implementation, but only because of the
normalization. Without it, the number of bits in the (virtual) mantissa
is not fixed (there can be arbitrarily many virtual zero bits between
the actual bits from the two double, or they can overlap), which doesn't
conform to C's floating point model.
-- Larry Jones
What a stupid world. -- Calvin
.
- References:
- is order urgent doubt
- From: new to c
- Re: is order urgent doubt
- From: Eric Sosman
- Re: is order urgent doubt
- From: lawrence . jones
- Re: is order urgent doubt
- From: Keith Thompson
- Re: is order urgent doubt
- From: Walter Roberson
- is order urgent doubt
- Prev by Date: Re: Bug/problem with lcc-win
- Next by Date: Re: replace substring
- Previous by thread: Re: is order urgent doubt
- Next by thread: Re: is order urgent doubt
- Index(es):
Relevant Pages
|