MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / remainder

Function remainder

include/chaiscript/dispatchkit/operators.hpp:210–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209 template<typename T>
210 void remainder(Module& m)
211 {
212 m.add(chaiscript::fun([](const T &lhs, const T &rhs){return lhs%rhs;}), "%");
213 }
214
215 template<typename T>
216 void right_shift(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected