-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write-read roundtrip results in different value, when key of a map is a decimal #31
Comments
I am having the same issue. |
Added a test that exposes this behaviour. Feel free to check out my branch and run |
Taking a stab at it later |
Parent issue: cognitect/transit-js#36 |
Just as an FYI, due to the difficulties of exact representation and comparison in floating point, using floats as keys in a hash table is generally considered a bad idea. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My test generator found following, wrong behavior.
Version: [com.cognitect/transit-cljs "0.8.239"]
The text was updated successfully, but these errors were encountered: