MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / rint

Function rint

extern/half/include/half.hpp:2597–2597  ·  view source on GitHub ↗

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 rint(T arg) { return functions::rint(arg); }

Source from the content-addressed store, hash-verified

2595 /// \return nearest integer using default rounding mode
2596// template<typename T> typename enable<half,T>::type rint(T arg) { return functions::rint(arg); }
2597 inline half rint(half arg) { return functions::rint(arg); }
2598 inline half rint(expr arg) { return functions::rint(arg); }
2599
2600 /// Nearest integer using half's internal rounding mode.

Callers 2

nearbyintFunction · 0.85
BINARY_TESTS_NEARFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected