Branch: Tag:

2016-04-09

2016-04-09 16:47:42 by Martin Nilsson <nilsson@fastmail.com>

unsigned INT64 -> UINT64

59:   #else    INT_TYPE i = s->u.integer;    int neg = i < 0; -  unsigned INT64 bits = (unsigned INT64) (neg ? -i : i); +  UINT64 bits = (UINT64) (neg ? -i : i);       mpz_import(dest, 1, 1, SIZEOF_INT64, 0, 0, &bits);    if (neg) mpz_neg(dest, dest);
164:   #else    {    int neg = i < 0; -  unsigned INT64 bits = (unsigned INT64) (neg ? -i : i); +  UINT64 bits = (UINT64) (neg ? -i : i);       mpz_import (mpz, 1, 1, SIZEOF_INT64, 0, 0, &bits);    if (neg) mpz_neg (mpz, mpz);