Skip to content

Conversation

@bettio
Copy link
Collaborator

@bettio bettio commented Oct 23, 2025

Make existing code more understandable

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

nif.c `make_bigint` differs from bif.c one: it doesn't check for oveflow
and it doesn't perform normalization: it is just tailored on
parse_integer purpose.

Signed-off-by: Davide Bettio <[email protected]>
Each integer number have only one possible reppresentation, so
`== term_from_int(0)` is safe.

Signed-off-by: Davide Bettio <[email protected]>
Add comments about big integers handling.

Signed-off-by: Davide Bettio <[email protected]>
time is still limited to 64-bits, so rephrase the disclaimer.

Signed-off-by: Davide Bettio <[email protected]>
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