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
This commit is contained in:
Paolo Carlini 2009-04-05 22:51:37 +00:00 committed by Paolo Carlini
parent e462f7274c
commit 9769c19080
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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)

View File

@ -2595,7 +2595,7 @@ namespace std
- 4.0 * __a * __c), __b));
#else
+ (__b < 0.0 ? -1.0 : 1.0)
* std::sqrt(__b * __b - 4.0 * __a * __c)));
* std::sqrt(__b * __b - 4.0 * __a * __c));
#endif
const double __x0 = __param._M_int[__i];
const double __x1 = __q / __a;