> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Primitive type i64

Module: `std`

The 64-bit signed integer type.

## Implementations

```rust
impl i64
```

```rust
pub fn max_value() -> Self
```

Returns the maximum value representable by `i64`: 9223372036854775807.

```rust
pub fn min_value() -> Self
```

Returns the minimum value representable by `i64`: -9223372036854775808.

```rust
pub fn bits() -> u32
```

Returns the number of bits in `i64`: 64.

## Trait implementations

```rust
impl Add for i64
```

```rust
pub fn add(self, other: Self) -> Self
```

```rust
impl AsPrimitive<bool> for i64
```

```rust
pub fn as_(self) -> bool
```

```rust
impl AsPrimitive<i16> for i64
```

```rust
pub fn as_(self) -> i16
```

```rust
impl AsPrimitive<i32> for i64
```

```rust
pub fn as_(self) -> i32
```

```rust
impl AsPrimitive<i64> for i64
```

```rust
pub fn as_(self) -> Self
```

```rust
impl AsPrimitive<i8> for i64
```

```rust
pub fn as_(self) -> i8
```

```rust
impl AsPrimitive<u128> for i64
```

```rust
pub fn as_(self) -> u128
```

```rust
impl AsPrimitive<u16> for i64
```

```rust
pub fn as_(self) -> u16
```

```rust
impl AsPrimitive<u32> for i64
```

```rust
pub fn as_(self) -> u32
```

```rust
impl AsPrimitive<u64> for i64
```

```rust
pub fn as_(self) -> u64
```

```rust
impl AsPrimitive<u8> for i64
```

```rust
pub fn as_(self) -> u8
```

```rust
impl BitAnd for i64
```

```rust
pub fn bitand(self, other: Self) -> Self
```

```rust
impl BitOr for i64
```

```rust
pub fn bitor(self, other: Self) -> Self
```

```rust
impl BitXor for i64
```

```rust
pub fn bitxor(self, other: Self) -> Self
```

```rust
impl Default for i64
```

```rust
pub fn default() -> Self
```

```rust
impl Div for i64
```

```rust
pub fn div(self, other: Self) -> Self
```

```rust
impl Eq for i64
```

```rust
pub fn eq(self, other: Self) -> bool
```

```rust
impl From<bool> for i64
```

```rust
pub fn from(value: bool) -> Self
```

```rust
impl From<i16> for i64
```

```rust
pub fn from(value: i16) -> Self
```

```rust
impl From<i32> for i64
```

```rust
pub fn from(value: i32) -> Self
```

```rust
impl From<i8> for i64
```

```rust
pub fn from(value: i8) -> Self
```

```rust
impl Hash for i64
```

```rust
pub fn hash<H>(self, state: &mut H)
where
    H: Hasher
```

```rust
impl Mul for i64
```

```rust
pub fn mul(self, other: Self) -> Self
```

```rust
impl Neg for i64
```

```rust
pub fn neg(self) -> Self
```

```rust
impl Not for i64
```

```rust
pub fn not(self) -> Self
```

```rust
impl Ord for i64
```

```rust
pub fn cmp(self, other: Self) -> Ordering
```

```rust
impl Rem for i64
```

```rust
pub fn rem(self, other: Self) -> Self
```

```rust
impl Shl for i64
```

```rust
pub fn shl(self, other: Self) -> Self
```

```rust
impl Shr for i64
```

```rust
pub fn shr(self, other: Self) -> Self
```

```rust
impl Sub for i64
```

```rust
pub fn sub(self, other: Self) -> Self
```

```rust
impl WrappingAdd for i64
```

```rust
pub fn wrapping_add(self, y: Self) -> Self
```

```rust
impl WrappingMul for i64
```

```rust
pub fn wrapping_mul(self, y: Self) -> Self
```

```rust
impl WrappingSub for i64
```

```rust
pub fn wrapping_sub(self, y: Self) -> Self
```
