Skip to content

Commit

Permalink
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion spec/truffle/tags/core/numeric/div_tags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion truffle/src/main/ruby/core/numeric.rb
Original file line number Diff line number Diff line change
@@ -250,7 +250,7 @@ def redo_compare(meth, right)

def div(other)
raise ZeroDivisionError, "divided by 0" if other == 0
self.__slash__(other).floor
(self / other).floor
end

def fdiv(other)

0 comments on commit 176c446

Please sign in to comment.