468,512 Members | 1,288 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

how 2 calculate exponent , mantissa n range of a floating point numberz

1
hi ppl am new in learning C++ n i hvent got any clue abt the range of floating no'z so can any one help me out? how we find range of floating point no'z?
regardz
areej
Sep 30 '06 #1
1 7252
Banfa
9,056 Expert Mod 8TB
#include "float.h"
where you will find the symbols

FLT_MAX
FLT_MIN

the range of a float f is

-FLT_MAX <= f <= FLT_MAX

and FLT_MIN is the smallest positive non-zero number that a float can represent.
Sep 30 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

687 posts views Thread by cody | last post: by
3 posts views Thread by Mark L Pappin | last post: by
7 posts views Thread by Vinoth | last post: by
7 posts views Thread by thisismyidentity | last post: by
23 posts views Thread by ultimatewarrior | last post: by
14 posts views Thread by Peter Sprenger | last post: by
15 posts views Thread by Mukesh_Singh_Nick | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.