aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/float.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/float.gleam b/src/gleam/float.gleam
index ad9acf6..5893b44 100644
--- a/src/gleam/float.gleam
+++ b/src/gleam/float.gleam
@@ -95,7 +95,7 @@ pub fn compare(a: Float, with b: Float) -> Order {
/// Compares two `Float`s within a tolerance, returning an `Order`:
/// `Lt` for lower than, `Eq` for equals, or `Gt` for greater than.
///
-/// This function allows Float comparison despite
+/// This function allows Float comparison while handling
/// [Floating Point Imprecision](https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems).
///
/// Notice: For `Float`s the tolerance won't be exact:
@@ -126,7 +126,7 @@ pub fn loosely_compare(
/// Checks for equality of two `Float`s within a tolerance,
/// returning an `Bool`.
///
-/// This function allows Float comparison despite
+/// This function allows Float comparison while handling
/// [Floating Point Imprecision](https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems).
///
/// Notice: For `Float`s the tolerance won't be exact: