Skip to content

fix: floating point conversion on x86 (32bit) - #1401

Merged
jbeder merged 1 commit into
jbeder:masterfrom
SGSSGene:fix/ConvertToChars
Feb 11, 2026
Merged

jbeder merged 1 commit into
jbeder:masterfrom
SGSSGene:fix/ConvertToChars

Conversation

@SGSSGene

Copy link
Copy Markdown
Collaborator

Fixes floating point conversion on 32bit system as mentioned in #1399.
dragonbox function to_decimal returns a unsigned 64bit number for the significand.
This is stored in a size_t which is a uint32_t on 32 bit system those causes loose of precision.
This PR simply replaces the size_t with an uint64_t type.

@jbeder
jbeder merged commit ebb85dd into jbeder:master Feb 11, 2026
31 checks passed
@SGSSGene
SGSSGene deleted the fix/ConvertToChars branch February 11, 2026 18:22
@stephanlachnit

Copy link
Copy Markdown

@jbeder do you think it would be possible to release a 0.9.1 with this fix?

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.

3 participants