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

Function floor

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

Nearest integer not greater than half value. \param arg half to round \return nearest integer not greater than \a arg template typename enable ::type floor(T arg) { return functions::floor(arg); }

Source from the content-addressed store, hash-verified

2560 /// \return nearest integer not greater than \a arg
2561// template<typename T> typename enable<half,T>::type floor(T arg) { return functions::floor(arg); }
2562 inline half floor(half arg) { return functions::floor(arg); }
2563 inline half floor(expr arg) { return functions::floor(arg); }
2564
2565 /// Nearest integer not greater in magnitude than half value.

Callers 15

TESTFunction · 0.85
makeSparseFunction · 0.85
makeSparse<cfloat>Function · 0.85
makeSparse<cdouble>Function · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
makeSparseFunction · 0.85
makeSparse<cfloat>Function · 0.85
makeSparse<cdouble>Function · 0.85
transformTestFunction · 0.85
makeSparseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected