-/* $Id$ */\r
-\r
-/* 7.7 Characteristics of floating types <float.h>\r
+/* Characteristics of floating types <float.h>\r
\r
This file is part of the Public Domain C Library (PDCLib).\r
Permission is granted to use, modify, and / or redistribute at will.\r
\r
#ifndef _PDCLIB_FLOAT_H\r
#define _PDCLIB_FLOAT_H _PDCLIB_FLOAT_H\r
-#include <_PDCLIB_float.h>\r
+#include "_PDCLIB_float.h"\r
\r
#define FLT_ROUNDS _PDCLIB_FLT_ROUNDS\r
#define FLT_EVAL_METHOD _PDCLIB_FLT_EVAL_METHOD\r
#define DECIMAL_DIG _PDCLIB_DECIMAL_DIG\r
\r
- /* Radix of exponent representation */\r
+/* Radix of exponent representation */\r
#define FLT_RADIX _PDCLIB_FLT_RADIX\r
- /* Number of base-FLT_RADIX digits in the significand of a float */\r
+\r
+/* Number of base-FLT_RADIX digits in the significand of a float */\r
#define FLT_MANT_DIG _PDCLIB_FLT_MANT_DIG\r
- /* Number of decimal digits of precision in a float */\r
+\r
+/* Number of decimal digits of precision in a float */\r
#define FLT_DIG _PDCLIB_FLT_DIG\r
- /* Difference between 1.0 and the minimum float greater than 1.0 */\r
+\r
+/* Difference between 1.0 and the minimum float greater than 1.0 */\r
#define FLT_EPSILON _PDCLIB_FLT_EPSILON\r
- /* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */\r
+\r
+/* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */\r
#define FLT_MIN_EXP _PDCLIB_FLT_MIN_EXP\r
- /* Minimum normalised float */\r
+\r
+/* Minimum normalised float */\r
#define FLT_MIN _PDCLIB_FLT_MIN\r
- /* Minimum int x such that 10**x is a normalised float */\r
+\r
+/* Minimum int x such that 10**x is a normalised float */\r
#define FLT_MIN_10_EXP _PDCLIB_FLT_MIN_10_EXP\r
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable float */\r
+\r
+/* Maximum int x such that FLT_RADIX**(x-1) is a representable float */\r
#define FLT_MAX_EXP _PDCLIB_FLT_MAX_EXP\r
- /* Maximum float */\r
+\r
+/* Maximum float */\r
#define FLT_MAX _PDCLIB_FLT_MAX\r
- /* Maximum int x such that 10**x is a representable float */\r
+\r
+/* Maximum int x such that 10**x is a representable float */\r
#define FLT_MAX_10_EXP _PDCLIB_FLT_MAX_10_EXP\r
\r
- /* Number of base-FLT_RADIX digits in the significand of a double */\r
+\r
+/* Number of base-FLT_RADIX digits in the significand of a double */\r
#define DBL_MANT_DIG _PDCLIB_DBL_MANT_DIG\r
- /* Number of decimal digits of precision in a double */\r
+\r
+/* Number of decimal digits of precision in a double */\r
#define DBL_DIG _PDCLIB_DBL_DIG\r
- /* Difference between 1.0 and the minimum double greater than 1.0 */\r
+\r
+/* Difference between 1.0 and the minimum double greater than 1.0 */\r
#define DBL_EPSILON _PDCLIB_DBL_EPSILON\r
- /* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */\r
+\r
+/* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */\r
#define DBL_MIN_EXP _PDCLIB_DBL_MIN_EXP\r
- /* Minimum normalised double */\r
+\r
+/* Minimum normalised double */\r
#define DBL_MIN _PDCLIB_DBL_MIN\r
- /* Minimum int x such that 10**x is a normalised double */\r
+\r
+/* Minimum int x such that 10**x is a normalised double */\r
#define DBL_MIN_10_EXP _PDCLIB_DBL_MIN_10_EXP\r
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */\r
+\r
+/* Maximum int x such that FLT_RADIX**(x-1) is a representable double */\r
#define DBL_MAX_EXP _PDCLIB_DBL_MAX_EXP\r
- /* Maximum double */\r
+\r
+/* Maximum double */\r
#define DBL_MAX _PDCLIB_DBL_MAX\r
- /* Maximum int x such that 10**x is a representable double */\r
+\r
+/* Maximum int x such that 10**x is a representable double */\r
#define DBL_MAX_10_EXP _PDCLIB_DBL_MAX_10_EXP\r
\r
- /* Number of base-FLT_RADIX digits in the significand of a long double */\r
+\r
+/* Number of base-FLT_RADIX digits in the significand of a long double */\r
#define LDBL_MANT_DIG _PDCLIB_LDBL_MANT_DIG\r
- /* Number of decimal digits of precision in a long double */\r
+\r
+/* Number of decimal digits of precision in a long double */\r
#define LDBL_DIG _PDCLIB_LDBL_DIG\r
- /* Difference between 1.0 and the minimum long double greater than 1.0 */\r
+\r
+/* Difference between 1.0 and the minimum long double greater than 1.0 */\r
#define LDBL_EPSILON _PDCLIB_LDBL_EPSILON\r
- /* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */\r
+\r
+/* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */\r
#define LDBL_MIN_EXP _PDCLIB_LDBL_MIN_EXP\r
- /* Minimum normalised long double */\r
+\r
+/* Minimum normalised long double */\r
#define LDBL_MIN _PDCLIB_LDBL_MIN\r
- /* Minimum int x such that 10**x is a normalised long double */\r
+\r
+/* Minimum int x such that 10**x is a normalised long double */\r
#define LDBL_MIN_10_EXP _PDCLIB_LDBL_MIN_10_EXP\r
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */\r
+\r
+/* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */\r
#define LDBL_MAX_EXP _PDCLIB_LDBL_MAX_EXP\r
- /* Maximum long double */\r
+\r
+/* Maximum long double */\r
#define LDBL_MAX _PDCLIB_LDBL_MAX\r
- /* Maximum int x such that 10**x is a representable long double */\r
+\r
+/* Maximum int x such that 10**x is a representable long double */\r
#define LDBL_MAX_10_EXP _PDCLIB_LDBL_MAX_10_EXP\r
\r
#endif\r