Nearest integer not less than half value. See also:** Documentation for [std::ceil](https://en.cppreference.com/w/cpp/numeric/math/ceil). \param arg half to round \return nearest integer not less than \a arg \exception FE_INVALID for signaling NaN \exception FE_INEXACT if value had to be rounded
| 4069 | /// \exception FE_INVALID for signaling NaN |
| 4070 | /// \exception FE_INEXACT if value had to be rounded |
| 4071 | inline half ceil(half arg) { return half(detail::binary, detail::integral<std::round_toward_infinity,true,true>(arg.data_)); } |
| 4072 | |
| 4073 | /// Nearest integer not greater than half value. |
| 4074 | /// **See also:** Documentation for [std::floor](https://en.cppreference.com/w/cpp/numeric/math/floor). |