mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
194d0afa95
commit
c4e79b640b
2 changed files with 6 additions and 0 deletions
1
math.c
1
math.c
|
@ -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);\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue