Skip to content

Commit

Permalink
Update noir_stdlib/src/bigint.nr
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jan 31, 2024
1 parent ddd94a2 commit caf0b25
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions noir_stdlib/src/bigint.nr
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ struct BigInt {

impl BigInt {
#[builtin(bigint_add)]
pub fn bigint_add(_self: Self, _other: BigInt) -> BigInt {
pub fn bigint_add(self, other: BigInt) -> BigInt {
}
#[builtin(bigint_neg)]
pub fn bigint_neg(_self: Self, _other: BigInt) -> BigInt {
pub fn bigint_neg(self, other: BigInt) -> BigInt {
}
#[builtin(bigint_mul)]
pub fn bigint_mul(_self: Self, _other: BigInt) -> BigInt {
pub fn bigint_mul(self, other: BigInt) -> BigInt {
}
#[builtin(bigint_div)]
pub fn bigint_div(_self: Self, _other: BigInt) -> BigInt {
pub fn bigint_div(self, other: BigInt) -> BigInt {
}
#[builtin(bigint_from_le_bytes)]
pub fn from_le_bytes(_bytes: [u8], _modulus: [u8]) -> BigInt {}
pub fn from_le_bytes(bytes: [u8], modulus: [u8]) -> BigInt {}
#[builtin(bigint_to_le_bytes)]
pub fn to_le_bytes(_self: Self) -> [u8] {}
pub fn to_le_bytes(self) -> [u8] {}
}

impl Add for BigInt {
Expand Down

0 comments on commit caf0b25

Please sign in to comment.