summaryrefslogtreecommitdiff
path: root/spec/ruby/core/integer/shared/exponent.rb
AgeCommit message (Collapse)Author
2024-11-08Do not round `a**b` to infinityYusuke Endoh
... instead, just calculate the value unless it is too big. Also, this change raises an ArgumentError if it is expected to exceed 16 GB in a 64-bit environment. (It is possible to calculate it straightforward, but it would likely be out-of-memory, so I didn't think it would make sense.) [Feature #20811] Notes: Merged: https://github.com/ruby/ruby/pull/12033
2022-01-28Update to ruby/spec@902ab83Benoit Daloze
2020-12-27Update to ruby/spec@4ce9f41Benoit Daloze
2019-07-27Update to ruby/spec@875a09eBenoit Daloze
2018-01-29Update to ruby/spec@83063a3eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e