summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/numeric.c b/numeric.c
index 29fb9f83f2..4c8bacdaf6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1951,10 +1951,6 @@ fix_to_s(argc, argv, x)
if (argc == 0) base = 10;
else base = NUM2INT(b);
- if (base == 2) {
- /* rb_fix2str() does not handle binary */
- return rb_big2str(rb_int2big(FIX2LONG(x)), 2);
- }
return rb_fix2str(x, base);
}