| 269 | } |
| 270 | |
| 271 | void Int::SetInt64(uint64_t value) { |
| 272 | char my_str_value[U64STRINGSIZE]; // 30 digits + null terminator |
| 273 | snprintf(my_str_value, U64STRINGSIZE, "%lu", value); |
| 274 | mpz_set_str(num,my_str_value,0); |
| 275 | } |
| 276 | |
| 277 | void Int::SetInt32(const uint32_t value) { |
| 278 | mpz_set_ui(num,value); |
no outgoing calls
no test coverage detected