Nearest integer. \param arg half to round \return nearest integer, rounded away from zero in half-way cases template typename enable ::type lround(T arg) { return functions::lround(arg); }
| 2497 | /// \return nearest integer, rounded away from zero in half-way cases |
| 2498 | // template<typename T> typename enable<long,T>::type lround(T arg) { return functions::lround(arg); } |
| 2499 | MEGDNN_HOST MEGDNN_DEVICE inline long lround(half arg) { return functions::lround(arg); } |
| 2500 | MEGDNN_HOST MEGDNN_DEVICE inline long lround(expr arg) { return functions::lround(arg); } |
| 2501 | |
| 2502 | /// Nearest integer using half's internal rounding mode. |