Use standard C99 isfinite, isnan, isinf in place of GSL substitutes.
[pspp-builds.git] / src / data / por-file-writer.c
index 1f348f67986f3e613d7633b1107406dff2640dce..8a27f6b785ccc548d5a14436cfe221ee7476d3e6 100644 (file)
@@ -777,7 +777,7 @@ format_trig_double (long double value, int base_10_precision, char output[])
      0...30**6, an invariant of the loop below. */
   errno = 0;
   base_2_sig = frexp (value, &base_2_exp);
-  if (errno != 0 || !finite (base_2_sig))
+  if (errno != 0 || !isfinite (base_2_sig))
     goto missing_value;
   if (base_2_exp == 0 && base_2_sig == 0.)
     goto zero;