*** empty log message ***
From-SVN: r447
This commit is contained in:
parent
0c8d4ff0b5
commit
9ce2457e22
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user