Skip to content

Conversation

@Shimuuar
Copy link
Contributor

@Shimuuar Shimuuar commented Feb 9, 2014

Roundtripping (decode . encode) NaN yields -∞ for both Float and Double and roundtripping negative zero gives oridinary zero.

This pull request only add tests for transfinite floating point values and does nothing to address issue. It's unclear to me whether it's possible to fix this without breaking encoding format in backward incompatible way.

QC doesn't generate such value so they should be listed explicitly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant