Nearest integer not greater than half value. See also:** Documentation for [std::floor](https://en.cppreference.com/w/cpp/numeric/math/floor). \param arg half to round \return nearest integer not greater than \a arg \exception FE_INVALID for signaling NaN \exception FE_INEXACT if value had to be rounded
| 4077 | /// \exception FE_INVALID for signaling NaN |
| 4078 | /// \exception FE_INEXACT if value had to be rounded |
| 4079 | inline half floor(half arg) { return half(detail::binary, detail::integral<std::round_toward_neg_infinity,true,true>(arg.data_)); } |
| 4080 | |
| 4081 | /// Nearest integer not greater in magnitude than half value. |
| 4082 | /// **See also:** Documentation for [std::trunc](https://en.cppreference.com/w/cpp/numeric/math/trunc). |