I have tested that this works for int values, but that was essentially the only reason that I needed this capability. I suspect the other implementations work though, since their logic is essentially the same. The only potentially problematic issue would be if Java and Go use different floating point binary representations.
I have some ideas going forward about how to write unit tests for this package, but I wasn't able to get to it just now. If you'd prefer to wait to merge this until I can prove that the other functions work, I'm fine with that.
I have tested that this works for `int` values, but that was essentially the only reason that I needed this capability. I suspect the other implementations work though, since their logic is essentially the same. The only potentially problematic issue would be if Java and Go use different floating point binary representations.
I have some ideas going forward about how to write unit tests for this package, but I wasn't able to get to it just now. If you'd prefer to wait to merge this until I can *prove* that the other functions work, I'm fine with that.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I have tested that this works for
intvalues, but that was essentially the only reason that I needed this capability. I suspect the other implementations work though, since their logic is essentially the same. The only potentially problematic issue would be if Java and Go use different floating point binary representations.I have some ideas going forward about how to write unit tests for this package, but I wasn't able to get to it just now. If you'd prefer to wait to merge this until I can prove that the other functions work, I'm fine with that.