Commit fcc32134 by Gabriel Dos Reis Committed by Gabriel Dos Reis

complext.cc (pow): Don't expect floating point promotion in presence of template…

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
parent 745d757c
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 (;;)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment