QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
config.sun.hpp
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 Copyright (C) 2010 StatPro Italia srl
5
6 This file is part of QuantLib, a free-software/open-source library
7 for financial quantitative analysts and developers - http://quantlib.org/
8
9 QuantLib is free software: you can redistribute it and/or modify it
10 under the terms of the QuantLib license. You should have received a
11 copy of the license along with this program; if not, please email
12 <quantlib-dev@lists.sf.net>. The license is also available online at
13 <http://quantlib.org/license.shtml>.
14
15 This program is distributed in the hope that it will be useful, but WITHOUT
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17 FOR A PARTICULAR PURPOSE. See the license for more details.
18*/
19
20#ifndef quantlib_config_sun_hpp
21#define quantlib_config_sun_hpp
22
23#include <ql/userconfig.hpp>
24
25/*******************************************
26 System configuration section:
27 do not modify the following definitions.
28 *******************************************/
29
30#ifndef QL_PATCH_SOLARIS
31#define QL_PATCH_SOLARIS
32#endif
33
34// to be compatible with gcc and VC++, make math functions
35// available in the global namespace as well.
36#include <cmath>
37using std::sqrt; using std::abs; using std::fabs;
38using std::exp; using std::log; using std::pow;
39using std::sin; using std::cos; using std::asin; using std::acos;
40using std::sinh; using std::cosh;
41using std::floor; using std::fmod; using std::modf;
42
43
44#endif