Is there a way to detect overflow for example for:
int i = 2_000_000_000;
int a = i*i*i;
writeln(a);-> 1073741824
Is there a way to detect overflow for example for:
int i = 2_000_000_000;
int a = i*i*i;
writeln(a);-> 1073741824