couchbaselabs / gojsonsm

Go implementation of my JSONSM algorithm.
9 stars 7 forks source link

fastLitParser should parse number into float64 if int64 overflows #99

Closed nelio2k closed 5 years ago

nelio2k commented 5 years ago

When an integer fastVal is used to compare against a float, and the float that is being compared to can overflow an int64, the comparison result is more than likely to be incorrect.