Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

saturating_float_casts

make float->int casts UB-free: numbers outside the integer type’s range are clipped to the max/min integer respectively, and NaN is mapped to 0 (default: yes)

This feature has no tracking issue, and is therefore likely internal to the compiler, not being intended for general use.