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
Printable View
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
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
Thanks!!!
For C++ you can also use
Code:#include <limits>
std::numeric_limits<double>::min()