aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/numeric
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@96d1072Benoit Daloze2023-09-041-1/+1
|
* Update to ruby/spec@30e1c35Benoit Daloze2023-06-266-102/+8
|
* Update to ruby/spec@e7dc804Benoit Daloze2023-02-271-0/+1
|
* [Bug #19335] `Integer#remainder` should respect `#coerce` (#7120)Nobuyoshi Nakada2023-01-151-0/+3
| | | Also `Numeric#remainder` should.
* Update to ruby/spec@902ab83Benoit Daloze2022-01-281-1/+1
|
* Update to ruby/spec@226cfdcBenoit Daloze2022-01-102-3/+0
|
* Update to ruby/spec@7f22a0bBenoit Daloze2021-11-292-0/+16
|
* Update to ruby/spec@b65d01fBenoit Daloze2021-07-292-29/+5
|
* Update to ruby/spec@4ce9f41Benoit Daloze2020-12-275-5/+5
|
* Use Integer instead of Fixnum/BignumNobuyoshi Nakada2020-12-216-13/+13
|
* numeric.c, range.c: prohibit zero stepKenta Murata2020-10-232-36/+60
| | | | | | | | | * numeric.c: prohibit zero step in Numeric#step * range.c: prohibit zero step in Range#step * Fix ruby-spec [Feature #15573]
* Update to ruby/spec@e829fb0Benoit Daloze2020-09-172-0/+41
|
* Update to ruby/spec@032ee74Benoit Daloze2020-05-035-8/+8
|
* Drop support for ruby 2.4 from ruby/specNobuyoshi Nakada2020-04-011-40/+24
|
* Update to ruby/spec@519df35Benoit Daloze2019-09-292-116/+116
|
* Update to ruby/spec@875a09eBenoit Daloze2019-07-279-57/+57
|
* Update to ruby/spec@15c9619Benoit Daloze2019-04-273-18/+8
|
* Update to ruby/spec@7a16e01eregon2019-02-212-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@6cf8ebeeregon2019-02-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@35a9fbaeregon2019-01-201-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@241f9e7eregon2018-09-2513-11/+164
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add version guards for Enumerator::ArithmeticSequenceeregon2018-08-172-18/+42
| | | | | | * And keep specs for older versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enumerator.c: Introduce Enumerator::ArithmeticSequencemrkn2018-08-062-7/+7
| | | | | | | | | | | | | | | | | | | This commit introduces new core class Enumerator::ArithmeticSequence. Enumerator::ArithmeticSequence is a subclass of Enumerator, and represents a number generator of an arithmetic sequence. After this commit, Numeric#step and Range#step without blocks returned an ArithmeticSequence object instead of an Enumerator. This class introduces the following incompatibilities: - You can create a zero-step ArithmeticSequence, and its size is not ArgumentError, but Infinity. - You can create a negative-step ArithmeticSequence from a range. [ruby-core:82816] [Feature #13904] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@6f38a82eregon2018-04-282-58/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@c1b568beregon2018-03-0447-85/+85
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@83063a3eregon2018-01-2914-39/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@a6b8805eregon2017-10-283-1/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move spec/rubyspec to spec/ruby for consistencyeregon2017-09-2047-0/+1559
* Other ruby implementations use the spec/ruby directory. [Misc #13792] [ruby-core:82287] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e