Skip to content

Commit dc39efa

Browse files
committed
readme fix for skip_white_space and allow_leading_plus
1 parent ce274f7 commit dc39efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ The library seeks to follow the C++17 (see
107107
[28.2.3.(6.1)](https://eel.is/c++draft/charconv.from.chars#6.1)) specification.
108108
109109
* The `from_chars` function does not skip leading white-space characters (unless
110-
`fast_float::chars_format::chars_format` is set).
110+
`fast_float::chars_format::skip_white_space` is set).
111111
* [A leading `+` sign](https://en.cppreference.com/w/cpp/utility/from_chars) is
112-
forbidden (unless `fast_float::chars_format::skip_white_space` is set).
112+
forbidden (unless `fast_float::chars_format::allow_leading_plus` is set).
113113
* It is generally impossible to represent a decimal value exactly as binary
114114
floating-point number (`float` and `double` types). We seek the nearest value.
115115
We round to an even mantissa when we are in-between two binary floating-point

0 commit comments

Comments
 (0)