diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-17 09:08:26 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-17 09:08:26 +0000 |
commit | 892dc3f345e57a8f9a3c4527e95c9953964aaeb1 (patch) | |
tree | d1480a091f8e1a859dc46bf6cbd44201b924ba9d /libstdc++/std | |
parent | 53c3bc70d4894929045f0db7c87d1a067fb3dcf4 (diff) | |
download | gcc-892dc3f345e57a8f9a3c4527e95c9953964aaeb1.tar.gz |
1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/complext.cc (pow): Don't expect floating point promotion
in presence of template argument deduction. There is no such
thing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++/std')
-rw-r--r-- | libstdc++/std/complext.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++/std/complext.cc b/libstdc++/std/complext.cc index d50bf0871f6..60227f21329 100644 --- a/libstdc++/std/complext.cc +++ b/libstdc++/std/complext.cc @@ -236,7 +236,7 @@ pow (const complex<FLOAT>& xin, int y) if (y < 0) { y = -y; - x = 1/x; + x = FLOAT(1)/x; } for (;;) { |