Int64 extension type

A robust, heap-allocated 64-bit signed integer wrapper utilizing dart:typed_data.

Unlike the zero-cost variant, Int64 is strictly backed by an Int64List(1). This inherently bounds the variable within standard memory specifications and rigorously guarantees that mathematical operators intuitively overflow using C++ style constraints, exactly mimicking real hardware boundaries, providing complete safety!

on

Constructors

Int64(Int64List _data)
Int64.from(int value)
Dynamically instantiates a Int64 value mapped sequentially into memory.

Properties

value int
Extracts the underlying raw Dart int strictly clamped.
no setter

Methods

addChecked(Int64 other) Int64
subChecked(Int64 other) Int64

Operators

operator %(Int64 other) Int64
Modulo remainder constraint matching natively bounded data models.
operator &(Int64 other) Int64
Bitwise AND logically coupled to bit patterns.
operator *(Int64 other) Int64
Multiplication mathematically clipped naturally to standard hardware constraints.
operator +(Int64 other) Int64
Standard addition. Natively handles and wraps exact numerical overflows gracefully.
operator -(Int64 other) Int64
Standard subtraction. Computes precise arithmetic underflows independently.
operator <(Int64 other) bool
Returns true if this value evaluates less than other.
operator <<(int shiftAmount) Int64
Left-shifts the integer's bits gracefully overflowing when passing the bit barrier.
operator <=(Int64 other) bool
Returns true if this bounds-checked value is less than or equal to other.
operator >(Int64 other) bool
Strict evaluation if this numerical element is larger.
operator >=(Int64 other) bool
Strict evaluation extending identical size bounds.
operator >>(int shiftAmount) Int64
Right-shifts the numerical data maintaining standard sign retention.
operator ^(Int64 other) Int64
Bitwise XOR operator.
operator |(Int64 other) Int64
Bitwise OR operator.
operator ~() Int64
Bitwise NOT standardly shifting limits.
operator ~/(Int64 other) Int64
Truncating division.

Static Properties

max Int64
Returns the statically-bounded maximum value of a 64-bit signed integer (9223372036854775807).
final
min Int64
Returns the statically-bounded minimum value of a 64-bit signed integer (-9223372036854775808).
final