mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@15c9619
This commit is contained in:
parent
00c33d9c23
commit
a1b4816759
193 changed files with 3026 additions and 3387 deletions
|
@ -16,13 +16,11 @@ ruby_version_is "2.5" do
|
|||
2.pow(8, 15).should == 1
|
||||
end
|
||||
|
||||
ruby_bug '#13669', '2.5'...'2.5.1' do
|
||||
it "works well with bignums" do
|
||||
2.pow(61, 5843009213693951).should eql 3697379018277258
|
||||
2.pow(62, 5843009213693952).should eql 1551748822859776
|
||||
2.pow(63, 5843009213693953).should eql 3103497645717974
|
||||
2.pow(64, 5843009213693954).should eql 363986077738838
|
||||
end
|
||||
it "works well with bignums" do
|
||||
2.pow(61, 5843009213693951).should eql 3697379018277258
|
||||
2.pow(62, 5843009213693952).should eql 1551748822859776
|
||||
2.pow(63, 5843009213693953).should eql 3103497645717974
|
||||
2.pow(64, 5843009213693954).should eql 363986077738838
|
||||
end
|
||||
|
||||
it "handles sign like #divmod does" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue