Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions pkgs/fixnum/lib/src/int64_native.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,24 @@ class Int64 implements IntX {

/// The maximum positive value attainable by an [Int64], namely
/// 9,223,372,036,854,775,807.
static const Int64 MAX_VALUE = Int64(9223372036854775807);
static const Int64 MAX_VALUE = Int64._(9223372036854775807);

/// The minimum positive value attainable by an [Int64], namely
/// -9,223,372,036,854,775,808.
static const Int64 MIN_VALUE = Int64(-9223372036854775808);
static const Int64 MIN_VALUE = Int64._(-9223372036854775808);

/// An [Int64] constant equal to 0.
static const Int64 ZERO = Int64(0);
static const Int64 ZERO = Int64._(0);

/// An [Int64] constant equal to 1.
static const Int64 ONE = Int64(1);
static const Int64 ONE = Int64._(1);

/// An [Int64] constant equal to 2.
static const Int64 TWO = Int64(2);
static const Int64 TWO = Int64._(2);

const Int64([int value = 0]) : _i = value;
const Int64._(this._i);

Int64([int value = 0]) : _i = value;

/// Constructs an [Int64] from a pair of 32-bit integers having the value
/// [:((high & 0xffffffff) << 32) | (low & 0xffffffff):].
Expand Down
Loading