| 255 | #endif /* DOUBLE_DOUBLE and QUAD */ |
| 256 | |
| 257 | static void |
| 258 | BigInt_Set_uint32(BigInt *i, npy_uint32 val) |
| 259 | { |
| 260 | if (val != 0) { |
| 261 | i->blocks[0] = val; |
| 262 | i->length = 1; |
| 263 | } |
| 264 | else { |
| 265 | i->length = 0; |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | /* |
| 270 | * Returns 1 if the value is zero |
no outgoing calls
no test coverage detected