MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / abs

Function abs

edrav2/eprj/boost/libs/python/test/operators.cpp:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51bool operator<(int x, X const& y) { return x < y.value(); }
52
53X abs(X x) { return X(x.value() < 0 ? -x.value() : x.value()); }
54
55X pow(X x, int y)
56{

Callers 2

BOOST_PYTHON_MODULEFunction · 0.70
test_precisionFunction · 0.50

Calls 2

XClass · 0.70
valueMethod · 0.45

Tested by

no test coverage detected