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

Function fabs

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

Absolute value. \param arg operand \return absolute value of \a arg template typename enable ::type fabs(T arg) { return unary_specialized ::fabs(arg); }

Source from the content-addressed store, hash-verified

2237 /// \return absolute value of \a arg
2238// template<typename T> typename enable<T,T>::type fabs(T arg) { return unary_specialized<T>::fabs(arg); }
2239 inline half fabs(half arg) { return unary_specialized<half>::fabs(arg); }
2240 inline expr fabs(expr arg) { return unary_specialized<expr>::fabs(arg); }
2241
2242 /// Remainder of division.

Callers 15

remainderMethod · 0.85
remquoMethod · 0.85
fabsMethod · 0.85
absFunction · 0.85
transformCoordinatesTestFunction · 0.85
TESTFunction · 0.85
homographyTestFunction · 0.85
TESTFunction · 0.85
glohTestFunction · 0.85
TESTFunction · 0.85
harrisTestFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected