Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big number rework (check point; not tested yet) #252

Merged
merged 17 commits into from
Nov 3, 2024

Conversation

laurencelundblade
Copy link
Owner

@laurencelundblade laurencelundblade commented Aug 14, 2024

New set of functions for big numbers, big floats and decimal fractions to have naming consistency. The old ones are still supported.

This is backwards compatible with QBOR v1. Previous work on v2 big numbers were not. This regains compatibility.

Offset of one for negative numbers is consistency supported for big numbers, big floats and decimal fractions.

Support for preferred serialization of big numbers including big floats and decimal fraction. No-preferred and raw options are provided too.

Prefer "BigNumber" to "bignum" and variants in function and variable naming

Add UsefulBuf_SkipLeading()

Separate definition of QCBORExpAndMantissa for readability of code.

@laurencelundblade laurencelundblade merged commit 6876933 into dev Nov 3, 2024
44 checks passed
@laurencelundblade laurencelundblade deleted the better_big_num branch November 3, 2024 21:09
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