# math.big.int: document the purpose of limb_len in scalar methods · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e78d7704a4fcde4e1851582212908b6762720216)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e78d7704a4fcde4e1851582212908b6762720216

Requested commit: e78d7704a4fcde4e1851582212908b6762720216

Commit: e78d7704a4fcde4e1851582212908b6762720216

Tree: 6a4491014ae0beaa286b9a85290fd726e75a77a6

Author: Jacob Young

Committer: Jacob Young

## Message

```
math.big.int: document the purpose of limb_len in scalar methods

Ideally this duplicated code could be factored out into a function, but
there doesn't seem to be any way in the Zig type system to represent an
argument to a function called at comptime that is only needed if it is
comptime-known.  Instead, we document what is going on in an adjacent
comment in case it gets copy-pasted into new methods in the future.

```

## Parents

- [38ee512a25776976caf787dff53126eed33ff835](https://git.cafe/gitcafe/zig/commit/38ee512a25776976caf787dff53126eed33ff835?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e78d7704a4fcde4e1851582212908b6762720216?format=markdown)
