1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

vm_insnhelper.c: USE_FLONUM is always defined

This changeset should fix the 32bit failures.
See also: https://travis-ci.org/ruby/ruby/jobs/472855470


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2018-12-28 03:42:11 +00:00
parent da8830e3de
commit 91dfdf840b

View file

@ -1406,7 +1406,7 @@ FIXNUM_2_P(VALUE a, VALUE b)
static bool static bool
FLONUM_2_P(VALUE a, VALUE b) FLONUM_2_P(VALUE a, VALUE b)
{ {
#ifdef USE_FLONUM #if USE_FLONUM
/* FLONUM_P(a) && FLONUM_P(b) /* FLONUM_P(a) && FLONUM_P(b)
* == ((a & 3) == 2) && ((b & 3) == 2) * == ((a & 3) == 2) && ((b & 3) == 2)
* == ! ((a ^ 2) | (b ^ 2) & 3) * == ! ((a ^ 2) | (b ^ 2) & 3)