MiSawa / xq

Pure rust implementation of jq
MIT License
318 stars 18 forks source link

Fix modulo operator on NaN to emit NaN #176

Closed itchyny closed 7 months ago

itchyny commented 7 months ago

The modulo operator in jq and gojq emits NaN when either side is NaN, just like other binary operators.