aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bignum.c b/bignum.c
index c0847e620d..bf234dba6a 100644
--- a/bignum.c
+++ b/bignum.c
@@ -6691,6 +6691,12 @@ rb_big_abs(VALUE x)
return x;
}
+int
+rb_big_sign(VALUE x)
+{
+ return BIGNUM_SIGN(x);
+}
+
size_t
rb_big_size(VALUE big)
{