+Thu Dec 7 17:38:26 2006 Ben Pfaff <blp@gnu.org>
+
+ Thanks to Jason Stover for pointing out this problem.
+
+ * data-out.c (output_number): Use gsl_finite from GSL, which is
+ portable, instead of isfinite, which is not.
+ (power256) Ditto.
+
Thu Dec 7 15:22:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
* variable.c variable.h (value_dup): New function.
#include <stdint.h>
#include <stdlib.h>
#include <time.h>
+#include <gsl/gsl_math.h>
#include "calendar.h"
#include "format.h"
if (number == SYSMIS)
output_missing (format, output);
- else if (!isfinite (number))
+ else if (!gsl_finite (number))
output_infinite (number, format, output);
else
{
static void
output_infinite (double number, const struct fmt_spec *format, char *output)
{
- assert (!isfinite (number));
+ assert (!gsl_finite (number));
if (format->w >= 3)
{