From 00b8b11858785439785c0f6805ea4b6910070020 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Mon, 12 Nov 2018 03:26:39 +0000 Subject: 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 --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') 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))) -- cgit v1.2.3