maxSafeInteger top-level property

int maxSafeInteger
final

The maximum safe value of an int.

Implementation

final int maxSafeInteger = pow(2, safeIntegerBits - 1).toInt() - 1;