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

Function hypot

samples/common/half.h:3195–3198  ·  view source on GitHub ↗

Hypotenuse function. \param x first argument \param y second argument \return square root of sum of squares without internal over- or underflows template typename enable ::type hypot(T x, U y) { return functions::hypot(x, y); }

Source from the content-addressed store, hash-verified

3193// template<typename T,typename U> typename enable<expr,T,U>::type hypot(T x, U y) { return functions::hypot(x, y);
3194//}
3195inline expr hypot(half x, half y)
3196{
3197 return functions::hypot(x, y);
3198}
3199inline expr hypot(half x, expr y)
3200{
3201 return functions::hypot(x, y);

Callers 1

hypotMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected