Commit 9ce2457e by Richard Stallman

*** empty log message ***

From-SVN: r447
parent 0c8d4ff0
...@@ -282,7 +282,7 @@ __inline static const double pow (const double x, const double y) ...@@ -282,7 +282,7 @@ __inline static const double pow (const double x, const double y)
double value; double value;
errno = EDOM; errno = EDOM;
__asm ("fmove%.d %#07fffffffffffffff,%0" /* quiet NaN */ __asm ("fmove%.d %#0x7fffffffffffffff,%0" /* quiet NaN */
: "=f" (value) : "=f" (value)
: /* no inputs */); : /* no inputs */);
return value; return value;
...@@ -299,7 +299,7 @@ __inline static const double pow (const double x, const double y) ...@@ -299,7 +299,7 @@ __inline static const double pow (const double x, const double y)
{ {
int i = (int) y; int i = (int) y;
if (i & 1 == 0) /* even */ if ((i & 1) == 0) /* even */
return exp (y * log (-x)); return exp (y * log (-x));
else else
return - exp (y * log (-x)); return - exp (y * log (-x));
......
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