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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux