Mercurial > hg > xemacs-beta
diff src/number-gmp.h @ 2551:9f70af3ac939
[xemacs-hg @ 2005-02-03 16:14:02 by james]
Commit Olivier Galibert's dumper updates for bignums and use them.
See xemacs-patches message with ID <ps8y685c6p.fsf@diannao.ittc.ku.edu>.
author | james |
---|---|
date | Thu, 03 Feb 2005 16:14:08 +0000 |
parents | 04bc9d2f42c7 |
children | ee35a8fdcfcd |
line wrap: on
line diff
--- a/src/number-gmp.h Thu Feb 03 07:30:22 2005 +0000 +++ b/src/number-gmp.h Thu Feb 03 16:14:08 2005 +0000 @@ -152,6 +152,7 @@ #define ratio_set_bigfloat(r,f) mpq_set_f (r, f) #define ratio_set_long_ulong(r,num,den) mpq_set_si (r, num, den) #define ratio_set_ulong_ulong(r,num,den) mpq_set_ui (r, num, den) +/* FIXME: Why does this canonicalize, but the previous 2 don't? */ #define ratio_set_bignum_bignum(r,num,den) do { \ mpz_set (mpq_numref (r), num); \ mpz_set (mpq_denref (r), den); \