summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/std/complext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libstdc++/std/complext.cc')
-rw-r--r--contrib/libstdc++/std/complext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libstdc++/std/complext.cc b/contrib/libstdc++/std/complext.cc
index d50bf08..60227f2 100644
--- a/contrib/libstdc++/std/complext.cc
+++ b/contrib/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 (;;)
{
OpenPOWER on IntegriCloud