Skip to content
This repository was archived by the owner on Jan 11, 2026. It is now read-only.

Commit 5127279

Browse files
authored
README: document JSON decoding fix in Swift 5.9+ (#20)
1 parent 6b2159b commit 5127279

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fdavdroman%2FPreciseDecimal%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/davdroman/PreciseDecimal)
55
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fdavdroman%2FPreciseDecimal%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/davdroman/PreciseDecimal)
66

7+
> [!NOTE]
8+
> The JSON decoding precision issues described below have been fixed in Swift 5.9 / iOS 17 / macOS 14 and later.
9+
>
10+
> See the [Foundation preview announcement](https://www.swift.org/blog/foundation-preview-now-available/#performance:~:text=Even,500%25%2E) for details.
11+
712
## Introduction
813

914
Swift has long suffered a problem with its `Decimal` type: [unapparent loss of precision](https://bugs.swift.org/browse/SR-8409).

0 commit comments

Comments
 (0)