diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-15 02:28:45 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-15 02:28:45 +0000 |
| commit | 72288b4aecd33a3bf3862606b1052bc271c406a3 (patch) | |
| tree | 112a1012b3a9eb5b196e0a984f6db537e174b640 /libstdc++-v3/include/tr1/cmath | |
| parent | 47adf96bd02beacadd45213c3e790d08ed065d3f (diff) | |
| download | ppe42-gcc-72288b4aecd33a3bf3862606b1052bc271c406a3.tar.gz ppe42-gcc-72288b4aecd33a3bf3862606b1052bc271c406a3.zip | |
2006-08-14 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (class poisson_distribution<>): Add.
* include/tr1/random.tcc (poisson_distribution<>::operator(),
operator<<(std::basic_ostream<>&, const poisson_distribution<>&),
operator>>(std::basic_istream<>&, poisson_distribution<>&,
poisson_distribution<>::poisson_distribution(const _RealType&)):
Define.
* testsuite/tr1/5_numerical_facilities/random/poisson_distribution/
requirements/typedefs.cc: New.
* include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak
a bit for efficiency.
* include/tr1/random.tcc (operator<<(std::basic_ostream<>&,
const normal_distribution<>&), operator>>(std::basic_istream<>&,
normal_distribution<>&)): Do not output _M_saved unnecessarily.
* include/tr1/random: Trivial formatting fixes.
* include/tr1/cmath: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116149 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/tr1/cmath')
| -rw-r--r-- | libstdc++-v3/include/tr1/cmath | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/tr1/cmath b/libstdc++-v3/include/tr1/cmath index 22c9f2e44b4..0f51604d9e0 100644 --- a/libstdc++-v3/include/tr1/cmath +++ b/libstdc++-v3/include/tr1/cmath @@ -375,7 +375,7 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1) std::__enable_if<typename std::tr1::__promote_2<_Tp, _Up>::__type, (std::__is_floating<_Tp>::__value || std::__is_floating<_Up>::__value)>::__type - atan2(_Tp __y, _Up __x) + atan2(_Tp __y, _Up __x) { typedef typename std::tr1::__promote_2<_Tp, _Up>::__type __type; return std::atan2(__type(__y), __type(__x)); |

