Skip to content

Fix formatting of some larger file sizes on 32bit x86 #18

Merged
buschmann23 merged 2 commits intocutelyst:masterfrom
buschmann23:fix-filesize-32bit-x86
Dec 10, 2022
Merged

Fix formatting of some larger file sizes on 32bit x86 #18
buschmann23 merged 2 commits intocutelyst:masterfrom
buschmann23:fix-filesize-32bit-x86

Conversation

@buschmann23
Copy link
Copy Markdown
Collaborator

With the x87 FPU available, GCC uses long double precision for some variables. Due to the function call passing a double, some comparisons break down. That resulted in "1.00 YB" being printed as "1000.00 ZB" instead.

Fix taken from steveire/grantlee#86

With the x87 FPU available, GCC uses long double precision for some variables.
Due to the function call passing a double, some comparisons break down.
That resulted in "1.00 YB" being printed as "1000.00 ZB" instead.

Fix taken from steveire/grantlee#86
@buschmann23 buschmann23 self-assigned this Dec 10, 2022
@buschmann23 buschmann23 merged commit 12343f0 into cutelyst:master Dec 10, 2022
@buschmann23 buschmann23 deleted the fix-filesize-32bit-x86 branch December 10, 2022 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant