Skip to content

Commit 14a4e6f

Browse files
Add a note about SR-106 to the changelog. (#16061)
1 parent 71e72d8 commit 14a4e6f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ Swift 5.0
6161
Swift 4.2
6262
---------
6363

64+
* [SR-106][]
65+
66+
The behavior of `.description` and `.debugDescription` for floating-point
67+
numbers has been changed. Previously these unconditionally printed a fixed
68+
number of decimal digits (e.g. 15 and 17 for Double, respectively). They now
69+
print exactly as many digits as are needed for the resulting string to
70+
convert back to the original source value, and no more. For more details,
71+
see the original bug report and the linked pull request.
72+
6473
* [SE-0193][]
6574

6675
Various function-like declarations can now be marked as `@inlinable`,
@@ -6981,6 +6990,7 @@ Swift 1.0
69816990
[SE-0198]: <https://github.com/apple/swift-evolution/blob/master/proposals/0198-playground-quicklook-api-revamp.md>
69826991
[SE-0199]: <https://github.com/apple/swift-evolution/blob/master/proposals/0199-bool-toggle.md>
69836992

6993+
[SR-106]: <https://bugs.swift.org/browse/SR-106>
69846994
[SR-419]: <https://bugs.swift.org/browse/SR-419>
69856995
[SR-1009]: <https://bugs.swift.org/browse/SR-1009>
69866996
[SR-1446]: <https://bugs.swift.org/browse/SR-1446>

0 commit comments

Comments
 (0)