diff options
author | tege <tege@gmplib.org> | 1996-08-27 03:52:00 +0200 |
---|---|---|
committer | tege <tege@gmplib.org> | 1996-08-27 03:52:00 +0200 |
commit | bef1dc6484c1a01c58f43db53da326596e7458aa (patch) | |
tree | f8af8f13eb807360195f6f32aa5fef3ee53185b6 /gmp-impl.h | |
parent | 1184aa13cfaf6983fba11b0e3c9467fb9ab10fc0 (diff) | |
download | gmp-bef1dc6484c1a01c58f43db53da326596e7458aa.tar.gz |
(DIVIDE_BY_ZERO): New #define.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index 62caa5c11..8dad1f585 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -169,7 +169,7 @@ void _mp_default_free (); if ((size) < KARATSUBA_THRESHOLD) \ impn_mul_n_basecase (prodp, up, vp, size); \ else \ - impn_mul_n (prodp, up, vp, size, tspace); \ + impn_mul_n (prodp, up, vp, size, tspace); \ } while (0); #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ do { \ @@ -364,3 +364,7 @@ union ieee_double_extract double __gmp_scale2 _PROTO ((double, int)); int __gmp_extract_double _PROTO((mp_ptr, double)); + +extern int __gmp_junk; +extern int __gmp_0; +#define DIVIDE_BY_ZERO (__gmp_junk = 10/__gmp_0) |