Skip to content

Commit 36aae65

Browse files
authored
Merge pull request #5047 from stephentyrone/SR-2782-truncatingRemainder-doc
2 parents e0be7a6 + 40628dd commit 36aae65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stdlib/public/core/FloatingPoint.swift.gyb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,9 @@ public protocol FloatingPoint: Comparable, Arithmetic,
775775
/// // x1 == 8.625
776776
///
777777
/// If this value and `other` are both finite numbers, the truncating
778-
/// remainder has the same sign as `other` and is strictly smaller in
779-
/// magnitude. The `truncatingRemainder(dividingBy:)` method is always
780-
/// exact.
778+
/// remainder has the same sign as `self` and is strictly smaller in
779+
/// magnitude than `other`. The `truncatingRemainder(dividingBy:)` method
780+
/// is always exact.
781781
///
782782
/// - Parameter other: The value to use when dividing this value.
783783
/// - Returns: The remainder of this value divided by `other` using
@@ -811,9 +811,9 @@ public protocol FloatingPoint: Comparable, Arithmetic,
811811
/// // x1 == 8.625
812812
///
813813
/// If this value and `other` are both finite numbers, the truncating
814-
/// remainder has the same sign as `other` and is strictly smaller in
815-
/// magnitude. The `formtruncatingRemainder(dividingBy:)` method is always
816-
/// exact.
814+
/// remainder has the same sign as `self` and is strictly smaller in
815+
/// magnitude than `other`. The `formTruncatingRemainder(dividingBy:)`
816+
/// method is always exact.
817817
///
818818
/// - Parameter other: The value to use when dividing this value.
819819
///

0 commit comments

Comments
 (0)