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