apple / apple/swift-numerics

Fixed-size integers larger than Int64

Open
#4 39 comments 20 reactions 0 assignees View on GitHub
new module
Dominant language
Swift
Stars
1.9k
Forks
181
Avg merge
2d 5h
Merged PRs (30d)
6

Description

Provide a family of `[U]Int128`, `256`, ... up to a reasonable threshold where flexibly-sized bignum becomes competitive (most likely 1024 bits). This should be done as generically as possible so that support for additional sizes can be added as needed with minimal complexity.

These types should conform to `FixedWidthInteger`.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing the existing numeric type design and the requirements of Swift's FixedWidthInteger protocol, then define the supported widths and generic approach. Done means the requested fixed-size integer family is implemented with the required protocol conformance and a clear upper-bound decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.