use MZ_IS_NAN() instead of non-portable isnan()

This commit is contained in:
Matthew Flatt 2012-08-04 20:43:32 -06:00
parent a70aca3176
commit 932de7536e

View File

@ -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);