thestinger/rust-gmp — pull request #18 by wizeman (2014-11-11 02:33:58+00:00)
Title: Fix Mpz::rem() division by zero check

Also fix tests to catch this type of bug.

Unfortunately, I can't fix Mpf's division by zero test because AFAICS
there's currently no way to create Mpf values other than zero.