summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-14 06:10:01 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-14 06:10:01 +0000
commit4c2e2d8bdefa8cd43adf1e28358353c1ded53049 (patch)
tree223830f7eec30a6ea0b2ba335c17547f3f7c51b7 /internal.h
parent092db4dcf0a6c9b0dc0408d4f29189754a07212e (diff)
* numeric.c: fix flodivmod for cornercases [Bug #6044]
add ruby_float_mod * insns.def (opt_mod): use ruby_float_mod * internal.h: declare ruby_float_mod * test/ruby/test_float.rb: tests for above * test/ruby/envutil.rb: create helper assert_is_minus_zero git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 64a67e194d..e5818429ea 100644
--- a/internal.h
+++ b/internal.h
@@ -136,6 +136,7 @@ void Init_newline(void);
/* numeric.c */
int rb_num_to_uint(VALUE val, unsigned int *ret);
int ruby_float_step(VALUE from, VALUE to, VALUE step, int excl);
+double ruby_float_mod(double x, double y);
/* object.c */
VALUE rb_obj_equal(VALUE obj1, VALUE obj2);