Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/bigdecimal/test_bigdecimal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ def test_sqrt_with_huge_limit
end
end

def test_power_with_huge_limit
def test_power_with_huge_limit
BigDecimal.save_limit do
x = BigDecimal("12.34")
y = BigDecimal("56.78")
Expand Down
4 changes: 3 additions & 1 deletion test/bigdecimal/test_bigmath.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ def test_consistent_precision_acceptance
assert_consistent_precision_acceptance(accept_zero: true) {|prec| x.mult(x, prec) }
assert_consistent_precision_acceptance(accept_zero: true) {|prec| x.power(x, prec) }
assert_consistent_precision_acceptance(accept_zero: true) {|prec| x.sqrt(prec) }
assert_consistent_precision_acceptance {|prec| BigMath.sqrt(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.exp(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.log(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.sqrt(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.cbrt(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.hypot(x, x + 1, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.sin(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.cos(x, prec) }
assert_consistent_precision_acceptance {|prec| BigMath.tan(x, prec) }
Expand Down