Skip to content

Commit

Permalink
changes to the single header were applied
Browse files Browse the repository at this point in the history
  • Loading branch information
gistrec committed May 18, 2020
1 parent 454480f commit 3f0cf26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12206,7 +12206,7 @@ class binary_writer
else
{
if (static_cast<double>(j.m_value.number_float) >= static_cast<double>(std::numeric_limits<float>::lowest()) and
static_cast<double>(j.m_value.number_float) <= static_cast<double>(std::numeric_limits<float>::max()) and
static_cast<double>(j.m_value.number_float) <= static_cast<double>((std::numeric_limits<float>::max)()) and
static_cast<double>(static_cast<float>(j.m_value.number_float)) == static_cast<double>(j.m_value.number_float))
{
oa->write_character(get_cbor_float_prefix(static_cast<float>(j.m_value.number_float)));
Expand Down

0 comments on commit 3f0cf26

Please sign in to comment.