| 18 | } |
| 19 | |
| 20 | void Int::ModAdd(Int *a) { |
| 21 | mpz_t p; |
| 22 | mpz_add(num,num,a->num); |
| 23 | mpz_init_set(p,num); |
| 24 | mpz_sub(p,p,_P.num); |
| 25 | if(mpz_cmp_ui(p,0) >= 0) |
| 26 | mpz_set(num,p); |
| 27 | mpz_clear(p); |
| 28 | } |
| 29 | |
| 30 | |
| 31 | void Int::ModAdd(uint32_t a) { |
no outgoing calls
no test coverage detected