You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fourth example in the Identity subsection of the Basic filters section of the jq manual says the output will be true, false but it comes out as false, false. This is confusing to me as a new user trying to learn jq.
Describe the bug
The fourth example in the Identity subsection of the Basic filters section of the jq manual says the output will be
true, false
but it comes out asfalse, false
. This is confusing to me as a new user trying to learn jq.The example is:
jq '. as $big \| [$big, $big + 1] \| map(. > 10000000000000000000000000000000)'
Input: 10000000000000000000000000000001
Output: [true, false]
Here is what happens when I run it:
To Reproduce
If I just click on the Run button in the 1.6 manual, it reproduces the divergent output:
https://jqplay.org/jq?q=.%20as%20%24big%20%7C%20%5B%24big%2C%20%24big%20%2B%201%5D%20%7C%20map(.%20%3E%2010000000000000000000000000000000)&j=10000000000000000000000000000001
Expected behavior
I would expect to be able to reproduce the examples in the manual.
Environment (please complete the following information):
Additional context
I am just trying to learn jq.
The text was updated successfully, but these errors were encountered: