[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP code committed -- watch for bugs ... gcd n 0
From: |
Kevin Ryde |
Subject: |
Re: GMP code committed -- watch for bugs ... gcd n 0 |
Date: |
Sat, 10 May 2003 10:22:27 +1000 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) |
I wrote:
>
> A small one in (gcd n 0)
I applied the changes I posted
* numbers.c (scm_gcd): In bignum/inum, don't pass yy==0 to mpz_gcd_ui
since we're only using the ulong return value, and x might not fit.
* tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
fitting a ulong.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: GMP code committed -- watch for bugs ... gcd n 0,
Kevin Ryde <=