Skip to content

Commit f2584a8

Browse files
committed
Merge pull request #11273 from natecook1000/nc-concrete-integer
[stdlib] Manually propagate integer documentation
1 parent f1b586b commit f2584a8

File tree

6 files changed

+386
-61
lines changed

6 files changed

+386
-61
lines changed

stdlib/public/core/FloatingPointTypes.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,8 +1403,8 @@ extension ${Self} {
14031403

14041404
/// Creates a value that exactly represents the given integer.
14051405
///
1406-
/// If the given integer is outside the representable range of this type, the
1407-
/// result is `nil`.
1406+
/// If the given integer is outside the representable range of this type or
1407+
/// can't be represented exactly, the result is `nil`.
14081408
///
14091409
/// - Parameter value: The integer to represent as a floating-point value.
14101410
% if srcBits < SignificandBitCount:

0 commit comments

Comments
 (0)