|
-
May 4th, 2003, 04:34 PM
#1
Constant, Symbol, or equiv for the maximum DOUBLE value?
Is there a constant, symbol, or equivalent defined in some standard include that represents the maximum possible double value?
I also need one for the maximum possible int value.
TIA,
Jeff
-
May 4th, 2003, 04:40 PM
#2
Max Double size:
DBL_MAX
Max Float Size:
FLT_MAX
Max Integer Size:
INT_MAX
Also FLT_MIN for minimum float value etc. etc.
Hope this helps,
- Nigel
-
May 4th, 2003, 04:47 PM
#3
-
May 5th, 2003, 12:15 AM
#4
For C++ you can also use
Code:
#include <limits>
std::numeric_limits<double>::min()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|