Skip to content

Add optional support for digit separators and cpp prefixes#369

Open
976520 wants to merge 8 commits intofastfloat:mainfrom
976520:main
Open

Add optional support for digit separators and cpp prefixes#369
976520 wants to merge 8 commits intofastfloat:mainfrom
976520:main

Conversation

@976520
Copy link
Contributor

@976520 976520 commented Feb 8, 2026

Add optional support in from_chars_advanced to:

  • skip a configurable digit separator (e.g. ')
  • skip standard cpp prefixes (0x/0X, 0b/0B) before parsing (decimal-only; no hex/binary floats)

Resolves #124

no measurable regression on standard inputs (canada.txt / mesh.txt).

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.

feature?: ignored characters `'_ / allowing prefixs 0x and 0b etc...

1 participant