kazuho/picojson

operator== does not honor int64_t

johannesgajdosik opened this issue · 0 comments

When comparing int64 values in operator==, they are first converted to double and then compared.
Thus 2 large integers (>52bits) that are different but similar will compare equal.