about summary refs log tree commit diff
path: root/library/core/tests/num/bignum.rs
AgeCommit message (Collapse)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-276/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2022-01-10Simplification of BigNum::bit_lengthChristopher Swenson-0/+35
As indicated in the comment, the BigNum::bit_length function could be optimized by using CLZ, which is often a single instruction instead a loop. I think the code is also simpler now without the loop. I added some additional tests for Big8x3 and Big32x40 to ensure that there were no regressions.
2020-07-27mv std libs to library/mark-0/+241