print(f"{16 ** (8*8):.4E}") 1.1579E+77
Python wanted to use a float to convert to exponential format but it overflowed. Need to use strings ;-)
n=(2**16)**(8*8); s=str(n); print(s[0] + '.' + s[1:6] + 'E+' + str(len(s) - 1)) 1.79769E+308
Secondly, that number is wrong anyway. The correct number is (2^16)^(8*8).