Skip to content

Parsing of negative zero #2854

Answered by nlohmann
6502 asked this question in Q&A
Jul 8, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Number handling is described in https://json.nlohmann.me/features/types/number_handling/ - apparently, -0 is allowed, but is treated like 0 by this library. What would you expect instead?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@6502
Comment options

@6502
Comment options

@nlohmann
Comment options

@6502
Comment options

Answer selected by nlohmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants