On Monday 12 September 2022 07:34:43 Simon Glass wrote:
> Hi Pali,
>
> On Sun, 11 Sept 2022 at 03:38, Pali Rohár wrote:
> >
> > Function print_size() round size to the nearst value with one decimal
> > fraction number. But in special cases also unit order may overflow.
> >
> > For example value 1
Hi Pali,
On Sun, 11 Sept 2022 at 03:38, Pali Rohár wrote:
>
> Function print_size() round size to the nearst value with one decimal
> fraction number. But in special cases also unit order may overflow.
>
> For example value 1073689396 is printed as "1024 MiB" and value 1073741824
> as "1 GiB".
>
Function print_size() round size to the nearst value with one decimal
fraction number. But in special cases also unit order may overflow.
For example value 1073689396 is printed as "1024 MiB" and value 1073741824
as "1 GiB".
Fix this issue by detecting order overflow and increasing unit order.
Wi
3 matches
Mail list logo