1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

2000-02-17

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-02-17 07:11:22 +00:00
parent 7dd3853eac
commit 96b40dff45
27 changed files with 286 additions and 171 deletions

6
math.c
View file

@ -22,11 +22,11 @@ VALUE rb_mMath;
}
static VALUE
math_atan2(obj, x, y)
math_atan2(obj, y, x)
VALUE obj, x, y;
{
Need_Float2(x, y);
return rb_float_new(atan2(RFLOAT(x)->value, RFLOAT(y)->value));
Need_Float2(y, x);
return rb_float_new(atan2(RFLOAT(y)->value, RFLOAT(x)->value));
}
static VALUE