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

Function nearbyint

extern/half/include/half.hpp:2590–2590  ·  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 nearbyint(T arg) { return functions::nearbyint(arg); }

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

rintFunction · 0.85

Tested by

no test coverage detected