Skip to content

Commit 261f4d2

Browse files
eregonandrykonchin
authored andcommitted
[GR-18163] Untag passing Float#round spec
1 parent 969a7cc commit 261f4d2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

spec/tags/core/float/round_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/ruby/truffleruby/core/truffle/float_operations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Truffle
1212
module FloatOperations
1313
class << self
1414
def round_overflow?(ndigits, exponent)
15-
ndigits >= Float::DIG + 2 - (exponent > 0 ? exponent/4 : exponent/3 - 1)
15+
ndigits >= Float::DIG + 2 - (exponent > 0 ? exponent / 4 : exponent / 3 - 1)
1616
end
1717

1818
def round_underflow?(ndigits, exponent)

0 commit comments

Comments
 (0)