use MZ_IS_NAN() instead of non-portable isnan()
This commit is contained in:
parent
a70aca3176
commit
932de7536e
|
@ -2735,7 +2735,7 @@ double scheme_double_expt(double x, double y) {
|
|||
return not_a_number_val;
|
||||
else if ((x == 0.0) && (y <= 0))
|
||||
return not_a_number_val;
|
||||
else if (isnan(x) || isnan(y))
|
||||
else if (MZ_IS_NAN(x) || MZ_IS_NAN(y))
|
||||
return not_a_number_val;
|
||||
else
|
||||
return sch_pow(x, y);
|
||||
|
|
Loading…
Reference in New Issue
Block a user