toInt method
Always safe: _bits is always < 2^32, far inside the double-safe
integer range, so this is just a sign-extension, never a precision
concern.
Implementation
int toInt() => _bits >= _signBit32 ? _bits - 0x100000000 : _bits;
Always safe: _bits is always < 2^32, far inside the double-safe
integer range, so this is just a sign-extension, never a precision
concern.
int toInt() => _bits >= _signBit32 ? _bits - 0x100000000 : _bits;