doubles or not

From: bdg (ased_at_noo.com)
Date: 04/14/04


Date: Tue, 13 Apr 2004 20:25:46 -0700


"Avoid using doubles when integers will do..."

How could this be true? Since whenever we have to represent a number to
certain extent of accuracy of certain digits after decimal point and when
even a float can not be enough for this, we may need doubles. Am I missing
something?

Thanks!



Relevant Pages

  • Re: doubles or not
    ... > even a float can not be enough for this, we may need doubles. ... the point that you are missing is "..when integers will do". ... integer math. ...
    (microsoft.public.vc.language)
  • Re: doubles or not
    ... George Hester ... > even a float can not be enough for this, we may need doubles. ... Am I missing ...
    (microsoft.public.vc.language)
  • Re: Nan being converted in mex files
    ... It sounds right to avoid all operations involving the doubles, but as far as I can see I dont do any operations and still get the change. ... James Tursa ...
    (comp.soft-sys.matlab)
  • Re: using MFC VC++ - which is more efficient - float or double?
    ... I'm about to say may be null and void. ... I don't think its true that the hardware does everything as doubles. ... there's nothing that is 'saved' by using float. ... If you are working with large sets of data, then memory. ...
    (microsoft.public.vc.mfc)
  • Re: using MFC VC++ - which is more efficient - float or double?
    ... I'm about to say may be null and void. ... As far as I know everything is floating point and doubles takes extra processing to emulate. ... there's nothing that is 'saved' by using float. ... This gets to be a problem sometimes even with a Gig or several Gigs of memory. ...
    (microsoft.public.vc.mfc)

Loading