complext.cc (pow): Don't expect floating point promotion in presence of template argument deduction.
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. From-SVN: r29474
This commit is contained in:
parent
745d757c07
commit
fcc32134a0
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
1999-09-01 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* configure.in: Move *-*-gnu* pattern below *-*-linux*.
|
||||
|
@ -236,7 +236,7 @@ pow (const complex<FLOAT>& xin, int y)
|
||||
if (y < 0)
|
||||
{
|
||||
y = -y;
|
||||
x = 1/x;
|
||||
x = FLOAT(1)/x;
|
||||
}
|
||||
for (;;)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user