diff options
author | inoas <mail@inoas.com> | 2022-11-29 07:10:59 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-12-01 10:21:56 +0000 |
commit | 74286adb1456ce4336fab32c281f65b3bffda894 (patch) | |
tree | a8c15c633ec8c0eb73c5b0ef404296130c24a3b0 /src | |
parent | 4893bcb07937cca9137a84e5fb8de2d86d03a51e (diff) | |
download | gleam_stdlib-74286adb1456ce4336fab32c281f65b3bffda894.tar.gz gleam_stdlib-74286adb1456ce4336fab32c281f65b3bffda894.zip |
wording
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/float.gleam | 4 |
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: |