Nearest integer using half's internal rounding mode. \param arg half expression to round \return nearest integer using default rounding mode template typename enable ::type nearbyint(T arg) { return functions::nearbyint(arg); }
| 2588 | /// \return nearest integer using default rounding mode |
| 2589 | // template<typename T> typename enable<half,T>::type nearbyint(T arg) { return functions::nearbyint(arg); } |
| 2590 | inline half nearbyint(half arg) { return functions::rint(arg); } |
| 2591 | inline half nearbyint(expr arg) { return functions::rint(arg); } |
| 2592 | |
| 2593 | /// Nearest integer using half's internal rounding mode. |