* Returns 1 if the value is even */
| 279 | * Returns 1 if the value is even |
| 280 | */ |
| 281 | static int |
| 282 | BigInt_IsEven(const BigInt *i) |
| 283 | { |
| 284 | return (i->length == 0) || ( (i->blocks[0] % 2) == 0); |
| 285 | } |
| 286 | |
| 287 | /* |
| 288 | * Returns 0 if (lhs = rhs), negative if (lhs < rhs), positive if (lhs > rhs) |