Skip to content

Document integer range limits in differences with CPython - #912

Open
CarstenGrohmann wants to merge 1 commit into
TranscryptOrg:masterfrom
CarstenGrohmann:docs-integer-range
Open

Document integer range limits in differences with CPython#912
CarstenGrohmann wants to merge 1 commit into
TranscryptOrg:masterfrom
CarstenGrohmann:docs-integer-range

Conversation

@CarstenGrohmann

Copy link
Copy Markdown
Contributor

Python integers are unbounded, JavaScript numbers are doubles and the bitwise operators work on 32 bit integers. Neither limit was mentioned, so int() silently returning a wrong value for large arguments looked like correct behaviour.

See #911

Python integers are unbounded, JavaScript numbers are doubles and the
bitwise operators work on 32 bit integers. Neither limit was mentioned,
so int () silently returning a wrong value for large arguments looked
like correct behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant