From 74286adb1456ce4336fab32c281f65b3bffda894 Mon Sep 17 00:00:00 2001 From: inoas Date: Tue, 29 Nov 2022 07:10:59 +0100 Subject: wording --- src/gleam/float.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit v1.2.3