Skip to content

Commit 51510ec

Browse files
changes after review
1 parent f0a00b7 commit 51510ec

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

docs/c-runtime-library/reference/strtod-strtod-l-wcstod-wcstod-l.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,17 @@ If *`endptr`* isn't **`NULL`**, a pointer to the character that stopped the scan
7777

7878
**`strtod`** expects *`strSource`* to point to a string of one of the following forms:
7979

80-
[*whitespace*] [*sign*] {*digits* [*radix* *digits*] | *radix* *digits*} [{**`e`** | **`E`**} [*sign*] *digits*]\
81-
[*whitespace*] [*sign*] {**`0x`** | **`0X`**} {*hexdigits* [*radix* *hexdigits*] | *radix* *hexdigits*} [{**`p`** | **`P`**} [*sign*] *digits*]\
82-
[*whitespace*] [*sign*] {**`INF`** | **`INFINITY`**}\
83-
[*whitespace*] [*sign*] **`NAN`** [*sequence*]
84-
85-
The optional leading *whitespace* may consist of space and tab characters, which are ignored.\
86-
*sign* is either plus (+) or minus (-).\
87-
*digits* are one or more decimal digits.\
88-
*hexdigits* are one or more hexadecimal digits.\
89-
*radix* is the radix point character, either a period (.) in the default "C" locale, or the locale-specific value if the current locale is different or when *`locale`* is specified.\
90-
A *sequence* is a sequence of alphanumeric or underscore characters.
80+
[*`whitespace`*] [*`sign`*] {*`digits`* [*`radix`* *`digits`*] | *`radix`* *`digits`*} [{**`e`** | **`E`**} [*`sign`*] *`digits`*]\
81+
[*`whitespace`*] [*`sign`*] {**`0x`** | **`0X`**} {*`hexdigits`* [*`radix`* *`hexdigits`*] | *`radix`* *`hexdigits`*} [{**`p`** | **`P`**} [*`sign`*] *`digits`*]\
82+
[*`whitespace`*] [*`sign`*] {**`INF`** | **`INFINITY`**}\
83+
[*`whitespace`*] [*`sign`*] **`NAN`** [*`sequence`*]
84+
85+
The optional leading *`whitespace`* may consist of space and tab characters, which are ignored.\
86+
*`sign`* is either plus (+) or minus (-).\
87+
*`digits`* are one or more decimal digits.\
88+
*`hexdigits`* are one or more hexadecimal digits.\
89+
*`radix`* is the radix point character, either a period (.) in the default "C" locale, or the locale-specific value if the current locale is different or when *`locale`* is specified.\
90+
A *`sequence`* is a sequence of alphanumeric or underscore characters.
9191

9292
In both decimal and hexadecimal number forms, if no digits appear before the radix point character, at least one must appear after the radix point character.
9393

0 commit comments

Comments
 (0)