QuantLib 0.3.6
User manual
Introduction to QuantLib
QuantLib components
Reference manual
|
Numeric limits
Detailed Description
Some compilers do not give an implementation of yet. For the code to be portable these macros should be used instead of the corresponding method of std::numeric_limits or the corresponding macro defined in <limits.h>.
Define Documentation
#define QL_MIN_INT ((std::numeric_limits<int>::min)())
|
|
|
Defines the value of the largest representable negative integer value |
#define QL_MAX_INT ((std::numeric_limits<int>::max)())
|
|
|
Defines the value of the largest representable integer value |
#define QL_MIN_DOUBLE -((std::numeric_limits<double>::max)())
|
|
|
Defines the value of the largest representable negative double value |
#define QL_MIN_POSITIVE_DOUBLE ((std::numeric_limits<double>::min)())
|
|
|
Defines the value of the smallest representable positive double value |
#define QL_MAX_DOUBLE ((std::numeric_limits<double>::max)())
|
|
|
Defines the value of the largest representable double value |
#define QL_EPSILON ((std::numeric_limits<double>::epsilon)())
|
|
|
Defines the machine precision for operations over doubles |
|