mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
math.big.int: remove stale comments
This pull request removes the optional allocator argument from functions `divFloor` and `divTrunc`. As a result, the comments related to accepting an optional `allocator` are no longer applicable. The support for accepting an optional allocator was removed in #10017.
This commit is contained in:
parent
e1cc70ba11
commit
1e207f1edd
@ -935,9 +935,6 @@ pub const Mutable = struct {
|
||||
/// The upper bound for r limb count is `b.limbs.len`.
|
||||
/// The upper bound for q limb count is given by `a.limbs`.
|
||||
///
|
||||
/// If `allocator` is provided, it will be used for temporary storage to improve
|
||||
/// multiplication performance. `error.OutOfMemory` is handled with a fallback algorithm.
|
||||
///
|
||||
/// `limbs_buffer` is used for temporary storage. The amount required is given by `calcDivLimbsBufferLen`.
|
||||
pub fn divFloor(
|
||||
q: *Mutable,
|
||||
@ -1065,9 +1062,6 @@ pub const Mutable = struct {
|
||||
/// The upper bound for r limb count is `b.limbs.len`.
|
||||
/// The upper bound for q limb count is given by `a.limbs.len`.
|
||||
///
|
||||
/// If `allocator` is provided, it will be used for temporary storage to improve
|
||||
/// multiplication performance. `error.OutOfMemory` is handled with a fallback algorithm.
|
||||
///
|
||||
/// `limbs_buffer` is used for temporary storage. The amount required is given by `calcDivLimbsBufferLen`.
|
||||
pub fn divTrunc(
|
||||
q: *Mutable,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user