conform: add ISO23 data for float.h
Checks
| Context |
Check |
Description |
| redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
| redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
---
conform/data/float.h-data | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
@@ -30,6 +30,12 @@ macro-constant FLT_MAX >= 1.0E37
macro-constant DBL_MAX >= 1.0E37
macro-constant LDBL_MAX >= 1.0E37
+#if defined ISO23
+macro-constant FLT_NORM_MAX >= 1.0E37
+macro-constant DBL_NORM_MAX >= 1.0E37
+macro-constant LDBL_NORM_MAX >= 1.0E37
+#endif
+
macro-constant FLT_EPSILON <= 1.0E-5
macro-constant DBL_EPSILON <= 1.0E-9
macro-constant LDBL_EPSILON <= 1.0E-9
@@ -57,6 +63,28 @@ macro-constant FLT_TRUE_MIN <= 1E-37
macro-constant LDBL_TRUE_MIN <= 1E-37
#endif
+#if defined ISO23
+macro-int-constant FLT_IS_IEC_60559
+macro-int-constant DBL_IS_IEC_60559
+macro-int-constant LDBL_IS_IEC_60559
+
+macro-constant NAN
+macro-constant INFINITY
+
+macro-constant FLT_SNAN
+macro-constant DBL_SNAN
+macro-constant LDBL_SNAN
+
+allow DEC32_*
+allow DEC64_*
+allow DEC128_*
+
+allow DEC_NAN
+allow DEC_INFINITY
+allow DEC_EVAL_METHOD
+
+#endif
+
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
allow *_t
#endif