You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f0180f9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/standard-library/charconv-functions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ The value to convert. If `value` is negative, the representation starts with `-`
75
75
For integer conversions, the base to use when converting `value` to chars. Must be between 2 and 36, inclusive. There will be no leading zeros. Digits in the range 10..35 (inclusive) are represented as lowercase characters a..z
76
76
77
77
*fmt*\
78
-
For floating-point conversions, a bitmask specifying the conversion format to use such as scientific, fixed, or hexadecimal. See [chars_format](chars-format-enum.md) for details.
78
+
For floating-point conversions, a bitmask specifying the conversion format to use such as scientific, fixed, or hexadecimal. See [chars_format](chars-format-class.md) for details.
79
79
80
80
*precision*\
81
81
For floating-point conversions, the number of digits of precision for the converted value.
@@ -86,7 +86,7 @@ A [to_chars_result](to-chars-result-structure.md) containing the result of the c
86
86
87
87
### Remarks
88
88
89
-
Functions taking a [chars_format](chars-format-enum.md) parameter determine the conversion specifier as if they were using `printf()` as follows:
89
+
Functions taking a [chars_format](chars-format-class.md) parameter determine the conversion specifier as if they were using `printf()` as follows:
90
90
The conversion specifier is `f` if `fmt` is `chars_format::fixed`, `e` if `fmt` is `chars_format::scientific`, `a` (without leading "0x" in the result) if `fmt` is `chars_format::hex`, and `g` if `fmt` is `chars_format::general`. Specifying the shortest fixed notation may still result in lengthy output because it may be the shortest possible representation when the value is very large or very small.
91
91
92
92
The following table describes the conversion behavior given different combinations of `fmt` and `precision` parameters. The term "shortest round-trip" refers to writing the fewest number of digits necessary such that parsing that representation using the corresponding `from_chars` function will recover the value exactly.
@@ -176,7 +176,7 @@ If the conversion is successful, contains the result of the conversion.
176
176
For integer conversions, the base to use during the conversion. Must be between 2 and 36, inclusive.
177
177
178
178
*fmt*\
179
-
For floating-point conversions, the format of the sequence of chars being converted. See [chars_format](chars-format-enum.md) for details.
179
+
For floating-point conversions, the format of the sequence of chars being converted. See [chars_format](chars-format-class.md) for details.
0 commit comments