diff -u libs/math/src/tr1.orig/acoshl.cpp libs/math/src/tr1/acoshl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/acosh.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL acoshl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return c_policies::acosh BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/asinhl.cpp libs/math/src/tr1/asinhl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/asinh.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL asinhl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return c_policies::asinh BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/atanhl.cpp libs/math/src/tr1/atanhl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/atanh.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL atanhl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return c_policies::atanh BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/cbrtl.cpp libs/math/src/tr1/cbrtl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/cbrt.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL cbrtl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return c_policies::cbrt BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/copysignl.cpp libs/math/src/tr1/copysignl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/sign.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL copysignl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x, long double y) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return boost::math::copysign BOOST_PREVENT_MACRO_SUBSTITUTION(x, y); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/erfcl.cpp libs/math/src/tr1/erfcl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/erf.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL erfcl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/erfl.cpp libs/math/src/tr1/erfl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/erf.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL erfl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | return c_policies::erf BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
17 | 18 | } |
| 19 | #endif |
18 | 20 | |
19 | 21 | |
diff -u libs/math/src/tr1.orig/fmaxl.cpp libs/math/src/tr1/fmaxl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/fpclassify.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL fmaxl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x, long double y) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | if((boost::math::isnan)(x)) |
… |
… |
|
19 | 20 | return x; |
20 | 21 | return (std::max)(x, y); |
21 | 22 | } |
| 23 | #endif |
22 | 24 | |
23 | 25 | |
diff -u libs/math/src/tr1.orig/fminl.cpp libs/math/src/tr1/fminl.cpp
old
|
new
|
|
11 | 11 | #include <boost/math/special_functions/fpclassify.hpp> |
12 | 12 | #include "c_policy.hpp" |
13 | 13 | |
| 14 | #if !defined(_AIX61) |
14 | 15 | extern "C" long double BOOST_MATH_TR1_DECL fminl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x, long double y) BOOST_MATH_C99_THROW_SPEC |
15 | 16 | { |
16 | 17 | if((boost::math::isnan)(x)) |
… |
… |
|
19 | 20 | return x; |
20 | 21 | return (std::min)(x, y); |
21 | 22 | } |
| 23 | #endif |
22 | 24 | |
23 | 25 | |
diff -u libs/math/src/tr1.orig/hypotl.cpp libs/math/src/tr1/hypotl.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long double BOOST_MATH_TR1_DECL hypotl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x, long double y) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::hypot BOOST_PREVENT_MACRO_SUBSTITUTION(x, y); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/lgammal.cpp libs/math/src/tr1/lgammal.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long double BOOST_MATH_TR1_DECL lgammal BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::lgamma BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/llroundl.cpp libs/math/src/tr1/llroundl.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" boost::long_long_type BOOST_MATH_TR1_DECL llroundl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::llround BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/lroundl.cpp libs/math/src/tr1/lroundl.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long BOOST_MATH_TR1_DECL lroundl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::lround BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/nexttowardl.cpp libs/math/src/tr1/nexttowardl.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long double BOOST_MATH_TR1_DECL nexttowardl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x, long double y) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::nextafter BOOST_PREVENT_MACRO_SUBSTITUTION(x, y); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/roundl.cpp libs/math/src/tr1/roundl.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long double BOOST_MATH_TR1_DECL roundl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::round BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/tgammal.cpp libs/math/src/tr1/tgammal.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long double BOOST_MATH_TR1_DECL tgammal BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::tgamma BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |
diff -u libs/math/src/tr1.orig/truncl.cpp libs/math/src/tr1/truncl.cpp
old
|
new
|
|
13 | 13 | |
14 | 14 | namespace boost{ namespace math{ namespace tr1{ |
15 | 15 | |
| 16 | #if !defined(_AIX61) |
16 | 17 | extern "C" long double BOOST_MATH_TR1_DECL truncl BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) BOOST_MATH_C99_THROW_SPEC |
17 | 18 | { |
18 | 19 | return c_policies::trunc BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
19 | 20 | } |
| 21 | #endif |
20 | 22 | |
21 | 23 | }}} |
22 | 24 | |