Commit e735008b by Jonathan Wakely Committed by Jonathan Wakely

Use value-init syntax in std::__detail::__airy

	* include/tr1/modified_bessel_func.tcc (__airy): Use value-init not
	list-init.

From-SVN: r255313
parent 352111c5
2017-12-01 Jonathan Wakely <jwakely@redhat.com> 2017-12-01 Jonathan Wakely <jwakely@redhat.com>
* include/tr1/modified_bessel_func.tcc (__airy): Use value-init not
list-init.
* include/std/type_traits (integral_constant): Make member functions * include/std/type_traits (integral_constant): Make member functions
noexcept (LWG 2346). noexcept (LWG 2346).
* include/std/utility (integer_sequence): Likewise. * include/std/utility (integer_sequence): Likewise.
......
...@@ -384,11 +384,11 @@ namespace tr1 ...@@ -384,11 +384,11 @@ namespace tr1
__Bip = __Aip = __Bi = __Ai = std::numeric_limits<_Tp>::quiet_NaN(); __Bip = __Aip = __Bi = __Ai = std::numeric_limits<_Tp>::quiet_NaN();
else if (__z == _S_inf) else if (__z == _S_inf)
{ {
__Aip = __Ai = _Tp{0}; __Aip = __Ai = _Tp(0);
__Bip = __Bi = _S_inf; __Bip = __Bi = _S_inf;
} }
else if (__z == -_S_inf) else if (__z == -_S_inf)
__Bip = __Aip = __Bi = __Ai = _Tp{0}; __Bip = __Aip = __Bi = __Ai = _Tp(0);
else if (__x > _Tp(0)) else if (__x > _Tp(0))
{ {
_Tp __I_nu, __Ip_nu, __K_nu, __Kp_nu; _Tp __I_nu, __Ip_nu, __K_nu, __Kp_nu;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment