From 281e58d0ff5bd776a88c71484ad4b7440bf1496b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Mon, 29 Jul 2024 10:42:53 +0200 Subject: [PATCH] Proper bounds --- src/accurate/mod.rs | 2 +- src/fast/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/accurate/mod.rs b/src/accurate/mod.rs index 0ca7b60..bd160fe 100644 --- a/src/accurate/mod.rs +++ b/src/accurate/mod.rs @@ -8,7 +8,7 @@ use dwm1c::dwm1c; use super::Z0; -/// Computes the principal branch of the Lambert W function, W_0(`z`), to 50 bits of accuracy, if `z` is larger than -1/e. +/// Computes the principal branch of the Lambert W function, W_0(`z`), to 50 bits of accuracy, if `z` >= -1/e. /// /// Uses the piecewise minimax rational function approximation method of Toshio Fukushima. /// diff --git a/src/fast/mod.rs b/src/fast/mod.rs index c8b06bb..21e39f6 100644 --- a/src/fast/mod.rs +++ b/src/fast/mod.rs @@ -6,7 +6,7 @@ mod swm1; use sw0::sw0; use swm1::swm1; -/// Computes the principal branch of the Lambert W function, W_0(`z`), to 24 bits of accuracy, if `z` > -1/e. +/// Computes the principal branch of the Lambert W function, W_0(`z`), to 24 bits of accuracy, if `z` >= -1/e. /// /// Uses the piecewise minimax rational function approximation method of Toshio Fukushima. ///