Commit 9769c190 by Paolo Carlini Committed by Paolo Carlini

random.tcc (piecewise_linear_distribution<>::…

random.tcc (piecewise_linear_distribution<>:: operator()(_UniformRandomNumberGenerator&, const param_type&)): Remove spurious closed parenthesis.

2009-04-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/random.tcc (piecewise_linear_distribution<>::
	operator()(_UniformRandomNumberGenerator&, const param_type&)):
	Remove spurious closed parenthesis.

From-SVN: r145575
parent e462f727
2009-04-05 Paolo Carlini <paolo.carlini@oracle.com> 2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/random.tcc (piecewise_linear_distribution<>::
operator()(_UniformRandomNumberGenerator&, const param_type&)):
Remove spurious closed parenthesis.
2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/39644 (partial) PR libstdc++/39644 (partial)
* include/bits/random.tcc (linear_congruential_engine<>:: * include/bits/random.tcc (linear_congruential_engine<>::
seed(seed_seq&), independent_bits_engine<>::operator(), seed(seed_seq&), independent_bits_engine<>::operator(),
......
...@@ -2595,7 +2595,7 @@ namespace std ...@@ -2595,7 +2595,7 @@ namespace std
- 4.0 * __a * __c), __b)); - 4.0 * __a * __c), __b));
#else #else
+ (__b < 0.0 ? -1.0 : 1.0) + (__b < 0.0 ? -1.0 : 1.0)
* std::sqrt(__b * __b - 4.0 * __a * __c))); * std::sqrt(__b * __b - 4.0 * __a * __c));
#endif #endif
const double __x0 = __param._M_int[__i]; const double __x0 = __param._M_int[__i];
const double __x1 = __q / __a; const double __x1 = __q / __a;
......
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