Skip to content

Add integer-sqrt crate#14

Merged
Turbo87 merged 1 commit into
mainfrom
integer-sqrt
Jun 23, 2026
Merged

Add integer-sqrt crate#14
Turbo87 merged 1 commit into
mainfrom
integer-sqrt

Conversation

@Turbo87

@Turbo87 Turbo87 commented Jun 16, 2026

Copy link
Copy Markdown
Member

The integer square root is in std since Rust 1.84 as isqrt() on every integer type, with checked_isqrt() and NonZero::isqrt() variants. The crate's integer_sqrt() / integer_sqrt_checked() map directly to these, so this is a full replacement.

@richard-uk1 👋 does this seem accurate to you? any objections? (see rust-lang/crates.io#13855 for more information)

@Turbo87
Turbo87 merged commit b55f457 into main Jun 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant