Re: max double

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-12-15 at 22:49 -0600, Steve Siegfried wrote:
> Mike - EMAIL IGNORED wrote:
> > 
> > On Fri, 15 Dec 2006 19:44:42 -0500, Mike - EMAIL IGNORED wrote:
> > 
> > > How do I find the max double on my FC4?
> > > Thanks,
> > > Mike.
> > 
> > Mia culpa. I see that I did not clearly state my question. 
> > What include file and macro should I use to get the max
> > double in a c++ program?
> > 
> > Thanks again,
> > Mike.
> 
> 
> 
> #include <math.h>
> #include <float.h>
> 
> then reference "LDBL_MAX"

Unless Fedora breaks conventions, LDBL_MAX would be for an 80bit number,
with 64 bits of precision.  I think he is just wanting double DBL_MAX
would likely be the macro, but as I said earlier he should check the
"math.h" file for it.  If it is not in math.h, then check float.h.

Regards,
Les H


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux