MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenUSD / abs

Function abs

pxr/external/boost/python/test/operators.cpp:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55bool operator<(int x, X const& y) { return x < y.value(); }
56
57X abs(X x) { return X(x.value() < 0 ? -x.value() : x.value()); }
58
59X pow(X x, int y)
60{

Callers 15

_convertRetCodeFunction · 0.85
CheckMassAPIFunction · 0.85
filter_mask2Function · 0.85
filter_maskFunction · 0.85
filter_mask3_chromaFunction · 0.85
flat_mask3_chromaFunction · 0.85
flat_mask4Function · 0.85
hev_maskFunction · 0.85
highbd_filter_mask2Function · 0.85
highbd_filter_maskFunction · 0.85
highbd_flat_mask3_chromaFunction · 0.85

Calls 2

XClass · 0.70
valueMethod · 0.45

Tested by

no test coverage detected