ql/qldefines.hpp File Reference


Detailed Description

Global definitions and compiler switches.

#include <boost/version.hpp>
#include <ql/config.bcc.hpp>
#include <cmath>
#include <limits>
#include <ctime>
#include <cctype>
#include <algorithm>
#include <iterator>

Include dependency graph for qldefines.hpp:

Include dependency graph

Defines

#define BOOST_ENABLE_ASSERT_HANDLER
#define QL_INTEGER   int
#define QL_BIG_INTEGER   long
#define QL_REAL   double
#define QL_VERSION   "0.3.7"
 version string

#define QL_HEX_VERSION   0x000307f0
 version hexadecimal number

#define QL_LIB_VERSION   "0_3_7"
 version string for output lib name

#define QL_DUMMY_RETURN(x)
 Is a dummy return statement required?

#define QL_IO_INIT
 I/O initialization.

#define QL_MIN_INTEGER   ((std::numeric_limits<QL_INTEGER>::min)())
#define QL_MAX_INTEGER   ((std::numeric_limits<QL_INTEGER>::max)())
#define QL_MIN_REAL   -((std::numeric_limits<QL_REAL>::max)())
#define QL_MAX_REAL   ((std::numeric_limits<QL_REAL>::max)())
#define QL_MIN_POSITIVE_REAL   ((std::numeric_limits<QL_REAL>::min)())
#define QL_EPSILON   ((std::numeric_limits<QL_REAL>::epsilon)())
#define QL_NULL_INTEGER   ((std::numeric_limits<int>::max)())
#define QL_NULL_REAL   ((std::numeric_limits<float>::max)())
#define QL_TYPENAME   typename
 Blame Microsoft for this one...

#define QL_SPECIALIZE_ITERATOR_TRAITS(T)
#define QL_REVERSE_ITERATOR(iterator, type)   std::reverse_iterator< iterator >
 Blame Microsoft for this one...

#define QL_FULL_ITERATOR_SUPPORT

QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen