Skip to content

Commit 295114c

Browse files
committed
Comment updates
1 parent a97d92d commit 295114c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

stdlib/public/core/FloatingPointToString.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,8 +1204,9 @@ fileprivate func _Float80ToASCII(
12041204
// ================================================================
12051205

12061206
#if false
1207-
// Note: We don't need _float128ToStringImpl, since that's only for backwards compatibility,
1208-
// and the legacy ABI never supported Float128.
1207+
// Note: We don't need _float128ToStringImpl, since that's only for
1208+
// backwards compatibility, and the legacy ABI never supported
1209+
// Float128.
12091210

12101211
internal func Float128ToASCII(
12111212
value d: Float128,
@@ -1331,13 +1332,12 @@ fileprivate func _backend_256bit(
13311332
as: UInt8.self)
13321333
nextDigit &+= 1
13331334

1334-
// It would be nice to generate 8 digits at a time
1335-
// and take advantage of intToEightDigits, but
1336-
// our integer portion has only 14 bits. We can't make
1337-
// that bigger without either sacrificing too much
1338-
// precision for correct Float128 or folding the first
1339-
// digits into the scaling (as we do with Double) which
1340-
// would require a back-out phase here.
1335+
// It would be nice to generate 8 digits at a time and take
1336+
// advantage of intToEightDigits, but our integer portion has only
1337+
// 14 bits. We can't make that bigger without either sacrificing
1338+
// too much precision for correct Float128 or folding the first
1339+
// digits into the scaling (as we do with Double) which would
1340+
// require a back-out phase here (as we do with Double).
13411341

13421342
// If there is at least one more digit possible...
13431343
if delta < t {

0 commit comments

Comments
 (0)