We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f616c3e commit ee252b9Copy full SHA for ee252b9
libc/src/__support/str_to_integer.h
@@ -49,7 +49,7 @@ LIBC_INLINE bool is_hex_start(const char *__restrict src) {
49
// base.
50
LIBC_INLINE int infer_base(const char *__restrict *__restrict src) {
51
// A hexadecimal number is defined as "the prefix 0x or 0X followed by a
52
- // sequence of the deimal digits and the letters a (or A) through f (or F)
+ // sequence of the decimal digits and the letters a (or A) through f (or F)
53
// with values 10 through 15 respectively." (C standard 6.4.4.1)
54
if (is_hex_start(*src)) {
55
(*src) += 2;
0 commit comments