Commit 422eb29
authored
arrow-buffer: add i256::trailing_zeros (#8969)
# Which issue does this PR close?
- Closes #8968.
# Rationale for this change
- Add `i256::trailing_zeros` to align with other integer types - e.g.
[`i128::trailing_zeros`](https://doc.rust-lang.org/std/primitive.i128.html#method.trailing_zeros)
- Add function documentation
- Add unit tests
# What changes are included in this PR?
Function, docs, unit tests
# Are these changes tested?
New unit tests
# Are there any user-facing changes?
New function in `i256` struct1 parent 5375411 commit 422eb29
1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
593 | 601 | | |
594 | 602 | | |
595 | 603 | | |
| |||
1327 | 1335 | | |
1328 | 1336 | | |
1329 | 1337 | | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
1330 | 1354 | | |
0 commit comments