summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authortakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 06:42:09 +0000
committertakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 06:42:09 +0000
commitc4e79b640b7afd9b9e243b4faaa51b4ab22c474c (patch)
tree8910e0dad843f4953ed7ee26ef0f15ec43f86bce /math.c
parent194d0afa9597a1b3f47056bf15298878f4e86213 (diff)
* 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
Diffstat (limited to 'math.c')
-rw-r--r--math.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math.c b/math.c
index 63a386360a..c7e79c1a80 100644
--- a/math.c
+++ b/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);\