This exceeds the four byte limit of int variables. Thus the leading
“1” will be discarded leaving us with a result of 11111111_11111111_11111111_11111110 equalling -2
with respect to four byte integer two complement representation.

Why not using float / double in favour of bounded byte,
short,
int,
long
for arithmetics?