Source: https://github.com/github/codeql/blob/main/cpp/ql/src/Likely%20Bugs/Arithmetic/BadCheckOdd.ql