I have found in documentation that range of long is from -2^63 to 2^63-1.
When I run this for cycle I'm unable to get over cca 2 000 000 000.
Log.d(TAG, "Long MAX = " + Long.MAX_VALUE);
for (int i = 1; i < 45; i++) {
long result = i * 184528125;
Log.d(TAG, "" + result);
}
Output is "Long MAX = 9223372036854775807" and result values in graph is below.
Sample Java project on codingground.com is here.
What am I missing?