We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f70f7 commit 21de54aCopy full SHA for 21de54a
stdlib/public/core/FloatingPointTypes.swift.gyb
@@ -1488,18 +1488,6 @@ extension ${Self} {
1488
public var magnitude: ${Self} {
1489
return ${Self}(_bits: Builtin.int_fabs_FPIEEE${bits}(_value))
1490
}
1491
-
1492
- // FIXME(integers): implement properly
1493
- /// Creates a value that exactly represents the given integer.
1494
- ///
1495
- /// If the given integer is outside the representable range of this type or
1496
- /// can't be represented exactly, the result is `nil`.
1497
1498
- /// - Parameter source: The integer to represent as a floating-point value.
1499
- @_inlineable // FIXME(sil-serialize-all)
1500
- public init?<T : BinaryInteger>(exactly source: T) {
1501
- fatalError()
1502
- }
1503
1504
1505
extension ${Self} {
0 commit comments