Expand description
Utilities to process digits.
This both contains routines to convert to and from digits, as well as iterate over digits while skipping digit separators.
Functionsยง
- char_
is_ digit - Determine if a character is a digit.
- char_
is_ digit_ const - Determine if a character is a digit with a radix known at compile time.
- char_
to_ digit - Convert a character to a digit.
- char_
to_ digit_ const - Convert a character to a digit with a radix known at compile time.
- char_
to_ valid_ digit_ const - Unchecked, highly optimized algorithm to convert a char to a digit. This only works if the input character is known to be a valid digit.
- digit_
to_ char - Convert a digit to a character. This uses a pre-computed table to avoid branching.
- digit_
to_ char_ const - Convert a digit to a character with a radix known at compile time.