mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
e462f7274c
commit
9769c19080
|
@ -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>
|
2009-04-05 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
PR libstdc++/39644 (partial)
|
PR libstdc++/39644 (partial)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue