Skip to content

Comments

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

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

fix: floating point conversion on x86 (32bit)#1401
jbeder merged 1 commit intojbeder:masterfrom
SGSSGene:fix/ConvertToChars

Conversation

@SGSSGene
Copy link
Contributor

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
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.

2 participants