Skip to content

Commit

Permalink
COrrect method info in docstring of isqrt
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Oct 13, 2023
1 parent baf3249 commit 01e84d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// Returns the largest integer smaller than or equal to `√n`.
///
/// Uses a binary search.
/// Uses the Newton-Rhapson method.
#[must_use]
pub const fn isqrt(n: u64) -> u64 {
if n <= 1 {
Expand Down

0 comments on commit 01e84d0

Please sign in to comment.