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

Method mod

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

Source from the content-addressed store, hash-verified

33 static inline CppInt32__ mul(CppInt32__ a,CppInt32__ b) { return CppInt32__( a.mValue * b.mValue ); }
34 static inline CppInt32__ div(CppInt32__ a,CppInt32__ b) { return CppInt32__( a.mValue / b.mValue ); }
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) ); }

Callers

nothing calls this directly

Calls 1

CppInt32__Class · 0.70

Tested by

no test coverage detected