Fix stale comments in include/
- json_view.hpp: find_key() returns the first member with a duplicate key, not the last one (as find_member() and the API documentation say). - binary_writer.hpp: throw_size_marker_required() throws other_error.502, not other_error.407. - serializer.hpp, number_parse.hpp, to_chars.hpp: doubles are no longer converted with Grisu2 but with the shortest digits of Zmij; Grisu2 is only used for binary32 and other formats. Comments only; the amalgamation is regenerated. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
7 files changed
+20
-16
No files matched your search
@@ -48,10 +48,11 @@ namespace detail
|
||||
{
|
||||
|
||||
/*!
|
||||
@brief implements the Grisu2 algorithm for binary to decimal floating-point
|
||||
conversion.
|
||||
@brief implements binary to decimal floating-point conversion: the shortest
|
||||
digits of Zmij (see zmij.hpp) for IEEE 754 binary64 numbers, and the Grisu2
|
||||
algorithm for all other formats.
|
||||
|
||||
This implementation is a slightly modified version of the reference
|
||||
The Grisu2 implementation is a slightly modified version of the reference
|
||||
implementation which may be obtained from
|
||||
http://florian.loitsch.com/publications (bench.tar.gz).
|
||||
|
||||
|
||||
Reference in new issue
Block a user