| 116 | } |
| 117 | |
| 118 | bool IsDivisible(OsiArgumentDesc & args) |
| 119 | { |
| 120 | auto n = args[0].Int32; |
| 121 | auto d = args[1].Int32; |
| 122 | |
| 123 | if (d != 0 && n%d == 0) { |
| 124 | args[2].Int32 = 1; |
| 125 | } else { |
| 126 | args[2].Int32 = 0; |
| 127 | } |
| 128 | |
| 129 | return true; |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | #define MATH_QUERY1(funcName) { \ |
nothing calls this directly
no outgoing calls
no test coverage detected