diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-12 03:26:39 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-12 03:26:39 +0000 |
commit | 00b8b11858785439785c0f6805ea4b6910070020 (patch) | |
tree | 2bdd01ea10b74ce28396a3caa0b69f1ede365ac4 /internal.h | |
parent | 21e1260fb94f7d339ee60eedbba1975113ade7f1 (diff) |
vm_insnhelper.c: avoid division by zero
same as r65642.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 1a030566d3..d36723b273 100644 --- a/internal.h +++ b/internal.h @@ -1755,6 +1755,7 @@ rb_num_negative_int_p(VALUE num) VALUE rb_float_abs(VALUE flt); VALUE rb_float_equal(VALUE x, VALUE y); VALUE rb_float_eql(VALUE x, VALUE y); +VALUE rb_flo_div_flo(VALUE x, VALUE y); #if USE_FLONUM #define RUBY_BIT_ROTL(v, n) (((v) << (n)) | ((v) >> ((sizeof(v) * 8) - n))) |