Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:56:00

0001 // Copyright John Maddock 2007.
0002 // Copyright Paul A. Bristow 2007.
0003 
0004 // Use, modification and distribution are subject to the
0005 // Boost Software License, Version 1.0.
0006 // (See accompanying file LICENSE_1_0.txt
0007 // or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 #ifndef BOOST_MATH_TOOLS_USER_HPP
0010 #define BOOST_MATH_TOOLS_USER_HPP
0011 
0012 #ifdef _MSC_VER
0013 #pragma once
0014 #endif
0015 
0016 // This file can be modified by the user to change the default policies.
0017 // See "Changing the Policy Defaults" in documentation.
0018 
0019 // define this if the platform has no long double functions,
0020 // or if the long double versions have only double precision:
0021 //
0022 // #define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
0023 //
0024 // Performance tuning options:
0025 //
0026 // #define BOOST_MATH_POLY_METHOD 3
0027 // #define BOOST_MATH_RATIONAL_METHOD 3
0028 //
0029 // The maximum order of polynomial that will be evaluated
0030 // via an unrolled specialisation:
0031 //
0032 // #define BOOST_MATH_MAX_POLY_ORDER 17
0033 //
0034 // decide whether to store constants as integers or reals:
0035 //
0036 // #define BOOST_MATH_INT_TABLE_TYPE(RT, IT) IT
0037 
0038 //
0039 // Default policies follow:
0040 //
0041 // Domain errors:
0042 //
0043 // #define BOOST_MATH_DOMAIN_ERROR_POLICY throw_on_error
0044 //
0045 // Pole errors:
0046 //
0047 // #define BOOST_MATH_POLE_ERROR_POLICY throw_on_error
0048 //
0049 // Overflow Errors:
0050 //
0051 // #define BOOST_MATH_OVERFLOW_ERROR_POLICY throw_on_error
0052 //
0053 // Internal Evaluation Errors:
0054 //
0055 // #define BOOST_MATH_EVALUATION_ERROR_POLICY throw_on_error
0056 //
0057 // Underflow:
0058 //
0059 // #define BOOST_MATH_UNDERFLOW_ERROR_POLICY ignore_error
0060 //
0061 // Denorms:
0062 //
0063 // #define BOOST_MATH_DENORM_ERROR_POLICY ignore_error
0064 //
0065 // Max digits to use for internal calculations:
0066 //
0067 // #define BOOST_MATH_DIGITS10_POLICY 0
0068 //
0069 // Promote floats to doubles internally?
0070 //
0071 // #define BOOST_MATH_PROMOTE_FLOAT_POLICY true
0072 //
0073 // Promote doubles to long double internally:
0074 //
0075 // #define BOOST_MATH_PROMOTE_DOUBLE_POLICY true
0076 //
0077 // What do discrete quantiles return?
0078 //
0079 // #define BOOST_MATH_DISCRETE_QUANTILE_POLICY integer_round_outwards
0080 //
0081 // If a function is mathematically undefined
0082 // (for example the Cauchy distribution has no mean),
0083 // then do we stop the code from compiling?
0084 //
0085 // #define BOOST_MATH_ASSERT_UNDEFINED_POLICY true
0086 //
0087 // Maximum series iterations permitted:
0088 //
0089 // #define BOOST_MATH_MAX_SERIES_ITERATION_POLICY 1000000
0090 //
0091 // Maximum root finding steps permitted:
0092 //
0093 // define BOOST_MATH_MAX_ROOT_ITERATION_POLICY 200
0094 //
0095 // Enable use of __float128 in numeric constants:
0096 //
0097 // #define BOOST_MATH_USE_FLOAT128
0098 //
0099 // Disable use of __float128 in numeric_constants even if the compiler looks to support it:
0100 //
0101 // #define BOOST_MATH_DISABLE_FLOAT128
0102 
0103 #endif // BOOST_MATH_TOOLS_USER_HPP
0104 
0105