Skip to content

Commit

Permalink
also in function examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Jul 29, 2024
1 parent a500994 commit 2967c72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/accurate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ use super::Z0;
/// # use approx::assert_abs_diff_eq;
/// use lambert_w::accurate::lambert_w_0;
///
/// let w = lambert_w_0(1.0).unwrap();
/// let Ω = lambert_w_0(1.0).unwrap();
///
/// assert_abs_diff_eq!(w, 0.5671432904097838);
/// assert_abs_diff_eq!(Ω, 0.5671432904097838);
/// ```
/// Arguments smaller than -1/e (≈ -0.36787944117144233) result in `None`:
/// ```
Expand Down
4 changes: 2 additions & 2 deletions src/fast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ use swm1::swm1;
/// # use approx::assert_abs_diff_eq;
/// use lambert_w::fast::lambert_w_0;
///
/// let w = lambert_w_0(1.0).unwrap();
/// let Ω = lambert_w_0(1.0).unwrap();
///
/// assert_abs_diff_eq!(w, 0.5671432904097838, epsilon = 1e-7);
/// assert_abs_diff_eq!(Ω, 0.5671432904097838, epsilon = 1e-7);
/// ```
/// Arguments smaller than -1/e (≈ -0.36787944117144233) result in `None`:
/// ```
Expand Down

0 comments on commit 2967c72

Please sign in to comment.