MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / fabs

Method fabs

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

Absolute value implementation. \param arg function argument \return absolute value

Source from the content-addressed store, hash-verified

1990 /// \param arg function argument
1991 /// \return absolute value
1992 static half fabs(half arg) { return half(binary, arg.data_&0x7FFF); }
1993 };
1994 template<> struct unary_specialized<expr>
1995 {

Callers 1

is_close_toMethod · 0.45

Calls 1

halfClass · 0.85

Tested by

no test coverage detected