3 ms·
I believe this has improved in jq 1.7: https://github.com/jqlang/jq/releases/tag/jq-1.7 https://github.com/jqlang/jq/releases/tag/jq-1.7 > Use decimal number l
by re 3y ago
I believe this has improved in jq 1.7: https://github.com/jqlang/jq/releases/tag/jq-1.7 https://github.com/jqlang/jq/releases/tag/jq-1.7
> Use decimal number literals to preserve precision. Comparison operations respects precision but arithmetic operations might truncate.
- anonymoushn 3y agoThis is still broken in jq 1.7 for sufficiently long exponents
- re 3y agoFrom a quick test it looks like it supports exponents up to 9 digits long (i.e. 1.0e999999999), which, frankly, seems pretty reasonable; it's hard for me to imagine a use case where you'd want to represent numbers larger than that.