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

Function round

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

Nearest integer. \param arg half to round \return nearest integer, rounded away from zero in half-way cases template typename enable ::type round(T arg) { return functions::round(arg); }

Source from the content-addressed store, hash-verified

2574 /// \return nearest integer, rounded away from zero in half-way cases
2575// template<typename T> typename enable<half,T>::type round(T arg) { return functions::round(arg); }
2576 inline half round(half arg) { return functions::round(arg); }
2577 inline half round(expr arg) { return functions::round(arg); }
2578
2579 /// Nearest integer.

Callers 15

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
randgenFunction · 0.85
TESTFunction · 0.85
feat_cmpFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
feat_cmpFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected