From 661f59838235815b5073a0ef95f410003639519e Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 16:14:04 -0400 Subject: rename non-compiled files to *.h --- src/float/DBL_DECIMAL_DIG.c | 6 ------ src/float/DBL_DECIMAL_DIG.h | 6 ++++++ src/float/DBL_DIG.c | 16 ---------------- src/float/DBL_DIG.h | 16 ++++++++++++++++ src/float/DBL_EPSILON.c | 16 ---------------- src/float/DBL_EPSILON.h | 16 ++++++++++++++++ src/float/DBL_HAS_SUBNORM.c | 8 -------- src/float/DBL_HAS_SUBNORM.h | 8 ++++++++ src/float/DBL_MANT_DIG.c | 13 ------------- src/float/DBL_MANT_DIG.h | 13 +++++++++++++ src/float/DBL_MAX.c | 15 --------------- src/float/DBL_MAX.h | 15 +++++++++++++++ src/float/DBL_MAX_10_EXP.c | 16 ---------------- src/float/DBL_MAX_10_EXP.h | 16 ++++++++++++++++ src/float/DBL_MAX_EXP.c | 12 ------------ src/float/DBL_MAX_EXP.h | 12 ++++++++++++ src/float/DBL_MIN.c | 15 --------------- src/float/DBL_MIN.h | 15 +++++++++++++++ src/float/DBL_MIN_10_EXP.c | 16 ---------------- src/float/DBL_MIN_10_EXP.h | 16 ++++++++++++++++ src/float/DBL_MIN_EXP.c | 12 ------------ src/float/DBL_MIN_EXP.h | 12 ++++++++++++ src/float/DECIMAL_DIG.c | 10 ---------- src/float/DECIMAL_DIG.h | 10 ++++++++++ src/float/FLT_DECIMAL_DIG.c | 6 ------ src/float/FLT_DECIMAL_DIG.h | 6 ++++++ src/float/FLT_DIG.c | 16 ---------------- src/float/FLT_DIG.h | 16 ++++++++++++++++ src/float/FLT_EPSILON.c | 16 ---------------- src/float/FLT_EPSILON.h | 16 ++++++++++++++++ src/float/FLT_EVAL_METHOD.c | 13 ------------- src/float/FLT_EVAL_METHOD.h | 13 +++++++++++++ src/float/FLT_HAS_SUBNORM.c | 8 -------- src/float/FLT_HAS_SUBNORM.h | 8 ++++++++ src/float/FLT_MANT_DIG.c | 13 ------------- src/float/FLT_MANT_DIG.h | 13 +++++++++++++ src/float/FLT_MAX.c | 15 --------------- src/float/FLT_MAX.h | 15 +++++++++++++++ src/float/FLT_MAX_10_EXP.c | 15 --------------- src/float/FLT_MAX_10_EXP.h | 15 +++++++++++++++ src/float/FLT_MAX_EXP.c | 12 ------------ src/float/FLT_MAX_EXP.h | 12 ++++++++++++ src/float/FLT_MIN.c | 15 --------------- src/float/FLT_MIN.h | 15 +++++++++++++++ src/float/FLT_MIN_10_EXP.c | 16 ---------------- src/float/FLT_MIN_10_EXP.h | 16 ++++++++++++++++ src/float/FLT_MIN_EXP.c | 12 ------------ src/float/FLT_MIN_EXP.h | 12 ++++++++++++ src/float/FLT_RADIX.c | 16 ---------------- src/float/FLT_RADIX.h | 16 ++++++++++++++++ src/float/FLT_ROUNDS.c | 22 ---------------------- src/float/FLT_ROUNDS.h | 22 ++++++++++++++++++++++ src/float/LDBL_DECIMAL_DIG.c | 6 ------ src/float/LDBL_DECIMAL_DIG.h | 6 ++++++ src/float/LDBL_DIG.c | 16 ---------------- src/float/LDBL_DIG.h | 16 ++++++++++++++++ src/float/LDBL_EPSILON.c | 16 ---------------- src/float/LDBL_EPSILON.h | 16 ++++++++++++++++ src/float/LDBL_HAS_SUBNORM.c | 8 -------- src/float/LDBL_HAS_SUBNORM.h | 8 ++++++++ src/float/LDBL_MANT_DIG.c | 13 ------------- src/float/LDBL_MANT_DIG.h | 13 +++++++++++++ src/float/LDBL_MAX.c | 15 --------------- src/float/LDBL_MAX.h | 15 +++++++++++++++ src/float/LDBL_MAX_10_EXP.c | 16 ---------------- src/float/LDBL_MAX_10_EXP.h | 16 ++++++++++++++++ src/float/LDBL_MAX_EXP.c | 12 ------------ src/float/LDBL_MAX_EXP.h | 12 ++++++++++++ src/float/LDBL_MIN.c | 15 --------------- src/float/LDBL_MIN.h | 15 +++++++++++++++ src/float/LDBL_MIN_10_EXP.c | 16 ---------------- src/float/LDBL_MIN_10_EXP.h | 16 ++++++++++++++++ src/float/LDBL_MIN_EXP.c | 12 ------------ src/float/LDBL_MIN_EXP.h | 12 ++++++++++++ 74 files changed, 495 insertions(+), 495 deletions(-) delete mode 100644 src/float/DBL_DECIMAL_DIG.c create mode 100644 src/float/DBL_DECIMAL_DIG.h delete mode 100644 src/float/DBL_DIG.c create mode 100644 src/float/DBL_DIG.h delete mode 100644 src/float/DBL_EPSILON.c create mode 100644 src/float/DBL_EPSILON.h delete mode 100644 src/float/DBL_HAS_SUBNORM.c create mode 100644 src/float/DBL_HAS_SUBNORM.h delete mode 100644 src/float/DBL_MANT_DIG.c create mode 100644 src/float/DBL_MANT_DIG.h delete mode 100644 src/float/DBL_MAX.c create mode 100644 src/float/DBL_MAX.h delete mode 100644 src/float/DBL_MAX_10_EXP.c create mode 100644 src/float/DBL_MAX_10_EXP.h delete mode 100644 src/float/DBL_MAX_EXP.c create mode 100644 src/float/DBL_MAX_EXP.h delete mode 100644 src/float/DBL_MIN.c create mode 100644 src/float/DBL_MIN.h delete mode 100644 src/float/DBL_MIN_10_EXP.c create mode 100644 src/float/DBL_MIN_10_EXP.h delete mode 100644 src/float/DBL_MIN_EXP.c create mode 100644 src/float/DBL_MIN_EXP.h delete mode 100644 src/float/DECIMAL_DIG.c create mode 100644 src/float/DECIMAL_DIG.h delete mode 100644 src/float/FLT_DECIMAL_DIG.c create mode 100644 src/float/FLT_DECIMAL_DIG.h delete mode 100644 src/float/FLT_DIG.c create mode 100644 src/float/FLT_DIG.h delete mode 100644 src/float/FLT_EPSILON.c create mode 100644 src/float/FLT_EPSILON.h delete mode 100644 src/float/FLT_EVAL_METHOD.c create mode 100644 src/float/FLT_EVAL_METHOD.h delete mode 100644 src/float/FLT_HAS_SUBNORM.c create mode 100644 src/float/FLT_HAS_SUBNORM.h delete mode 100644 src/float/FLT_MANT_DIG.c create mode 100644 src/float/FLT_MANT_DIG.h delete mode 100644 src/float/FLT_MAX.c create mode 100644 src/float/FLT_MAX.h delete mode 100644 src/float/FLT_MAX_10_EXP.c create mode 100644 src/float/FLT_MAX_10_EXP.h delete mode 100644 src/float/FLT_MAX_EXP.c create mode 100644 src/float/FLT_MAX_EXP.h delete mode 100644 src/float/FLT_MIN.c create mode 100644 src/float/FLT_MIN.h delete mode 100644 src/float/FLT_MIN_10_EXP.c create mode 100644 src/float/FLT_MIN_10_EXP.h delete mode 100644 src/float/FLT_MIN_EXP.c create mode 100644 src/float/FLT_MIN_EXP.h delete mode 100644 src/float/FLT_RADIX.c create mode 100644 src/float/FLT_RADIX.h delete mode 100644 src/float/FLT_ROUNDS.c create mode 100644 src/float/FLT_ROUNDS.h delete mode 100644 src/float/LDBL_DECIMAL_DIG.c create mode 100644 src/float/LDBL_DECIMAL_DIG.h delete mode 100644 src/float/LDBL_DIG.c create mode 100644 src/float/LDBL_DIG.h delete mode 100644 src/float/LDBL_EPSILON.c create mode 100644 src/float/LDBL_EPSILON.h delete mode 100644 src/float/LDBL_HAS_SUBNORM.c create mode 100644 src/float/LDBL_HAS_SUBNORM.h delete mode 100644 src/float/LDBL_MANT_DIG.c create mode 100644 src/float/LDBL_MANT_DIG.h delete mode 100644 src/float/LDBL_MAX.c create mode 100644 src/float/LDBL_MAX.h delete mode 100644 src/float/LDBL_MAX_10_EXP.c create mode 100644 src/float/LDBL_MAX_10_EXP.h delete mode 100644 src/float/LDBL_MAX_EXP.c create mode 100644 src/float/LDBL_MAX_EXP.h delete mode 100644 src/float/LDBL_MIN.c create mode 100644 src/float/LDBL_MIN.h delete mode 100644 src/float/LDBL_MIN_10_EXP.c create mode 100644 src/float/LDBL_MIN_10_EXP.h delete mode 100644 src/float/LDBL_MIN_EXP.c create mode 100644 src/float/LDBL_MIN_EXP.h (limited to 'src/float') diff --git a/src/float/DBL_DECIMAL_DIG.c b/src/float/DBL_DECIMAL_DIG.c deleted file mode 100644 index 16c68495..00000000 --- a/src/float/DBL_DECIMAL_DIG.c +++ /dev/null @@ -1,6 +0,0 @@ -#define DBL_DECIMAL_DIG (10) - -/* -MIN(10) -STDC(201112) -*/ diff --git a/src/float/DBL_DECIMAL_DIG.h b/src/float/DBL_DECIMAL_DIG.h new file mode 100644 index 00000000..16c68495 --- /dev/null +++ b/src/float/DBL_DECIMAL_DIG.h @@ -0,0 +1,6 @@ +#define DBL_DECIMAL_DIG (10) + +/* +MIN(10) +STDC(201112) +*/ diff --git a/src/float/DBL_DIG.c b/src/float/DBL_DIG.c deleted file mode 100644 index 9f656012..00000000 --- a/src/float/DBL_DIG.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define DBL_DIG (15) - -/** double significant digits **/ - -/*** -is the number of significant digits in a decimal representation of a -TYPE(double) that are guaranteed accuracy. -***/ - -/* -VALUE_MIN(10) -*/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_DIG.h b/src/float/DBL_DIG.h new file mode 100644 index 00000000..9f656012 --- /dev/null +++ b/src/float/DBL_DIG.h @@ -0,0 +1,16 @@ +#include +#define DBL_DIG (15) + +/** double significant digits **/ + +/*** +is the number of significant digits in a decimal representation of a +TYPE(double) that are guaranteed accuracy. +***/ + +/* +VALUE_MIN(10) +*/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_EPSILON.c b/src/float/DBL_EPSILON.c deleted file mode 100644 index 5e4bd6b8..00000000 --- a/src/float/DBL_EPSILON.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define DBL_EPSILON (2.220446E-16) - -/** double epsilon **/ - -/*** -is the difference between LITERAL(1) and the next smallest number -representable as a TYPE(double). -***/ - -/* -VALUE_MIN(1e-9) -*/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_EPSILON.h b/src/float/DBL_EPSILON.h new file mode 100644 index 00000000..5e4bd6b8 --- /dev/null +++ b/src/float/DBL_EPSILON.h @@ -0,0 +1,16 @@ +#include +#define DBL_EPSILON (2.220446E-16) + +/** double epsilon **/ + +/*** +is the difference between LITERAL(1) and the next smallest number +representable as a TYPE(double). +***/ + +/* +VALUE_MIN(1e-9) +*/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_HAS_SUBNORM.c b/src/float/DBL_HAS_SUBNORM.c deleted file mode 100644 index be060884..00000000 --- a/src/float/DBL_HAS_SUBNORM.c +++ /dev/null @@ -1,8 +0,0 @@ -#define DBL_HAS_SUBNORM (-1) - -/* -1: indeterminable */ -/* 0: subnormal numbers not supported */ -/* 1: subnormal numbers are supported */ -/* -STDC(201112) -*/ diff --git a/src/float/DBL_HAS_SUBNORM.h b/src/float/DBL_HAS_SUBNORM.h new file mode 100644 index 00000000..be060884 --- /dev/null +++ b/src/float/DBL_HAS_SUBNORM.h @@ -0,0 +1,8 @@ +#define DBL_HAS_SUBNORM (-1) + +/* -1: indeterminable */ +/* 0: subnormal numbers not supported */ +/* 1: subnormal numbers are supported */ +/* +STDC(201112) +*/ diff --git a/src/float/DBL_MANT_DIG.c b/src/float/DBL_MANT_DIG.c deleted file mode 100644 index b89e6ac1..00000000 --- a/src/float/DBL_MANT_DIG.c +++ /dev/null @@ -1,13 +0,0 @@ -#include -#define DBL_MANT_DIG (53) - -/** double mantissa **/ - -/*** -is the number of digits, in base-IDENTIFIER(FLT_RADIX), in the -floating-point significand for TYPE(double) variables. It is not necessarily -a constant value. -***/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MANT_DIG.h b/src/float/DBL_MANT_DIG.h new file mode 100644 index 00000000..b89e6ac1 --- /dev/null +++ b/src/float/DBL_MANT_DIG.h @@ -0,0 +1,13 @@ +#include +#define DBL_MANT_DIG (53) + +/** double mantissa **/ + +/*** +is the number of digits, in base-IDENTIFIER(FLT_RADIX), in the +floating-point significand for TYPE(double) variables. It is not necessarily +a constant value. +***/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_MAX.c b/src/float/DBL_MAX.c deleted file mode 100644 index 91d1e704..00000000 --- a/src/float/DBL_MAX.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define DBL_MAX (1.797693E+308) - -/** double maximum value **/ - -/*** -is the maximum representable finite TYPE(double) value. -***/ - -/* -VALUE_MIN(1e+37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MAX.h b/src/float/DBL_MAX.h new file mode 100644 index 00000000..91d1e704 --- /dev/null +++ b/src/float/DBL_MAX.h @@ -0,0 +1,15 @@ +#include +#define DBL_MAX (1.797693E+308) + +/** double maximum value **/ + +/*** +is the maximum representable finite TYPE(double) value. +***/ + +/* +VALUE_MIN(1e+37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_MAX_10_EXP.c b/src/float/DBL_MAX_10_EXP.c deleted file mode 100644 index 8238d34b..00000000 --- a/src/float/DBL_MAX_10_EXP.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define DBL_MAX_10_EXP (308) - -/** double maximum base-10 exponent **/ - -/*** -is the largest integer for which POW(10,THIS()) is a finite -TYPE(double). -***/ - -/* -VALUE_MIN(37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MAX_10_EXP.h b/src/float/DBL_MAX_10_EXP.h new file mode 100644 index 00000000..8238d34b --- /dev/null +++ b/src/float/DBL_MAX_10_EXP.h @@ -0,0 +1,16 @@ +#include +#define DBL_MAX_10_EXP (308) + +/** double maximum base-10 exponent **/ + +/*** +is the largest integer for which POW(10,THIS()) is a finite +TYPE(double). +***/ + +/* +VALUE_MIN(37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_MAX_EXP.c b/src/float/DBL_MAX_EXP.c deleted file mode 100644 index 38fdb2a8..00000000 --- a/src/float/DBL_MAX_EXP.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#define DBL_MAX_EXP (1024) - -/** double maximum exponent **/ - -/*** -is the largest integer for which -POW(IDENTIFIER(FLT_RADIX),THIS() - 1) is a finite TYPE(double). -***/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MAX_EXP.h b/src/float/DBL_MAX_EXP.h new file mode 100644 index 00000000..38fdb2a8 --- /dev/null +++ b/src/float/DBL_MAX_EXP.h @@ -0,0 +1,12 @@ +#include +#define DBL_MAX_EXP (1024) + +/** double maximum exponent **/ + +/*** +is the largest integer for which +POW(IDENTIFIER(FLT_RADIX),THIS() - 1) is a finite TYPE(double). +***/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_MIN.c b/src/float/DBL_MIN.c deleted file mode 100644 index 7f3c9ce1..00000000 --- a/src/float/DBL_MIN.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define DBL_MIN (2.225074E-308) - -/** double minimum positive number **/ - -/*** -is the smallest normalized value of a TYPE(double). -***/ - -/* -VALUE_MIN(1e-37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MIN.h b/src/float/DBL_MIN.h new file mode 100644 index 00000000..7f3c9ce1 --- /dev/null +++ b/src/float/DBL_MIN.h @@ -0,0 +1,15 @@ +#include +#define DBL_MIN (2.225074E-308) + +/** double minimum positive number **/ + +/*** +is the smallest normalized value of a TYPE(double). +***/ + +/* +VALUE_MIN(1e-37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_MIN_10_EXP.c b/src/float/DBL_MIN_10_EXP.c deleted file mode 100644 index f329b0a1..00000000 --- a/src/float/DBL_MIN_10_EXP.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define DBL_MIN_10_EXP (-307) - -/** double minimum base-10 exponent **/ - -/*** -is the smallest negative integer for which POW(10, THIS()) -is a normalized TYPE(double). -***/ - -/* -VALUE_MIN(-37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MIN_10_EXP.h b/src/float/DBL_MIN_10_EXP.h new file mode 100644 index 00000000..f329b0a1 --- /dev/null +++ b/src/float/DBL_MIN_10_EXP.h @@ -0,0 +1,16 @@ +#include +#define DBL_MIN_10_EXP (-307) + +/** double minimum base-10 exponent **/ + +/*** +is the smallest negative integer for which POW(10, THIS()) +is a normalized TYPE(double). +***/ + +/* +VALUE_MIN(-37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/DBL_MIN_EXP.c b/src/float/DBL_MIN_EXP.c deleted file mode 100644 index cc5dd645..00000000 --- a/src/float/DBL_MIN_EXP.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#define DBL_MIN_EXP (-1021) - -/** double minimum exponent **/ - -/*** -is the smallest negative integer for which -POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a normalized TYPE(double). -***/ -/* -STDC(1) -*/ diff --git a/src/float/DBL_MIN_EXP.h b/src/float/DBL_MIN_EXP.h new file mode 100644 index 00000000..cc5dd645 --- /dev/null +++ b/src/float/DBL_MIN_EXP.h @@ -0,0 +1,12 @@ +#include +#define DBL_MIN_EXP (-1021) + +/** double minimum exponent **/ + +/*** +is the smallest negative integer for which +POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a normalized TYPE(double). +***/ +/* +STDC(1) +*/ diff --git a/src/float/DECIMAL_DIG.c b/src/float/DECIMAL_DIG.c deleted file mode 100644 index 6003cb49..00000000 --- a/src/float/DECIMAL_DIG.c +++ /dev/null @@ -1,10 +0,0 @@ -#include - -#define DECIMAL_DIG (10) - -/* MIN: 10 */ - -/* -STDC(199901) -LINK(m) -*/ diff --git a/src/float/DECIMAL_DIG.h b/src/float/DECIMAL_DIG.h new file mode 100644 index 00000000..6003cb49 --- /dev/null +++ b/src/float/DECIMAL_DIG.h @@ -0,0 +1,10 @@ +#include + +#define DECIMAL_DIG (10) + +/* MIN: 10 */ + +/* +STDC(199901) +LINK(m) +*/ diff --git a/src/float/FLT_DECIMAL_DIG.c b/src/float/FLT_DECIMAL_DIG.c deleted file mode 100644 index 2bf60c7c..00000000 --- a/src/float/FLT_DECIMAL_DIG.c +++ /dev/null @@ -1,6 +0,0 @@ -#define FLT_DECIMAL_DIG (6) - -/* MIN: 6 */ -/* -STDC(201112) -*/ diff --git a/src/float/FLT_DECIMAL_DIG.h b/src/float/FLT_DECIMAL_DIG.h new file mode 100644 index 00000000..2bf60c7c --- /dev/null +++ b/src/float/FLT_DECIMAL_DIG.h @@ -0,0 +1,6 @@ +#define FLT_DECIMAL_DIG (6) + +/* MIN: 6 */ +/* +STDC(201112) +*/ diff --git a/src/float/FLT_DIG.c b/src/float/FLT_DIG.c deleted file mode 100644 index 43a17c3f..00000000 --- a/src/float/FLT_DIG.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define FLT_DIG (6) - -/** float significant digits **/ - -/*** -is the number of significant digits in a decimal representation of a -TYPE(float) that are guaranteed accuracy. -***/ - -/* -VALUE_MIN(6) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_DIG.h b/src/float/FLT_DIG.h new file mode 100644 index 00000000..43a17c3f --- /dev/null +++ b/src/float/FLT_DIG.h @@ -0,0 +1,16 @@ +#include +#define FLT_DIG (6) + +/** float significant digits **/ + +/*** +is the number of significant digits in a decimal representation of a +TYPE(float) that are guaranteed accuracy. +***/ + +/* +VALUE_MIN(6) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_EPSILON.c b/src/float/FLT_EPSILON.c deleted file mode 100644 index 31640457..00000000 --- a/src/float/FLT_EPSILON.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define FLT_EPSILON (1.192093E-07) - -/** float epsilon **/ - -/*** -is the difference between LITERAL(1) and the next smallest number -representable as a TYPE(float). -***/ - -/* -VALUE_MIN(1e-5) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_EPSILON.h b/src/float/FLT_EPSILON.h new file mode 100644 index 00000000..31640457 --- /dev/null +++ b/src/float/FLT_EPSILON.h @@ -0,0 +1,16 @@ +#include +#define FLT_EPSILON (1.192093E-07) + +/** float epsilon **/ + +/*** +is the difference between LITERAL(1) and the next smallest number +representable as a TYPE(float). +***/ + +/* +VALUE_MIN(1e-5) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_EVAL_METHOD.c b/src/float/FLT_EVAL_METHOD.c deleted file mode 100644 index 46fa8194..00000000 --- a/src/float/FLT_EVAL_METHOD.c +++ /dev/null @@ -1,13 +0,0 @@ -#include - -#define FLT_EVAL_METHOD (-1) - -/* -1: indeterminable */ -/* 0: float as float; double as double; long double as long double */ -/* 1: float as double; double as double; long double as long double */ -/* 2: all as long double */ - -/* -STDC(199901) -LINK(m) -*/ diff --git a/src/float/FLT_EVAL_METHOD.h b/src/float/FLT_EVAL_METHOD.h new file mode 100644 index 00000000..46fa8194 --- /dev/null +++ b/src/float/FLT_EVAL_METHOD.h @@ -0,0 +1,13 @@ +#include + +#define FLT_EVAL_METHOD (-1) + +/* -1: indeterminable */ +/* 0: float as float; double as double; long double as long double */ +/* 1: float as double; double as double; long double as long double */ +/* 2: all as long double */ + +/* +STDC(199901) +LINK(m) +*/ diff --git a/src/float/FLT_HAS_SUBNORM.c b/src/float/FLT_HAS_SUBNORM.c deleted file mode 100644 index e68672e1..00000000 --- a/src/float/FLT_HAS_SUBNORM.c +++ /dev/null @@ -1,8 +0,0 @@ -#define FLT_HAS_SUBNORM (-1) - -/* -1: indeterminable */ -/* 0: subnormal numbers not supported */ -/* 1: subnormal numbers are supported */ -/* -STDC(201112) -*/ diff --git a/src/float/FLT_HAS_SUBNORM.h b/src/float/FLT_HAS_SUBNORM.h new file mode 100644 index 00000000..e68672e1 --- /dev/null +++ b/src/float/FLT_HAS_SUBNORM.h @@ -0,0 +1,8 @@ +#define FLT_HAS_SUBNORM (-1) + +/* -1: indeterminable */ +/* 0: subnormal numbers not supported */ +/* 1: subnormal numbers are supported */ +/* +STDC(201112) +*/ diff --git a/src/float/FLT_MANT_DIG.c b/src/float/FLT_MANT_DIG.c deleted file mode 100644 index 608ff5f9..00000000 --- a/src/float/FLT_MANT_DIG.c +++ /dev/null @@ -1,13 +0,0 @@ -#include -#define FLT_MANT_DIG (24) - -/** float mantissa **/ - -/*** -is the number of digits, in base-IDENTIFIER(FLT_RADIX), in the -floating-point significand for TYPE(float) variables. It is not necessarily -a constant value. -***/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MANT_DIG.h b/src/float/FLT_MANT_DIG.h new file mode 100644 index 00000000..608ff5f9 --- /dev/null +++ b/src/float/FLT_MANT_DIG.h @@ -0,0 +1,13 @@ +#include +#define FLT_MANT_DIG (24) + +/** float mantissa **/ + +/*** +is the number of digits, in base-IDENTIFIER(FLT_RADIX), in the +floating-point significand for TYPE(float) variables. It is not necessarily +a constant value. +***/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_MAX.c b/src/float/FLT_MAX.c deleted file mode 100644 index ecd59b0d..00000000 --- a/src/float/FLT_MAX.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define FLT_MAX (3.402823E+38) - -/** float maximum value **/ - -/*** -is the maximum representable finite TYPE(float) value. -***/ - -/* -VALUE_MIN(1e+37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MAX.h b/src/float/FLT_MAX.h new file mode 100644 index 00000000..ecd59b0d --- /dev/null +++ b/src/float/FLT_MAX.h @@ -0,0 +1,15 @@ +#include +#define FLT_MAX (3.402823E+38) + +/** float maximum value **/ + +/*** +is the maximum representable finite TYPE(float) value. +***/ + +/* +VALUE_MIN(1e+37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_MAX_10_EXP.c b/src/float/FLT_MAX_10_EXP.c deleted file mode 100644 index 2b64a7e7..00000000 --- a/src/float/FLT_MAX_10_EXP.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define FLT_MAX_10_EXP (38) - -/** float maximum base-10 exponent **/ - -/*** -is the largest integer for which POW(10, THIS()) is a finite TYPE(float). -***/ - -/* -VALUE_MIN(37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MAX_10_EXP.h b/src/float/FLT_MAX_10_EXP.h new file mode 100644 index 00000000..2b64a7e7 --- /dev/null +++ b/src/float/FLT_MAX_10_EXP.h @@ -0,0 +1,15 @@ +#include +#define FLT_MAX_10_EXP (38) + +/** float maximum base-10 exponent **/ + +/*** +is the largest integer for which POW(10, THIS()) is a finite TYPE(float). +***/ + +/* +VALUE_MIN(37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_MAX_EXP.c b/src/float/FLT_MAX_EXP.c deleted file mode 100644 index d912e1ec..00000000 --- a/src/float/FLT_MAX_EXP.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#define FLT_MAX_EXP (128) - -/** float maximum exponent **/ - -/*** -is the largest integer for which -POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a finite TYPE(float). -***/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MAX_EXP.h b/src/float/FLT_MAX_EXP.h new file mode 100644 index 00000000..d912e1ec --- /dev/null +++ b/src/float/FLT_MAX_EXP.h @@ -0,0 +1,12 @@ +#include +#define FLT_MAX_EXP (128) + +/** float maximum exponent **/ + +/*** +is the largest integer for which +POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a finite TYPE(float). +***/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_MIN.c b/src/float/FLT_MIN.c deleted file mode 100644 index aac248c5..00000000 --- a/src/float/FLT_MIN.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define FLT_MIN (1.175494E-38) - -/** float minimum positive number **/ - -/*** -is the smallest normalized value of a TYPE(float). -***/ - -/* -VALUE_MIN(1e-37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MIN.h b/src/float/FLT_MIN.h new file mode 100644 index 00000000..aac248c5 --- /dev/null +++ b/src/float/FLT_MIN.h @@ -0,0 +1,15 @@ +#include +#define FLT_MIN (1.175494E-38) + +/** float minimum positive number **/ + +/*** +is the smallest normalized value of a TYPE(float). +***/ + +/* +VALUE_MIN(1e-37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_MIN_10_EXP.c b/src/float/FLT_MIN_10_EXP.c deleted file mode 100644 index 57f9eb95..00000000 --- a/src/float/FLT_MIN_10_EXP.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define FLT_MIN_10_EXP (-37) - -/** float minimum base-10 exponent **/ - -/*** -is the smallest negative integer for which POW(10, THIS()) -is a normalized TYPE(float). -***/ - -/* -VALUE_MIN(-37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MIN_10_EXP.h b/src/float/FLT_MIN_10_EXP.h new file mode 100644 index 00000000..57f9eb95 --- /dev/null +++ b/src/float/FLT_MIN_10_EXP.h @@ -0,0 +1,16 @@ +#include +#define FLT_MIN_10_EXP (-37) + +/** float minimum base-10 exponent **/ + +/*** +is the smallest negative integer for which POW(10, THIS()) +is a normalized TYPE(float). +***/ + +/* +VALUE_MIN(-37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_MIN_EXP.c b/src/float/FLT_MIN_EXP.c deleted file mode 100644 index 682c8d4f..00000000 --- a/src/float/FLT_MIN_EXP.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#define FLT_MIN_EXP (-125) - -/** float minimum exponent **/ - -/*** -is the smallest negative integer for which -POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a normalized TYPE(float). -***/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_MIN_EXP.h b/src/float/FLT_MIN_EXP.h new file mode 100644 index 00000000..682c8d4f --- /dev/null +++ b/src/float/FLT_MIN_EXP.h @@ -0,0 +1,12 @@ +#include +#define FLT_MIN_EXP (-125) + +/** float minimum exponent **/ + +/*** +is the smallest negative integer for which +POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a normalized TYPE(float). +***/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_RADIX.c b/src/float/FLT_RADIX.c deleted file mode 100644 index 47978707..00000000 --- a/src/float/FLT_RADIX.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define FLT_RADIX (2) - -/** radix of exponent representation **/ - -/*** -is a constant defining the radix used by the implementation for -exponent notation. It is suitable for use in LITERAL(#if) directives. -***/ - -/* -VALUE_MIN(2) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_RADIX.h b/src/float/FLT_RADIX.h new file mode 100644 index 00000000..47978707 --- /dev/null +++ b/src/float/FLT_RADIX.h @@ -0,0 +1,16 @@ +#include +#define FLT_RADIX (2) + +/** radix of exponent representation **/ + +/*** +is a constant defining the radix used by the implementation for +exponent notation. It is suitable for use in LITERAL(#if) directives. +***/ + +/* +VALUE_MIN(2) +*/ +/* +STDC(1) +*/ diff --git a/src/float/FLT_ROUNDS.c b/src/float/FLT_ROUNDS.c deleted file mode 100644 index 8fefb48e..00000000 --- a/src/float/FLT_ROUNDS.c +++ /dev/null @@ -1,22 +0,0 @@ -#include - extern int fegetround(void); -#define FLT_ROUNDS fegetround() - -/** rounding direction **/ - -/*** -describes the rounding mode of floating-point addition used by the -implementation. It is not necessarily constant. -***/ - -/* -VALUE_SELECT(-1, indeterminable) -VALUE_SELECT(0, toward zero) -VALUE_SELECT(1, to nearest) -VALUE_SELECT(2, toward positive infinity) -VALUE_SELECT(3, toward negative infinity) -SEE_ALSO(FUNCTION(fegetround)) -*/ -/* -STDC(1) -*/ diff --git a/src/float/FLT_ROUNDS.h b/src/float/FLT_ROUNDS.h new file mode 100644 index 00000000..8fefb48e --- /dev/null +++ b/src/float/FLT_ROUNDS.h @@ -0,0 +1,22 @@ +#include + extern int fegetround(void); +#define FLT_ROUNDS fegetround() + +/** rounding direction **/ + +/*** +describes the rounding mode of floating-point addition used by the +implementation. It is not necessarily constant. +***/ + +/* +VALUE_SELECT(-1, indeterminable) +VALUE_SELECT(0, toward zero) +VALUE_SELECT(1, to nearest) +VALUE_SELECT(2, toward positive infinity) +VALUE_SELECT(3, toward negative infinity) +SEE_ALSO(FUNCTION(fegetround)) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_DECIMAL_DIG.c b/src/float/LDBL_DECIMAL_DIG.c deleted file mode 100644 index cc58e752..00000000 --- a/src/float/LDBL_DECIMAL_DIG.c +++ /dev/null @@ -1,6 +0,0 @@ -#define LDBL_DECIMAL_DIG (10) - -/* MIN: 10 */ -/* -STDC(201112) -*/ diff --git a/src/float/LDBL_DECIMAL_DIG.h b/src/float/LDBL_DECIMAL_DIG.h new file mode 100644 index 00000000..cc58e752 --- /dev/null +++ b/src/float/LDBL_DECIMAL_DIG.h @@ -0,0 +1,6 @@ +#define LDBL_DECIMAL_DIG (10) + +/* MIN: 10 */ +/* +STDC(201112) +*/ diff --git a/src/float/LDBL_DIG.c b/src/float/LDBL_DIG.c deleted file mode 100644 index f986ecc2..00000000 --- a/src/float/LDBL_DIG.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define LDBL_DIG (15) - -/** long double significant digits **/ - -/*** -is the number of significant digits in a decimal representation of a -TYPE(long double) that are guaranteed accuracy. -***/ - -/* -VALUE_MIN(10) -*/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_DIG.h b/src/float/LDBL_DIG.h new file mode 100644 index 00000000..f986ecc2 --- /dev/null +++ b/src/float/LDBL_DIG.h @@ -0,0 +1,16 @@ +#include +#define LDBL_DIG (15) + +/** long double significant digits **/ + +/*** +is the number of significant digits in a decimal representation of a +TYPE(long double) that are guaranteed accuracy. +***/ + +/* +VALUE_MIN(10) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_EPSILON.c b/src/float/LDBL_EPSILON.c deleted file mode 100644 index ebc089a4..00000000 --- a/src/float/LDBL_EPSILON.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define LDBL_EPSILON (2.220446E-16) - -/** long double epsilon **/ - -/*** -is the difference between LITERAL(1) and the next smallest number -representable as a TYPE(long double). -***/ - -/* -VALUE_MIN(1e-9) -*/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_EPSILON.h b/src/float/LDBL_EPSILON.h new file mode 100644 index 00000000..ebc089a4 --- /dev/null +++ b/src/float/LDBL_EPSILON.h @@ -0,0 +1,16 @@ +#include +#define LDBL_EPSILON (2.220446E-16) + +/** long double epsilon **/ + +/*** +is the difference between LITERAL(1) and the next smallest number +representable as a TYPE(long double). +***/ + +/* +VALUE_MIN(1e-9) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_HAS_SUBNORM.c b/src/float/LDBL_HAS_SUBNORM.c deleted file mode 100644 index c9384981..00000000 --- a/src/float/LDBL_HAS_SUBNORM.c +++ /dev/null @@ -1,8 +0,0 @@ -#define LDBL_HAS_SUBNORM (-1) - -/* -1: indeterminable */ -/* 0: subnormal numbers not supported */ -/* 1: subnormal numbers are supported */ -/* -STDC(201112) -*/ diff --git a/src/float/LDBL_HAS_SUBNORM.h b/src/float/LDBL_HAS_SUBNORM.h new file mode 100644 index 00000000..c9384981 --- /dev/null +++ b/src/float/LDBL_HAS_SUBNORM.h @@ -0,0 +1,8 @@ +#define LDBL_HAS_SUBNORM (-1) + +/* -1: indeterminable */ +/* 0: subnormal numbers not supported */ +/* 1: subnormal numbers are supported */ +/* +STDC(201112) +*/ diff --git a/src/float/LDBL_MANT_DIG.c b/src/float/LDBL_MANT_DIG.c deleted file mode 100644 index 19c85a9e..00000000 --- a/src/float/LDBL_MANT_DIG.c +++ /dev/null @@ -1,13 +0,0 @@ -#include -#define LDBL_MANT_DIG (53) - -/** long double mantissa **/ - -/*** -is the number of digits, in base-IDENTIFIER(FLT_RADIX), in the -floating-point significand for TYPE(long double) variables. It is not -necessarily a constant value. -***/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MANT_DIG.h b/src/float/LDBL_MANT_DIG.h new file mode 100644 index 00000000..19c85a9e --- /dev/null +++ b/src/float/LDBL_MANT_DIG.h @@ -0,0 +1,13 @@ +#include +#define LDBL_MANT_DIG (53) + +/** long double mantissa **/ + +/*** +is the number of digits, in base-IDENTIFIER(FLT_RADIX), in the +floating-point significand for TYPE(long double) variables. It is not +necessarily a constant value. +***/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_MAX.c b/src/float/LDBL_MAX.c deleted file mode 100644 index 4ca1301a..00000000 --- a/src/float/LDBL_MAX.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define LDBL_MAX (1.797693E+308) - -/** long double maximum value **/ - -/*** -is the maximum representable finite TYPE(long double) value. -***/ - -/* -VALUE_MIN(1e+37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MAX.h b/src/float/LDBL_MAX.h new file mode 100644 index 00000000..4ca1301a --- /dev/null +++ b/src/float/LDBL_MAX.h @@ -0,0 +1,15 @@ +#include +#define LDBL_MAX (1.797693E+308) + +/** long double maximum value **/ + +/*** +is the maximum representable finite TYPE(long double) value. +***/ + +/* +VALUE_MIN(1e+37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_MAX_10_EXP.c b/src/float/LDBL_MAX_10_EXP.c deleted file mode 100644 index 6ff02738..00000000 --- a/src/float/LDBL_MAX_10_EXP.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define LDBL_MAX_10_EXP (308) - -/** long double maximum base-10 exponent **/ - -/*** -is the largest integer for which POW(10, THIS()) is a finite -TYPE(long double). -***/ - -/* -VALUE_MIN(37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MAX_10_EXP.h b/src/float/LDBL_MAX_10_EXP.h new file mode 100644 index 00000000..6ff02738 --- /dev/null +++ b/src/float/LDBL_MAX_10_EXP.h @@ -0,0 +1,16 @@ +#include +#define LDBL_MAX_10_EXP (308) + +/** long double maximum base-10 exponent **/ + +/*** +is the largest integer for which POW(10, THIS()) is a finite +TYPE(long double). +***/ + +/* +VALUE_MIN(37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_MAX_EXP.c b/src/float/LDBL_MAX_EXP.c deleted file mode 100644 index e52d91e5..00000000 --- a/src/float/LDBL_MAX_EXP.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#define LDBL_MAX_EXP (1024) - -/** long double maximum exponent **/ - -/*** -is the largest integer for which -POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a finite TYPE(long double). -***/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MAX_EXP.h b/src/float/LDBL_MAX_EXP.h new file mode 100644 index 00000000..e52d91e5 --- /dev/null +++ b/src/float/LDBL_MAX_EXP.h @@ -0,0 +1,12 @@ +#include +#define LDBL_MAX_EXP (1024) + +/** long double maximum exponent **/ + +/*** +is the largest integer for which +POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a finite TYPE(long double). +***/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_MIN.c b/src/float/LDBL_MIN.c deleted file mode 100644 index 0416fe71..00000000 --- a/src/float/LDBL_MIN.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#define LDBL_MIN (2.225074E-308) - -/** long double minimum positive number **/ - -/*** -is the smallest normalized value of a TYPE(long double). -***/ - -/* -VALUE_MIN(1e-37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MIN.h b/src/float/LDBL_MIN.h new file mode 100644 index 00000000..0416fe71 --- /dev/null +++ b/src/float/LDBL_MIN.h @@ -0,0 +1,15 @@ +#include +#define LDBL_MIN (2.225074E-308) + +/** long double minimum positive number **/ + +/*** +is the smallest normalized value of a TYPE(long double). +***/ + +/* +VALUE_MIN(1e-37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_MIN_10_EXP.c b/src/float/LDBL_MIN_10_EXP.c deleted file mode 100644 index 6876716d..00000000 --- a/src/float/LDBL_MIN_10_EXP.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define LDBL_MIN_10_EXP (-37) - -/** long double minimum base-10 exponent **/ - -/*** -is the smallest negative integer for which POW(10, THIS()) -is a normalized TYPE(long double). -***/ - -/* -VALUE_MIN(-37) -*/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MIN_10_EXP.h b/src/float/LDBL_MIN_10_EXP.h new file mode 100644 index 00000000..6876716d --- /dev/null +++ b/src/float/LDBL_MIN_10_EXP.h @@ -0,0 +1,16 @@ +#include +#define LDBL_MIN_10_EXP (-37) + +/** long double minimum base-10 exponent **/ + +/*** +is the smallest negative integer for which POW(10, THIS()) +is a normalized TYPE(long double). +***/ + +/* +VALUE_MIN(-37) +*/ +/* +STDC(1) +*/ diff --git a/src/float/LDBL_MIN_EXP.c b/src/float/LDBL_MIN_EXP.c deleted file mode 100644 index ea65763e..00000000 --- a/src/float/LDBL_MIN_EXP.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#define LDBL_MIN_EXP (-1021) - -/** long double minimum exponent **/ - -/*** -is the smallest negative integer for which -POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a normalized TYPE(long double). -***/ -/* -STDC(1) -*/ diff --git a/src/float/LDBL_MIN_EXP.h b/src/float/LDBL_MIN_EXP.h new file mode 100644 index 00000000..ea65763e --- /dev/null +++ b/src/float/LDBL_MIN_EXP.h @@ -0,0 +1,12 @@ +#include +#define LDBL_MIN_EXP (-1021) + +/** long double minimum exponent **/ + +/*** +is the smallest negative integer for which +POW(IDENTIFIER(FLT_RADIX), THIS() - 1) is a normalized TYPE(long double). +***/ +/* +STDC(1) +*/ -- cgit v1.2.1