MiSawa / xq

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

Fix modulo operator on NaN to emit NaN #176

Closed itchyny closed 8 months ago

itchyny commented 8 months ago

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