Files
cppdraft_translate/cppdraft/depr/c/macros.md
2025-10-25 03:02:53 +03:00

1.5 KiB

[depr.c.macros]

Annex D (normative) Compatibility features [depr]

D.11 Deprecated C macros [depr.c.macros]

1

#

The header has the following macros:#define FLT_HAS_SUBNORM see below#define DBL_HAS_SUBNORM see below#define LDBL_HAS_SUBNORM see below#define DECIMAL_DIG see below

The header defines these macros the same as the C standard library header <float.h>.

See also: ISO/IEC 9899:2024, 5.2.4.2.2, 7.33.5

2

#

In addition to being available via inclusion of the header, the macros INFINITY and NAN are available when is included.

See also: ISO/IEC 9899:2024, 7.12

3

#

The header <stdbool.h> has the following macro:#define __bool_true_false_are_defined 1

See also: ISO/IEC 9899:2024, 7.19