Commit 9d72da33 by Richard Stallman

(target_isnan): Use GET_REAL macro to get argument.

From-SVN: r4536
parent 5a3af366
...@@ -768,8 +768,11 @@ int ...@@ -768,8 +768,11 @@ int
target_isnan (x) target_isnan (x)
REAL_VALUE_TYPE x; REAL_VALUE_TYPE x;
{ {
unsigned EMUSHORT e[NE];
#ifdef NANS #ifdef NANS
return (eisnan (&x)); GET_REAL (&x, e);
return (eisnan (e));
#else #else
return (0); return (0);
#endif #endif
......
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