Question about floating point numbers range

Discussion in 'C++' started by Mohammad Shoaib, Jan 29, 2011.

  1. Mohammad Shoaib

    Mohammad Shoaib New Member

    Joined:
    Jan 29, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hello. This is my first question and I've registered today.

    I want to know about floating point numbers range in C++ programming.

    We have read in different books that the range of floating point numbers/ floating point type variables can stored around "3.4*10^-38 to 3.4*10^38". It's range shows that there exits only positive numbers (even 3.4*10^-38 is a positive number), but we can also store negative floating numbers in floating data type variables. So, is the range written in books is right?
     
  2. Mohammad Shoaib

    Mohammad Shoaib New Member

    Joined:
    Jan 29, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    It is hoped to get the answer very soon
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice