Nico Williams
Nico Williams
Eventually we might add branches to basic arithmetic operators to avoid double-precision math when possible. But I'm a bit loathe to do that right now. The goal here really is...
I believe this is already so in master. 1.6 is coming.
Do we need a jq function for this? It can be coded using the builtin `modf` and `fabs` functions...
Not every `jv` function has a jq function binding. Some might only be used internally, some might be used by "internal libjq applications" (`src/main.c` and `src/jq_test.c`), some might be used...
@leonid-s-usov Oh, I see, that is nice. @wtlangford is rebasing your PR and undoing the big file split.
I understand. The idea is not to not have that split, but to first merge the contribution, and then do the split in a commit that only does the split.
@mfeit-internet2 sure, a few questions: - how would this work once we integrate #1752? - do you have libjq-using code that needs this? - should we expose this as a...
@mfeit-internet2 thanks. OK, so, I think this should be folded into `jv_is_integer()`, and we should have an `isinteger` function for jq. I'm sure that when #1752 gets merged we can...
Thanks! I'll squash and rebase as soon as I get a chance.
Sure, why not.