another opal hack
in opal 13 / 10 = 1.3 whereas in ruby its 1
This commit is contained in:
parent
c92814440f
commit
daffa0579e
@ -208,6 +208,8 @@ module Interpreter
|
||||
if( result.is_a? Bignum)
|
||||
@flags[:overflow] = true
|
||||
result = result % 2**62
|
||||
else
|
||||
result = result.to_i
|
||||
end
|
||||
log.debug "#{@instruction} == #{result}(#{result.class}) (#{left}|#{right})"
|
||||
right = set_register(@instruction.left , result)
|
||||
|
Loading…
Reference in New Issue
Block a user