Re: union



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.
.



Relevant Pages

  • Re: some bit math help
    ... >> OOPS I screwed up on some of those line - see below ... >>> If you want to store bits as bits and turn on specific bits as ... Just habit - mighta shoulda used a long ah rekon ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: OOP design techniques for many child objects - Help
    ... first and then how to translate that to OOP. ... Keep chanting to yourself: Data tables store data. ...
    (comp.object)
  • Re: Satans Hollow cpo repro interest?
    ... I sold my SH because I couldn't find one.. ... please store my email somewhere if you ... do make them because I have a habit of missing threads when stuff gets ...
    (rec.games.video.arcade.collecting)