# std.math.big.int: better name for equal function · gitcafe/zig

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

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

Visibility: public

Requested revision: 2b8687ba2d575de2dfbf857133121dfb92d00cb6

Requested commit: 2b8687ba2d575de2dfbf857133121dfb92d00cb6

Commit: 2b8687ba2d575de2dfbf857133121dfb92d00cb6

Tree: f20040fca24928dbb60a3362e6859f60846952fe

Author: r00ster91

Committer: Andrew Kelley

## Message

```
std.math.big.int: better name for equal function

All of the std except these few functions call it "eql" instead of "eq".
This has previously tripped me up when I expected the equality check function to be called "eql"
(just like all the rest of the std) instead of "eq".

The motivation is consistency.

If search "eq" on Autodoc, these functions stick out and it looks inconsistent.

I just noticed there are also a few functions spelling it out as "equal" (such as std.mem.allEqual).
Maybe those functions should also spell it "eql" but that can be done in a future PR.

```

## Parents

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

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