TLargeintField constructor
TLargeintField([
- TComponent? aOwner
Implementation
TLargeintField([super.aOwner]) {
setDataType(TFieldType.ftLargeint);
// aa !!! not fully translated
// Platform limitation: on Web (JS), integers are doubles and can't precisely represent ±2^63. The bit
// operations here construct the boundary values (Low = (-1)<<63, High = ~Low), but **a
// LargeInt beyond 2^53 will still lose precision on Web**. Native (VM) targets don't have this problem.
_minRange = -1 << 63; // Low(Largeint) = -9223372036854775808
_maxRange = ~(-1 << 63); // High(Largeint) = 9223372036854775807
// zz !!! not fully translated
validChars = {'+', "-", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
}