QuantLib 0.3.9
Getting started
Reference manual
|
Detailed Description
Some compilers still define math functions in the global namespace. For the code to be portable these macros had to be used instead of the actual functions. However, Boost provides the means of bypassing this limitation; therefore, all these macros are now deprecated in favor of the actual functions in namespace std.
|
Defines |
#define | QL_SQRT std::sqrt |
| square root
|
#define | QL_FABS std::fabs |
| absolute value
|
#define | QL_EXP std::exp |
| exponential
|
#define | QL_LOG std::log |
| logarithm
|
#define | QL_SIN std::sin |
| sine
|
#define | QL_COS std::cos |
| cosine
|
#define | QL_POW std::pow |
| power
|
#define | QL_MODF std::modf |
| floating-point module
|
#define | QL_SINH std::sinh |
| hyperbolic sine
|
#define | QL_COSH std::cosh |
| hyperbolic cosine
|
#define | QL_FLOOR std::floor |
| floor
|
Define Documentation
#define QL_SQRT std::sqrt |
|
#define QL_FABS std::fabs |
|
#define QL_MODF std::modf |
|
#define QL_SINH std::sinh |
|
#define QL_COSH std::cosh |
|
#define QL_FLOOR std::floor |
|
|