Skip to content

Commit fde6d18

Browse files
committed
Avoid calculating large powers
... for slow CI machines like macOS.
1 parent c348a4f commit fde6d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ruby/test_integer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ def test_pow
6262
<<~EXPRS.each_line.with_index(__LINE__+1) do |expr, line|
6363
crash01: 111r+11**-11111161111111
6464
crash02: 1118111111111**-1111111111111111**1+1==11111
65-
crash03: -1111111**-1111*11 - -11** -11111111
65+
crash03: -1111111**-1111*11 - -11** -1111111
6666
crash04: 1118111111111** -1111111111111111**1+11111111111**1 ===111
6767
crash05: 11** -111155555555555555 -55 !=5-555
6868
crash07: 1 + 111111111**-1111811111
6969
crash08: 18111111111**-1111111111111111**1 + 1111111111**-1111**1
7070
crash10: -7 - -1111111** -1111**11
7171
crash12: 1118111111111** -1111111111111111**1 + 1111 - -1111111** -1111*111111111119
72-
crash13: 1.0i - -11** -11111111
72+
crash13: 1.0i - -11** -1111111
7373
crash14: 11111**111111111**111111 * -11111111111111111111**-111111111111
7474
crash15: ~1**1111 + -~1**~1**111
7575
crash17: 11** -1111111**1111 /11i

0 commit comments

Comments
 (0)