Closed nicktelford closed 1 month ago
When comparing large numbers coerced to int64, there appears to be some loss of precision in the comparison, yielding incorrect results.
int64
Example:
$ echo '{}' | ./benthos blobl '1780921717355446273.int64() > 1780921717355446272.int64()' false
Expected output:
true
Thanks for raising this @nicktelford, should be fixed with: https://github.com/benthosdev/benthos/commit/35e0b317b002b1f6197089b129e6aeae02608578
Thanks @Jeffail! Any idea when the next release will be cut?
When comparing large numbers coerced to
int64
, there appears to be some loss of precision in the comparison, yielding incorrect results.Example:
Expected output: