Re: whole number constants
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Thu, 24 Jul 2008 22:06:52 -0800
dancerchris@xxxxxxxxxxxxx wrote:
(snip)
I think my confusion has been in the conversion of lower rank number
(say single to double precision). If it is not a "floating point
number" the decimal conversion of the bianary produces non-zeros in
the digits 8-15 places to the right of the decimal point. I
understand now that these are not extra bits but conversion digits.
Well, it normally adds binary zeros onto the end of the
binary representation.
A binary fraction converted to decimal has the same number of
digits after the decimal point as the binary fraction
has after the binary point. In precision, a decimal digit
is worth about 3.32 bits. Conversion digits isn't a
bad name for them.
-- glen
.
- References:
- whole number constants
- From: dancerchris
- Re: whole number constants
- From: *** Hendrickson
- Re: whole number constants
- From: dancerchris
- Re: whole number constants
- From: dancerchris
- Re: whole number constants
- From: Richard Maine
- Re: whole number constants
- From: dancerchris
- Re: whole number constants
- From: Richard Maine
- Re: whole number constants
- From: dancerchris
- whole number constants
- Prev by Date: Re: Type extension and renamed parent type
- Next by Date: Re: calling C from fortran
- Previous by thread: Re: whole number constants
- Next by thread: Re: whole number constants
- Index(es):