File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2064,7 +2064,7 @@ def test_sqrt_with_huge_limit
20642064 end
20652065 end
20662066
2067- def test_power_with_huge_limit
2067+ def test_power_with_huge_limit
20682068 BigDecimal . save_limit do
20692069 x = BigDecimal ( "12.34" )
20702070 y = BigDecimal ( "56.78" )
Original file line number Diff line number Diff line change @@ -60,9 +60,11 @@ def test_consistent_precision_acceptance
6060 assert_consistent_precision_acceptance ( accept_zero : true ) { |prec | x . mult ( x , prec ) }
6161 assert_consistent_precision_acceptance ( accept_zero : true ) { |prec | x . power ( x , prec ) }
6262 assert_consistent_precision_acceptance ( accept_zero : true ) { |prec | x . sqrt ( prec ) }
63- assert_consistent_precision_acceptance { |prec | BigMath . sqrt ( x , prec ) }
6463 assert_consistent_precision_acceptance { |prec | BigMath . exp ( x , prec ) }
6564 assert_consistent_precision_acceptance { |prec | BigMath . log ( x , prec ) }
65+ assert_consistent_precision_acceptance { |prec | BigMath . sqrt ( x , prec ) }
66+ assert_consistent_precision_acceptance { |prec | BigMath . cbrt ( x , prec ) }
67+ assert_consistent_precision_acceptance { |prec | BigMath . hypot ( x , x + 1 , prec ) }
6668 assert_consistent_precision_acceptance { |prec | BigMath . sin ( x , prec ) }
6769 assert_consistent_precision_acceptance { |prec | BigMath . cos ( x , prec ) }
6870 assert_consistent_precision_acceptance { |prec | BigMath . tan ( x , prec ) }
You can’t perform that action at this time.
0 commit comments