aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-05 14:48:06 -0500
committerGitHub <noreply@github.com>2023-03-05 14:48:06 -0500
commit7b01af2bfd4cf9232fb0157c26d7c59642452fab (patch)
tree733810a59ad5a4177198d60b9058e2951567a94a /lib/std
parenta63134a4a56e8683aeee292b641b4e943cbfb999 (diff)
parent1efd36cd5c9a1128ae702b081d60ee32f21bc258 (diff)
downloadzig-7b01af2bfd4cf9232fb0157c26d7c59642452fab.tar.gz
zig-7b01af2bfd4cf9232fb0157c26d7c59642452fab.zip
Merge pull request #14745 from jacobly0/bigint
CBE: add support for integers larger than 128 bits (and apparently vectors too)
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/math/big/int.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/math/big/int.zig b/lib/std/math/big/int.zig
index b7725b9ae9..4e4e7c489e 100644
--- a/lib/std/math/big/int.zig
+++ b/lib/std/math/big/int.zig
@@ -1674,6 +1674,7 @@ pub const Mutable = struct {
/// If a is positive, this passes through to truncate.
/// If a is negative, then r is set to positive with the bit pattern ~(a - 1).
+ /// r may alias a.
///
/// Asserts `r` has enough storage to store the result.
/// The upper bound is `calcTwosCompLimbCount(a.len)`.