MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / shr

Method shr

include/cpp/CppInt32__.h:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 static inline CppInt32__ mod(CppInt32__ a,CppInt32__ b) { return CppInt32__( a.mValue % b.mValue ); }
36 static inline CppInt32__ shl(CppInt32__ a,int b) { return CppInt32__( a.mValue << (b&31) ); }
37 static inline CppInt32__ shr(CppInt32__ a,int b) { return CppInt32__( a.mValue >> (b&31) ); }
38 static inline CppInt32__ ushr(CppInt32__ a,int b) { return CppInt32__( ((unsigned int)a.mValue) >> (b&31) ); }
39 static inline CppInt32__ _and(CppInt32__ a,CppInt32__ b) { return CppInt32__( a.mValue & b.mValue ); }
40 static inline CppInt32__ _or(CppInt32__ a,CppInt32__ b) { return CppInt32__( a.mValue | b.mValue ); }

Callers

nothing calls this directly

Calls 1

CppInt32__Class · 0.70

Tested by

no test coverage detected