Blame view

3rdparty/boost_1_81_0/boost/math/tools/user.hpp 2.57 KB
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  // Copyright John Maddock 2007.
  // Copyright Paul A. Bristow 2007.
  
  // Use, modification and distribution are subject to the
  // Boost Software License, Version 1.0.
  // (See accompanying file LICENSE_1_0.txt
  // or copy at http://www.boost.org/LICENSE_1_0.txt)
  
  #ifndef BOOST_MATH_TOOLS_USER_HPP
  #define BOOST_MATH_TOOLS_USER_HPP
  
  #ifdef _MSC_VER
  #pragma once
  #endif
  
  // This file can be modified by the user to change the default policies.
  // See "Changing the Policy Defaults" in documentation.
  
  // define this if the platform has no long double functions,
  // or if the long double versions have only double precision:
  //
  // #define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
  //
  // Performance tuning options:
  //
  // #define BOOST_MATH_POLY_METHOD 3
  // #define BOOST_MATH_RATIONAL_METHOD 3
  //
  // The maximum order of polynomial that will be evaluated
  // via an unrolled specialisation:
  //
  // #define BOOST_MATH_MAX_POLY_ORDER 17
  //
  // decide whether to store constants as integers or reals:
  //
  // #define BOOST_MATH_INT_TABLE_TYPE(RT, IT) IT
  
  //
  // Default policies follow:
  //
  // Domain errors:
  //
  // #define BOOST_MATH_DOMAIN_ERROR_POLICY throw_on_error
  //
  // Pole errors:
  //
  // #define BOOST_MATH_POLE_ERROR_POLICY throw_on_error
  //
  // Overflow Errors:
  //
  // #define BOOST_MATH_OVERFLOW_ERROR_POLICY throw_on_error
  //
  // Internal Evaluation Errors:
  //
  // #define BOOST_MATH_EVALUATION_ERROR_POLICY throw_on_error
  //
  // Underflow:
  //
  // #define BOOST_MATH_UNDERFLOW_ERROR_POLICY ignore_error
  //
  // Denorms:
  //
  // #define BOOST_MATH_DENORM_ERROR_POLICY ignore_error
  //
  // Max digits to use for internal calculations:
  //
  // #define BOOST_MATH_DIGITS10_POLICY 0
  //
  // Promote floats to doubles internally?
  //
  // #define BOOST_MATH_PROMOTE_FLOAT_POLICY true
  //
  // Promote doubles to long double internally:
  //
  // #define BOOST_MATH_PROMOTE_DOUBLE_POLICY true
  //
  // What do discrete quantiles return?
  //
  // #define BOOST_MATH_DISCRETE_QUANTILE_POLICY integer_round_outwards
  //
  // If a function is mathematically undefined
  // (for example the Cauchy distribution has no mean),
  // then do we stop the code from compiling?
  //
  // #define BOOST_MATH_ASSERT_UNDEFINED_POLICY true
  //
  // Maximum series iterations permitted:
  //
  // #define BOOST_MATH_MAX_SERIES_ITERATION_POLICY 1000000
  //
  // Maximum root finding steps permitted:
  //
  // define BOOST_MATH_MAX_ROOT_ITERATION_POLICY 200
  //
  // Enable use of __float128 in numeric constants:
  //
  // #define BOOST_MATH_USE_FLOAT128
  //
  // Disable use of __float128 in numeric_constants even if the compiler looks to support it:
  //
  // #define BOOST_MATH_DISABLE_FLOAT128
  
  #endif // BOOST_MATH_TOOLS_USER_HPP