Thread: float.h portability

  1. #1
    Registered User
    Join Date
    Jan 2002

    float.h portability

    is there some standard header file that will define constants that will state the size of the different parts of floating-point numbers?

    in the documentation for VC++ it states that there is a header file float.h that has all the values, and I wanted to know if that file is also on, say, UNIX systems

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    float.h and limits.h should be present in all ANSI-C implementations

    I would think the situation would be similar for C++

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Portability
    By rwmarsh in forum C++ Programming
    Replies: 2
    Last Post: 07-04-2006, 10:36 PM
  2. Replies: 1
    Last Post: 10-24-2005, 06:35 AM
  3. Program Portability (code portability)
    By Perica in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2002, 10:03 AM
  4. what does portability mean?
    By elad in forum A Brief History of
    Replies: 6
    Last Post: 10-03-2002, 02:46 AM
  5. need header files (limits.h and float.h)
    By Sapphire19 in forum C Programming
    Replies: 3
    Last Post: 11-06-2001, 05:59 PM