[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: divisibility tests
From: |
Kevin Ryde |
Subject: |
Re: divisibility tests |
Date: |
Thu, 14 Nov 2002 06:06:59 +1000 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu) |
Jason Moxham <address@hidden> writes:
>
> mpz_divisible is testing that one number is divisible by another , not doing
> any division , so it should not have a DIVIDE_BY_ZERO error.
I took the view that it corresponded to "mpz_fdiv_ui(a,d)==0" and
therefore d==0 should be disallowed. It didn't seem like a
particularly sensible input either.