News for hackers. Stuff that matters.
Re:Faster and simpler with the command line: deep-comparing ... by otterley on Thursday December 06, 2018 @12:19PM (#18619988)
This is an artifact of JavaScript, which even as of ES6 uses IEEE 754 double-precision floats for all numeric values. jq likely uses the same implementation internally for compatibility reasons and to avoid surprises of a different kind.

See https://www.ecma-international.org/ecma-262/6.0/#sec-ecmascr...

Re:Faster and simpler with the command line: deep-comparing ... by BrendanEich on Monday December 17, 2018 @02:44PM (#18701529)
BigInt in top browsers now, not under a flag. Just sayin'!

https://brendaneich.com/wp-content/uploads/2017/12/dotJS-201... et seq.

Re:Faster and simpler with the command line: deep-comparing ... by int0x80 on Friday December 07, 2018 @04:16AM (#18626170)
I think an 'error out if overflow/truncation'-mode available as a command line flag could be useful if you just don't have any JS involved in the JSON pipeline.