mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 35013:
* 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/branches/ruby_1_9_3@35176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b81093a7e
commit
9c0d94449b
7 changed files with 51 additions and 30 deletions
|
@ -130,6 +130,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue