Skip to content

Commit aac6d97

Browse files
authored
Merge pull request #40943 from amartini51/significand_exponent_56184186
Make pseudocode look less like real code.
2 parents d77edf6 + d410970 commit aac6d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/FloatingPoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public protocol FloatingPoint: SignedNumeric, Strideable, Hashable
261261
/// The magnitude of a floating-point value `x` of type `F` can be calculated
262262
/// by using the following formula, where `**` is exponentiation:
263263
///
264-
/// let magnitude = x.significand * F.radix ** x.exponent
264+
/// x.significand * (F.radix ** x.exponent)
265265
///
266266
/// A conforming type may use any integer radix, but values other than 2 (for
267267
/// binary floating-point types) or 10 (for decimal floating-point types)

0 commit comments

Comments
 (0)