MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / ABS

Function ABS

jni/stasm/misc.h:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142template <typename T> T ABS(const T x) // define ABS(x)
143{
144 // portable across compilers unlike "abs"
145 return x < 0? -x: x;
146}
147
148template <typename T> T Clamp(const T& x, const T& min, const T& max)
149{

Callers 13

ApplyShapeModelHacksFunction · 0.85
WhiskerStepFunction · 0.85
SumAbsElemsFunction · 0.85
EqualFunction · 0.85
MouthRectShiftFunction · 0.85
TraceEyeMouthImgFunction · 0.85
PinnedStartShapeAndRoiFunction · 0.85
stasm_search_auto_extFunction · 0.85
stasm_search_pinnedFunction · 0.85
GetPrintMatFormatFunction · 0.85
ShapeWidthFunction · 0.85
ShapeHeightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected