diff options
author | Chanho Park <chanho61.park@samsung.com> | 2014-12-11 18:55:56 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-12-11 18:55:56 +0900 |
commit | 08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch) | |
tree | 7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/math/bindings/e_float.hpp | |
parent | bb4dd8289b351fae6b55e303f189127a394a1edd (diff) | |
download | boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2 boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip |
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/math/bindings/e_float.hpp')
-rw-r--r-- | boost/math/bindings/e_float.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/math/bindings/e_float.hpp b/boost/math/bindings/e_float.hpp index d7f9a73508..4068e35922 100644 --- a/boost/math/bindings/e_float.hpp +++ b/boost/math/bindings/e_float.hpp @@ -25,6 +25,7 @@ #include <boost/math/special_functions/fpclassify.hpp> #include <boost/math/bindings/detail/big_digamma.hpp> #include <boost/math/bindings/detail/big_lanczos.hpp> +#include <boost/lexical_cast.hpp> namespace boost{ namespace math{ namespace ef{ @@ -714,7 +715,7 @@ boost::math::ef::e_float bessel_i0(boost::math::ef::e_float x) } else // x in (15, \infty) { - boost::math::ef::e_float y = 1 / x - 1 / 15; + boost::math::ef::e_float y = 1 / x - boost::math::ef::e_float(1) / 15; r = evaluate_polynomial(P2, y) / evaluate_polynomial(Q2, y); factor = exp(x) / sqrt(x); value = factor * r; |