[pve-devel] applied: [PATCH storage] api: status: try to prevent converting integers to floating point
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Jan 15 15:24:28 CET 2026
On Mon, 15 Dec 2025 09:14:16 +0100, Dominik Csapak wrote:
> Since perl can have multiple internal representations for the same
> scalar variables, it calculates and caches them on demand.
> So when doing a division with a variable, it calculates and caches the
> floating point representation of it.
>
> When using JSON::XS (which is the default and what we use), it has to
> look at the internal representation and chooses a format, and if
> both integer and floating point representations are there it chooses,
> floating point.
>
> [...]
Applied, thanks!
[1/1] api: status: try to prevent converting integers to floating point
commit: 5329fa2ac1669bbb192c3ad50b8ed487acde933c
Best regards,
--
Fabian Grünbichler <f.gruenbichler at proxmox.com>
More information about the pve-devel
mailing list