steveire / grantlee

Libraries for text templating with Qt
Other
141 stars 48 forks source link

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

Open Vogtinator opened 1 year ago

Vogtinator commented 1 year ago

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.

Fixes #85