Re: union
- From: Michael Mair <Michael.Mair@xxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 08:59:28 +0100
ramu wrote:
Vladimir S. Oka wrote:
<snip>
PS Don't get into habit of using floats. Use double instead.
Will you please tell that why we have to use double instead of floats?
float has fewer significant digits and you get inexact results _much_ earlier. Usually, you cannot even store all long values exactly in a float variable. double has only slightly better guarantees with respect to the number of digits but in practice has many more. Using double thus means that you most of the time can forget about precision (numerics and excessive financial calculation excluded). <OT> Apart from that, double is definitely not slower on modern host PCs </OT>
Cheers Michael -- E-Mail: Mine is an /at/ gmx /dot/ de address. .
- Follow-Ups:
- Re: union
- From: Vladimir S. Oka
- Re: union
- Prev by Date: Re: What u mean by this statemnet ?.
- Next by Date: Re: how to develop library ( .a and .so files) ! URGENT!!!
- Previous by thread: Re: union
- Next by thread: Re: union
- Index(es):
Relevant Pages
|