Skip to content

Fix for documentation of the [form]TruncatingRemainder methods. #5047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions stdlib/public/core/FloatingPoint.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,9 @@ public protocol FloatingPoint: Comparable, Arithmetic,
/// // x1 == 8.625
///
/// If this value and `other` are both finite numbers, the truncating
/// remainder has the same sign as `other` and is strictly smaller in
/// magnitude. The `truncatingRemainder(dividingBy:)` method is always
/// exact.
/// remainder has the same sign as `self` and is strictly smaller in
/// magnitude than `other`. The `truncatingRemainder(dividingBy:)` method
/// is always exact.
///
/// - Parameter other: The value to use when dividing this value.
/// - Returns: The remainder of this value divided by `other` using
Expand Down Expand Up @@ -811,9 +811,9 @@ public protocol FloatingPoint: Comparable, Arithmetic,
/// // x1 == 8.625
///
/// If this value and `other` are both finite numbers, the truncating
/// remainder has the same sign as `other` and is strictly smaller in
/// magnitude. The `formtruncatingRemainder(dividingBy:)` method is always
/// exact.
/// remainder has the same sign as `self` and is strictly smaller in
/// magnitude than `other`. The `formTruncatingRemainder(dividingBy:)`
/// method is always exact.
///
/// - Parameter other: The value to use when dividing this value.
///
Expand Down