Skip to content

Commit 9ab4eaa

Browse files
author
Max Moiseev
committed
[CCC][stdlib] FloatingPoint should refine AbsoluteValuable for compatibility
1 parent d7601b6 commit 9ab4eaa

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)