|
129 | 129 | // Float16 is not currently supported on Intel x86_64 macOS,
|
130 | 130 | // (including macCatalyst on x86_64) but this symbol somehow got
|
131 | 131 | // exported there.
|
132 |
| -// This preserves the export. |
| 132 | +// This preserves that export. |
| 133 | + |
| 134 | +// Note: Other platforms that don't support Float16 should |
| 135 | +// NOT export this. |
133 | 136 | @available(SwiftStdlib 5.3, *)
|
134 | 137 | @_silgen_name("swift_float16ToString")
|
135 | 138 | public func _float16ToStringImpl(
|
@@ -439,7 +442,7 @@ internal func _Float16ToASCII(
|
439 | 442 | // Support Legacy ABI on top of new implementation
|
440 | 443 | @_silgen_name("swift_float32ToString")
|
441 | 444 | @usableFromInline
|
442 |
| -func _float32ToStringImpl( |
| 445 | +private func _float32ToStringImpl( |
443 | 446 | _ textBuffer: UnsafeMutablePointer<UTF8.CodeUnit>,
|
444 | 447 | _ bufferLength: UInt,
|
445 | 448 | _ value: Float32,
|
@@ -692,7 +695,7 @@ internal func _Float32ToASCII(
|
692 | 695 | // Support Legacy ABI on top of new implementation
|
693 | 696 | @_silgen_name("swift_float64ToString")
|
694 | 697 | @usableFromInline
|
695 |
| -func _float64ToStringImpl( |
| 698 | +private func _float64ToStringImpl( |
696 | 699 | _ textBuffer: UnsafeMutablePointer<UTF8.CodeUnit>,
|
697 | 700 | _ bufferLength: UInt,
|
698 | 701 | _ value: Float64,
|
@@ -1200,7 +1203,7 @@ internal func _Float64ToASCII(
|
1200 | 1203 | // Support Legacy ABI on top of new implementation
|
1201 | 1204 | @_silgen_name("swift_float80ToString")
|
1202 | 1205 | @usableFromInline
|
1203 |
| -func _float80ToStringImpl( |
| 1206 | +private func _float80ToStringImpl( |
1204 | 1207 | _ textBuffer: UnsafeMutablePointer<UTF8.CodeUnit>,
|
1205 | 1208 | _ bufferLength: UInt,
|
1206 | 1209 | _ value: Float80,
|
|
0 commit comments