Support for Annex F (IEEE-754/IEC 559) of C99/C11 - Support for Annex F (IEEE-754/IEC 559) of C99/C11 - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English

Clang compiler does not support IEC 559 math functionality. Clang does not control and honor the definition of the __STDC_IEC_559__ macro. Under specific options, such as -Ofast and -ffast-math, Clang will enable a range of optimizations that provide faster mathematical operations that may not conform to the IEEE-754 specifications. The __STDC_IEC_559__ macro value may be defined but ignored when these faster optimizations are enabled.