Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow NaN/Infinity as a Number #56

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alex-unearth
Copy link

@alex-unearth alex-unearth commented Feb 27, 2022

No description provided.

 Using `jq` as a reference for allowed tokens, except we preserve the
 exact tokens instead of replacing them, as jq does:

 - nan -> `null`
 - inf -> `1.7976931348623157e+308`
@brewingcode brewingcode deleted the allow-nan-infinity branch February 28, 2022 03:07
@wabscale
Copy link

Hey this would be good to add. I use jless for data produced from numerical calculations where NaNs and Infs come up from time to time. Being able to use jless with those would be quite useful for me and my team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants