apple / apple/swift-numerics

Decimal floating-point

Open
#7 7 comments 22 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

Implement IEEE 754 Decimal128 (and possibly Decimal64 as well, though it's less important). This has a dependency on [fixed-width integer types](https://github.com/apple/swift-numerics/issues/4) because we want to be able to leverage UInt128 arithmetic for the implementation.

Contributor guide

Open the contributing guide

Research direction

Start by reading the fixed-width integer types dependency in issue #4, since the proposed implementation depends on UInt128 arithmetic. Define the IEEE 754 Decimal128 scope first, including whether Decimal64 is included; done means the selected format is implemented with suitable validation against the specification and relevant arithmetic tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
backend
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.