/* PSPP - a program for statistical analysis.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <stdbool.h>
#include <stddef.h>
-#include <libpspp/compiler.h>
+#include "libpspp/compiler.h"
/* A floating-point format. */
enum float_format
FLOAT_FP, /* Neutral intermediate format. */
FLOAT_HEX, /* C99 hexadecimal floating constant. */
-#ifdef FPREP_IEEE754
#ifdef WORDS_BIGENDIAN
FLOAT_NATIVE_FLOAT = FLOAT_IEEE_SINGLE_BE,
FLOAT_NATIVE_DOUBLE = FLOAT_IEEE_DOUBLE_BE,
FLOAT_NATIVE_DOUBLE = FLOAT_IEEE_DOUBLE_LE,
FLOAT_NATIVE_32_BIT = FLOAT_IEEE_SINGLE_LE,
FLOAT_NATIVE_64_BIT = FLOAT_IEEE_DOUBLE_LE
-#endif
-#else
-#error Only IEEE-754 floating point currently supported for PSPP hosts.
#endif
};
int float_identify (double expected_value, const void *, size_t,
enum float_format *best_guess);
+double float_get_lowest (void);
+
#endif /* float-format.h */