# OverflowError: (34, 'Result too large') for 2.0**10000; float(10**400) -> int too large to convert to float (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/overflowerror-34-result-too-large-for-2-0-10000-float-10-400-int-too-large-to-convert-to-float-4553dcbb99df
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, overflowerror

Also math.exp(1000) -> 'math range error'; (256).to_bytes(1,'big') -> 'int too big to convert'; (-1).to_bytes(2,'big') -> "can't convert negative int to unsigned"; len(range(10**30)) -> 'Python int too large to convert to C ssize_t'.
