summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-12-08 14:17:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commit00e36aa09f54925c2f9c30524b48f4f54a9adb23 (patch)
tree57bf15576109b53406796c66b29d5e11d9fd99c0 /numeric.c
parent4dfd93c72a9a221c5575c5888483f2fb55c82117 (diff)
version 0.60v0_60
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02) * 0.60 released - alpha test baseline.
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/numeric.c b/numeric.c
index 2c9ed8bc59..97037b8c99 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3,7 +3,7 @@
numeric.c -
$Author: matz $
- $Date: 1994/11/01 08:28:06 $
+ $Date: 1994/12/06 09:30:05 $
created at: Fri Aug 13 18:33:09 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
@@ -22,7 +22,6 @@ VALUE C_Float;
VALUE C_Integer;
VALUE C_Fixnum;
-extern VALUE C_Range;
double big2dbl();
VALUE
@@ -64,7 +63,7 @@ Fnum_dot2(left, right)
{
Need_Fixnum(left);
Need_Fixnum(right);
- return range_new(C_Range, left, right);
+ return range_new(left, right);
}
static VALUE
@@ -768,7 +767,7 @@ Ffix_dot2(left, right)
VALUE left, right;
{
Need_Fixnum(right);
- return range_new(C_Range, left, right);
+ return range_new(left, right);
}
static VALUE
@@ -885,7 +884,8 @@ Ffix_class(fix)
return C_Fixnum;
}
-static Ffix_abs(fix)
+static
+Ffix_abs(fix)
VALUE fix;
{
int i = FIX2INT(fix);