IBMStreams / streamsx.json

Toolkit for working with JSON in SPL applications.
http://ibmstreams.github.io/streamsx.json/
Other
3 stars 19 forks source link

Float number corruption in JSON parsing #90

Closed bmel closed 6 years ago

bmel commented 7 years ago

Apparently, due to inadvertently converting between 32-bit and 64-bit-precision floating types, rounding errors are visible immediately after parsing. For example, 1.1 turns into 1.10000002384186

leongor commented 7 years ago

Fixed as part of https://github.com/IBMStreams/streamsx.json/pull/88 Can be closed.

rnostream commented 6 years ago

88 merged