comparison src/number-gmp.h @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents a2912073be85
children
comparison
equal deleted inserted replaced
5935:d5eb0914ca1f 5936:574f0cded429
163 #define ratio_to_double(r) mpq_get_d (r) 163 #define ratio_to_double(r) mpq_get_d (r)
164 164
165 /***** Ratio: converting assignments *****/ 165 /***** Ratio: converting assignments *****/
166 #define ratio_set(r1,r2) mpq_set (r1, r2) 166 #define ratio_set(r1,r2) mpq_set (r1, r2)
167 #define ratio_set_string(r,s,base) mpq_set_str (r, s, base) 167 #define ratio_set_string(r,s,base) mpq_set_str (r, s, base)
168 #define ratio_set_long(r,l) mpq_set_si (r, l, 1UL) 168 #define ratio_set_long(r,l) mpq_set_si (r, l, UE1)
169 #define ratio_set_ulong(r,l) mpq_set_ui (r, l, 1UL) 169 #define ratio_set_ulong(r,l) mpq_set_ui (r, l, UE1)
170 #define ratio_set_double(r,f) mpq_set_d (r, f) 170 #define ratio_set_double(r,f) mpq_set_d (r, f)
171 #define ratio_set_bignum(r,b) mpq_set_z (r, b) 171 #define ratio_set_bignum(r,b) mpq_set_z (r, b)
172 #define ratio_set_bigfloat(r,f) mpq_set_f (r, f) 172 #define ratio_set_bigfloat(r,f) mpq_set_f (r, f)
173 #define ratio_set_long_ulong(r,num,den) do { \ 173 #define ratio_set_long_ulong(r,num,den) do { \
174 mpq_set_si (r, num, den); \ 174 mpq_set_si (r, num, den); \