Skip to content

Commit 1d23852

Browse files
committed
Float16 support only on Swift 5.3+
1 parent 7388732 commit 1d23852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/FloatingPointToString.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public func _float16ToStringImpl(
181181
// with "0" characters, e.g., via
182182
// `InlineArray<32,UTF8.CodeUnit>(repeating:0x30)`
183183

184+
@available(SwiftStdlib 5.3, *)
184185
internal func _Float16ToASCII(
185186
value f: Float16,
186187
buffer utf8Buffer: inout MutableSpan<UTF8.CodeUnit>

0 commit comments

Comments
 (0)