]> pd.if.org Git - pdclib/blobdiff - float.h
Added a warning about missing test drivers.
[pdclib] / float.h
diff --git a/float.h b/float.h
index 7382c3f1673419c1040e6ff67d68591833bbc7a8..7c0136afff081053f6900068afddf033a07c80e0 100644 (file)
--- a/float.h
+++ b/float.h
@@ -1,22 +1,24 @@
-#ifndef _PDCLIB_FLOAT_H
-#define _PDCLIB_FLOAT_H _PDCLIB_FLOAT_H
-
 /* $Id$ */
 
+/* Release $Name$ */
+
 /* 7.7 Characteristics of floating types <float.h>
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#ifndef _PDCLIB_DEFS_H
-#define _PDCLIB_DEFS_H _PDCLIB_DEFS_H
-#include <_PDCLIB_defs.h>
+#ifndef _PDCLIB_FLOAT_H
+#define _PDCLIB_FLOAT_H _PDCLIB_FLOAT_H
+
+#ifndef _PDCLIB_CONFIG_H
+#define _PDCLIB_CONFIG_H _PDCLIB_CONFIG_H
+#include <_PDCLIB_config.h>
 #endif
 
-#define FLT_ROUNDS _PDCLIB_FLT_ROUNDS
+#define FLT_ROUNDS      _PDCLIB_FLT_ROUNDS
 #define FLT_EVAL_METHOD _PDCLIB_FLT_EVAL_METHOD
-#define DECIMAL_DIG _PDCLIB_DECIMAL_DIG
+#define DECIMAL_DIG     _PDCLIB_DECIMAL_DIG
 
 /* Produced by enquire version 5.1a, CWI, Amsterdam
    http://www.cwi.nl/~steven/enquire.html  */
@@ -27,8 +29,6 @@
 #define FLT_MANT_DIG 24
    /* Number of decimal digits of precision in a float */
 #define FLT_DIG 6
-   /* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown */
-#define FLT_ROUNDS 1
    /* Difference between 1.0 and the minimum float greater than 1.0 */
 #define FLT_EPSILON 1.19209290e-07F
    /* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
@@ -83,3 +83,4 @@
 #define LDBL_MAX_10_EXP 4932
 
 #endif
+