Skip to content

Support for stride for loops with non-unit step increments - #71

Merged
alexkohler merged 1 commit into
alexkohler:masterfrom
NathanBaulch:strideloops
Feb 14, 2026
Merged

Support for stride for loops with non-unit step increments#71
alexkohler merged 1 commit into
alexkohler:masterfrom
NathanBaulch:strideloops

Conversation

@NathanBaulch

Copy link
Copy Markdown
Contributor

This PR adds support for so-called "stride" for loops, where the loop var is incremented by more than one. This is handled by dividing the loop range by the step and adding 1 if there's a chance the integer division might cause rounding.

@alexkohler
alexkohler merged commit 0f2e29e into alexkohler:master Feb 14, 2026
1 check passed
@NathanBaulch
NathanBaulch deleted the strideloops branch February 14, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants