Project

General

Profile

Search

Results (24)

Ruby master Revision 113f5d7f (git): [ruby/rdoc] Allow an ... d token upto 2 before C method implementation
Previously only unknown word `intern` is allo ... d token, such as `inline` which is used for `ArithmeticSequence` in enumerator.c, is allowed instead. https://github.com/ruby/rdoc/commit/3a214c1dd1 12/05/2023 08:48 AM
Ruby master Revision cfb96244 (git): Fix Array#[] with ArithmeticSequence with negative steps (#5739)
* Fix Array#[] with ArithmeticSequence with negative steps Previously, Array#[] when called with an ArithmeticSequence with a negative step did not handle all case ... es [Bug #18247] * Add Array#slice tests for ArithmeticSequence with negative step to test_array Add tests ... a Murata <3959+mrkn@users.noreply.github.com> 08/11/2022 10:16 AM
Ruby master Revision f5163798 (git): Fix Enumerator::ArithmeticSequence handling of float ranges
Depending on the float range, there could be ... increment the step size. Fixes [Bug #16612] 05/29/2021 03:56 PM
Ruby master Revision 1a38986a (git): merge revision(s) 25 ... 8229f392c8502c08fe165ab181: [Backport #17218]
Renamed `nurat_sub` compliant with `rb_rational_plus` Fix ArithmeticSequence#last and ArithmeticSequence#each for non-integer sequences (#387 ... _6@67936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 04/05/2021 01:22 AM
Ruby master Revision 82bce422 (git): merge revision(s) 25 ... 8229f392c8502c08fe165ab181: [Backport #17218]
Renamed `nurat_sub` compliant with `rb_ration ... 4 insertions(+), 3 deletions(-) Fix ArithmeticSequence#last and ArithmeticSequence#each for non-integer sequences (#38 ... ----- 1 file changed, 5 deletions(-) 03/20/2021 06:35 AM
Ruby master Revision 5253b957 (git): Document usage of ArithmeticSequence in Array#slice, and add to NEWS (#3952)
12/21/2020 12:32 AM
Ruby master Revision fad3023e (git): Fix ArithmeticSequence#last and ArithmeticSequence#each for non-integer sequences (#3870)
[Bug #17218] [ruby-core:100312] 12/09/2020 09:48 AM
Ruby master Revision a6a8576e (git): Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241)
* Support ArithmeticSequence in Array#slice * Extract rb_range_component ... ers the outside of an array [Feature #16812] 10/20/2020 05:40 PM
Ruby master Revision beae6cbf (git): Fully separate positional arguments and keyword arguments
This removes the warnings added in 2.7, and c ... duping the hash breaks at least Enumerator::ArithmeticSequence#inspect. Instead of having RB_PASS_CALLED_K ... de by just making it be rb_keyword_given_p(). 01/03/2020 02:40 AM
Ruby master Revision 48313f12 (git): Add `or nil` to call-seq of `Enumerator::ArithmeticSequence#begin`
``` % ruby -ve 'p (nil..).first' ruby 2.6.3p6 ... -16 revision 67580) [x86_64-darwin18] nil ``` 04/27/2019 03:22 AM
Ruby master Revision 5c3be90a (git): Add test case of ArithmeticSequence#sum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 12/23/2018 06:54 PM
Ruby master Revision 7bef465e (git): range.c: reject ArithmeticSequence in rb_range_values
Reject ArithmeticSequence in rb_range_values so that methods like Array#[] raises TypeError for ArithmeticSequence as an index. git-svn-id: svn+ssh://ci.ruby- ... nk@66478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 12/21/2018 01:05 PM
Ruby master Revision 31eb48a0 (git): enumerator.c: Add rb_arithmetic_sequence_components_t
Add rb_arithmetic_sequence_components_t struct for encapsulating the components of ArithmeticSequence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 12/12/2018 07:16 AM
Ruby master Revision 914a2903 (git): enumerator.c: rb_arithmetic_sequence_extract
New public C-API for extracting components of Enumerator::ArithmeticSequence or Range. git-svn-id: svn+ssh://ci.ruby-lan ... nk@66351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 12/12/2018 06:39 AM
Ruby master Revision 00e21090 (git): NEWS: Add ArithmeticSequence related things
[ci skip] git-svn-id: svn+ssh://ci.ruby-lang ... nk@64863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 09/27/2018 09:29 AM
Ruby master Revision 98fa0ab4 (git): [DOC] Modify descriptions for ArithmeticSequence
[ci-skip] git-svn-id: svn+ssh://ci.ruby-lang ... nk@64697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 09/12/2018 08:51 AM
Ruby master Revision 1595421c (git): [DOC] Add the documentation of ArithmeticSequence
[ci-skip] git-svn-id: svn+ssh://ci.ruby-lang ... nk@64696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 09/12/2018 08:36 AM
Ruby master Revision 11ff6569 (git): enumerator.c: Fix ArithmeticSequence for complex step
Make sure Enumerator::ArithmeticSequence#each to work well for a complex step value. ... nk@64695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 09/12/2018 07:35 AM
Ruby master Revision ca47fb32 (git): Revert "enumerator.c: Fix ArithmeticSequence for complex step"
This reverts commit 0a0f8238d02a2dfff4cd28924 ... nk@64693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 09/12/2018 05:52 AM
Ruby master Revision 0a0f8238 (git): enumerator.c: Fix ArithmeticSequence for complex step
Make sure Enumerator::ArithmeticSequence#each to work well for a complex step value. ... nk@64692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 09/12/2018 05:35 AM
Ruby master Revision f3b347e1 (git): Add version guards for Enumerator::ArithmeticSequence
* And keep specs for older versions. git-svn ... nk@64411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 08/17/2018 11:22 AM
Ruby master Revision 33791cd0 (git): enumerator.c: fix for non-integral argument for ArithmeticSequence#last
This fixes a bug of Enumerator::ArithmeticSequence#last in the case that a non-integral argumen ... nk@64262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 08/10/2018 04:49 AM
Ruby master Revision 25a5227a (git): enumerator.c: undef new and allocate of ArithmeticSequence
Undefine new and allocate methods of Enumerator::ArithmeticSequence. [ruby-core:82816] [Feature #13904] git-sv ... nk@64256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 08/09/2018 01:18 PM
Ruby master Revision f1506933 (git): enumerator.c: Introduce Enumerator::ArithmeticSequence
This commit introduces new core class Enumerator::ArithmeticSequence. Enumerator::ArithmeticSequence is a subclass of Enumerator, and represents ... ep and Range#step without blocks returned an ArithmeticSequence object instead of an Enumerator. This class ... mpatibilities: - 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 #1 ... nk@64205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 08/06/2018 09:08 AM
    (1-24/24)