Skip to content

arrow-buffer: i256: implement ilog via i256 crate#9453

Open
theirix wants to merge 1 commit intoapache:mainfrom
theirix:i256-pow
Open

arrow-buffer: i256: implement ilog via i256 crate#9453
theirix wants to merge 1 commit intoapache:mainfrom
theirix:i256-pow

Conversation

@theirix
Copy link
Contributor

@theirix theirix commented Feb 20, 2026

Which issue does this PR close?

Rationale for this change

Implementation of integer logarithms via i256 crate. There is no matching num_traits trait, but this implementation provides a good motivation for such a trait.

What changes are included in this PR?

  • A new dependency on i256 crate
  • Checked methods (log, log2, log10)
  • Unchecked methods (panic by design)

Are these changes tested?

  • Unit tests

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Feb 20, 2026
@theirix theirix marked this pull request as ready for review February 20, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

arrow-buffer: implement log for i256

1 participant