mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Compare commits
2 commits
f13ee9a68c
...
688af04725
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
688af04725 | ||
|
|
73e82332d0 |
1 changed files with 0 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ const Endian = std.builtin.Endian;
|
||||||
const Signedness = std.builtin.Signedness;
|
const Signedness = std.builtin.Signedness;
|
||||||
const native_endian = builtin.cpu.arch.endian();
|
const native_endian = builtin.cpu.arch.endian();
|
||||||
|
|
||||||
|
|
||||||
// Comptime-computed constants for supported bases (2 - 36)
|
// Comptime-computed constants for supported bases (2 - 36)
|
||||||
// all values are set to 0 for bases 0 - 1, to make it possible to
|
// all values are set to 0 for bases 0 - 1, to make it possible to
|
||||||
// access a constant for a given base b using `constants.value[b]`
|
// access a constant for a given base b using `constants.value[b]`
|
||||||
|
|
@ -39,7 +38,6 @@ const constants: Constants = blk: {
|
||||||
break :blk Constants{ .big_bases = bases, .digits_per_limb = digits_per_limb };
|
break :blk Constants{ .big_bases = bases, .digits_per_limb = digits_per_limb };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/// Returns the number of limbs needed to store `scalar`, which must be a
|
/// Returns the number of limbs needed to store `scalar`, which must be a
|
||||||
/// primitive integer or float value.
|
/// primitive integer or float value.
|
||||||
/// Note: A comptime-known upper bound of this value that may be used
|
/// Note: A comptime-known upper bound of this value that may be used
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue