summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
authorKenta Murata <mrkn@mrkn.jp>2020-01-17 09:55:50 +0900
committerKenta Murata <mrkn@mrkn.jp>2020-01-17 10:06:58 +0900
commit07ce51c5aaf25a5a184a35074a40138256a0c099 (patch)
treea04d47225aad8c7b25af42e48b45acd1633d9762 /rational.c
parentfbc00c2d863f6cdeb65203e798b08157997cf786 (diff)
internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN}
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rational.c b/rational.c
index 0f98416..f483c6d 100644
--- a/rational.c
+++ b/rational.c
@@ -37,7 +37,6 @@
#define GMP_GCD_DIGITS 1
-#define INT_POSITIVE_P(x) (FIXNUM_P(x) ? FIXNUM_POSITIVE_P(x) : BIGNUM_POSITIVE_P(x))
#define INT_ZERO_P(x) (FIXNUM_P(x) ? FIXNUM_ZERO_P(x) : rb_bigzero_p(x))
VALUE rb_cRational;