negative exponent in numeric literals
pkoppstein opened this issue · comments
pkoppstein commented
$ jq -n '1e-1'
0.1
$ gojq -n '1e-1'
0.1
$ jaq -n '1e-1'
Error: Unexpected token, expected ?, /=, !=, <=, ., -=, end of input, [, /, //, %, as, >=, -, *=, ==, %=, or, +, |, <, *, |=, =, ,, and, +=, >
╭─[<unknown>:1:2]
│
1 │ 1e-1
· ┬
· ╰── Unexpected token e
───╯