You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, all numbers from 3681579493102783232 to 3681579493102783744 convert to 3681579493102783488. The next set of numbers lower convert to 3681579493102782976.
Is this less of a bug and more of a behavior change? Although I see that this issue has been brought up before in older versions. #245
Did some additional testing and the change happens with v4.32.1.
When converting from json to yaml, a large integer is getting converted to scientific notation. This leads to problems with rounding.
Version of yq: 4.44.2
Operating system: linux_amd64 (running in WSL)
Installed via: Binary release
Input json
Command
Actual behavior
Expected behavior
Additional context
Expected behavior matches actual behavior when testing with v4.14.1
The text was updated successfully, but these errors were encountered: