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

Function modf

samples/common/half.h:3652–3655  ·  view source on GitHub ↗

Extract integer and fractional parts. \param arg number to decompress \param iptr address to store integer part at \return fractional part template typename enable ::type modf(T arg, half *iptr) { return functions::modf(arg, iptr); }

Source from the content-addressed store, hash-verified

3650// template<typename T> typename enable<half,T>::type modf(T arg, half *iptr) { return functions::modf(arg, iptr);
3651//}
3652inline half modf(half arg, half* iptr)
3653{
3654 return functions::modf(arg, iptr);
3655}
3656inline half modf(expr arg, half* iptr)
3657{
3658 return functions::modf(arg, iptr);

Callers 3

float2half_implFunction · 0.70
lgammaMethod · 0.70
tgammaMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected