* math.c: SEGV is caused by implicit rb_to_float declaration

test_complexrational.rb: [BUG] at IA-64 architecture


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
takano32 2009-01-28 06:42:09 +00:00
parent 194d0afa95
commit c4e79b640b
2 changed files with 6 additions and 0 deletions

1
math.c
View file

@ -15,6 +15,7 @@
VALUE rb_mMath;
extern VALUE rb_to_float(VALUE val);
#define Need_Float(x) (x) = rb_to_float(x)
#define Need_Float2(x,y) do {\
Need_Float(x);\