diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-10 20:55:03 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-10 20:55:03 +0000 |
commit | 751c28ccd2dcd114efb32b17c2f63c2638e3bfeb (patch) | |
tree | 322cf91fb52df9c09d9224f669ce2f649fd50005 /libstdc++-v3/include | |
parent | ced3a3197546750f1e295c900fcacf845037f9dd (diff) | |
download | gcc-751c28ccd2dcd114efb32b17c2f63c2638e3bfeb.tar.gz |
2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/std_complex.h: Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38878 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/std_complex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/std_complex.h b/libstdc++-v3/include/bits/std_complex.h index 92a5223ec20..1cc836e40dc 100644 --- a/libstdc++-v3/include/bits/std_complex.h +++ b/libstdc++-v3/include/bits/std_complex.h @@ -1,6 +1,6 @@ // The template and inlines for the -*- C++ -*- complex number classes. -// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. +// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -464,7 +464,7 @@ namespace std } else { - _Tp __t = sqrt( 2 * abs(__z) + abs(__x)); + _Tp __t = sqrt(2 * (abs(__z) + abs(__x))); _Tp __u = __t / 2; return __x > _Tp() ? complex<_Tp>(__u, __y / __t) |