Skip to content

Commit babceea

Browse files
Merge pull request #7105 from moiseev/absolute-valuable
[swift-3.1-branch] Restore FloatingPoint conformance to AbsoluteValuable
2 parents afd00af + 9ab4eaa commit babceea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/FloatingPoint.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ word_bits = int(CMAKE_SIZEOF_VOID_P) * 8
167167
/// print("Average: \(average)°F in \(validTemps.count) " +
168168
/// "out of \(tempsFahrenheit.count) observations.")
169169
/// // Prints "Average: 74.84°F in 5 out of 7 observations."
170-
public protocol FloatingPoint: Comparable, Arithmetic,
170+
public protocol FloatingPoint: Comparable, Arithmetic, AbsoluteValuable,
171171
SignedNumber, Strideable {
172172

173173
/// A type that represents any written exponent.

0 commit comments

Comments
 (0)