MCPcopy Create free account
hub / github.com/VCVRack/Rack / isEven

Function isEven

include/math.hpp:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17/** Returns true if `x` is odd. */
18template <typename T>
19bool isEven(T x) {
20 return x % 2 == 0;
21}
22
23/** Returns true if `x` is odd. */
24template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected