dc8bda7e02
A few notes on the implementation:
- Any unsigned power of two integer type less than 64 bits in size is supported
as a Limb type.
- The algorithms used are kept simple for the moment. More complicated
algorithms are generally only more useful as integer sizes increase a
lot and I don't expect our current usage to be used for this purpose
just yet.
- All branches (practically) have been covered by tests.
See 986a2b3243/bench
for rough performance comparison numbers.
Closes #364.
6 lines
77 B
Zig
6 lines
77 B
Zig
pub use @import("int.zig");
|
|
|
|
test "math.big" {
|
|
_ = @import("int.zig");
|
|
}
|