Skip to content

Commit 3abe5e7

Browse files
committed
chore(docs): add release notes for the macros and bfloat literal suffix
1 parent 2c62638 commit 3abe5e7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,26 @@ DWARF Support in Clang
459459

460460
Floating Point Support in Clang
461461
-------------------------------
462+
- Added 15 ``__BFLT16_`` macros to indicate support of ``__bf16`` type. The new macros are:
463+
464+
+ ``__BFLT16_DECIMAL_DIG__``
465+
+ ``__BFLT16_DENORM_MIN__``
466+
+ ``__BFLT16_DIG__``
467+
+ ``__BFLT16_EPSILON__``
468+
+ ``__BFLT16_HAS_DENORM__``
469+
+ ``__BFLT16_HAS_INFINITY__``
470+
+ ``__BFLT16_HAS_QUIET_NAN__``
471+
+ ``__BFLT16_MANT_DIG__``
472+
+ ``__BFLT16_MAX_10_EXP__``
473+
+ ``__BFLT16_MAX_EXP__``
474+
+ ``__BFLT16_MAX__``
475+
+ ``__BFLT16_MIN_10_EXP__``
476+
+ ``__BFLT16_MIN_EXP__``
477+
+ ``__BFLT16_MIN__``
478+
+ ``__BFLT16_NORM_MAX__``
479+
480+
- Added brain float literal suffix (``1.0bf16`` and ``1.0BF16``).
481+
462482

463483
Fixed Point Support in Clang
464484
----------------------------

0 commit comments

Comments
 (0)