json/include/nlohmann/detail/output
Thomas Braun 6ce2f35ba8 Fix outputting extreme integer values in edge cases
For some gcc version (Ubuntu 5.5.0-12ubuntu1~16.04) the existing code
crashes when the minimum value of int64_t is outputted.

Resurrect the code from before 546e2cbf (🚨 fixed some warnings,
2019-03-13) but delegate the sign removal so that the compilers don't
complain about taking the negative value of an unsigned value.

In addition we also rewrite the expression so that we first increment
and then negate.

The definition of remove_sign(number_unsigned_t) is never called as
unsigned values are never negative.
2019-09-03 13:55:15 +02:00
..
binary_writer.hpp Merge branch 'feature/hedley' into develop 2019-07-14 20:58:08 +02:00
output_adapters.hpp 🚚 rename Hedley macros 2019-07-01 22:37:30 +02:00
serializer.hpp Fix outputting extreme integer values in edge cases 2019-09-03 13:55:15 +02:00