Skip to content

Add explicit exponent range syntax#3

Merged
petesmithofficial merged 1 commit into
mainfrom
feat/range-argument
Mar 30, 2026
Merged

Add explicit exponent range syntax#3
petesmithofficial merged 1 commit into
mainfrom
feat/range-argument

Conversation

@petesmithofficial

Copy link
Copy Markdown
Owner

Summary

  • add explicit exponent ranges via A..B and A-B
  • normalize descending ranges into ascending output
  • document the new range syntax and its limits

Testing

  • go test ./...
  • go build ./cmd/p2
  • go run ./cmd/p2 0..4
  • go run ./cmd/p2 16-14
  • go run ./cmd/p2 30,000

Fixes #2

@petesmithofficial petesmithofficial self-assigned this Mar 30, 2026
@petesmithofficial petesmithofficial merged commit 1900d6f into main Mar 30, 2026
3 checks passed
@petesmithofficial petesmithofficial deleted the feat/range-argument branch March 30, 2026 11:24
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.

Feature: Support range argument allowing printing from and to

1 participant