MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / floor

Function floor

samples/common/half.h:3499–3502  ·  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

3497/// \return nearest integer not greater than \a arg
3498// template<typename T> typename enable<half,T>::type floor(T arg) { return functions::floor(arg); }
3499inline half floor(half arg)
3500{
3501 return functions::floor(arg);
3502}
3503inline half floor(expr arg)
3504{
3505 return functions::floor(arg);

Callers 5

writePPMFileWithBBoxFunction · 0.70
verifyOutputMethod · 0.50
verifyOutputMethod · 0.50
validateOutputMethod · 0.50
verifyOutputMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected