<fenv.h> — floating-point environment
The <fenv.h> header exposes floating-point exception flags and control modes. It lets programs inspect exceptional conditions, change rounding, and save and restore a thread’s environment.
CKTIS / C
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
The <fenv.h> header exposes floating-point exception flags and control modes. It lets programs inspect exceptional conditions, change rounding, and save and restore a thread’s environment.
The <float.h> header describes the precision, range, and properties of float, double, and long double. Use its macros instead of assuming a hardware format; selecting a C23 compiler flag alone does not attest library support or the production runtime.
The <inttypes.h> header includes <stdint.h> and supplies PRI and SCN macros matched to integer types. They let you print and scan integers without guessing the appropriate length modifier.
The <iso646.h> header defines eleven macros replacing C operators. It changes their spelling, not their behavior.
The <limits.h> header exposes implementation-specific integer limits as macros, supporting portable range checks.
The <locale.h> header provides locale selection and information about formatting numbers and monetary amounts.
C's mathematics header: functions, number classification, special values, and error reporting.
The <setjmp.h> header saves a return point and resumes it from a nested call. It requires strict control over lifetimes and resources.
The <signal.h> header provides signal, raise, and sig_atomic_t. It supports signal handling, whose handlers require special care.
In C23, <stdalign.h> provides no content. alignas and alignof are language keywords available without including this header.
The <stdarg.h> header provides va_list and macros for reading unnamed arguments of functions with ... and copying traversal state.
The header for atomic operations on data shared between threads; provides flags and macros describing the lock-free property.
The C23 header <stdbit.h> provides bit operations and macros describing the execution environment's byte order.
In C23, bool, true, and false belong to the language. The <stdbool.h> header remains available but is not needed to use them.
The C23 header <stdckdint.h> provides addition, subtraction, and multiplication that detect results outside the destination type's range.
The <stddef.h> header supplies common types and macros. Include it directly wherever you use them.
The <stdint.h> header provides integer types with specified widths and macros for their limits and constants.
The stdio.h header provides types, macros, and function declarations for standard input and output in C.
The <stdlib.h> header exposes C library utilities and the RAND_MAX and MB_CUR_MAX macros.
The <stdnoreturn.h> header defines noreturn as _Noreturn. It is obsolescent in C23; new code can use [[noreturn]] without this header.
The <string.h> header provides operations on null-terminated strings and blocks of memory.
The <tgmath.h> header provides macros that select mathematical functions from argument types.
The <threads.h> header provides threads, synchronization, and thread-specific data. Check availability in your implementation.
The <time.h> header provides date and time types and functions. Distinguish processor time from calendar time.