After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 550203 - Ambiguous byte prefixes
Ambiguous byte prefixes
Status: RESOLVED DUPLICATE of bug 512443
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal trivial
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2008-09-01 12:48 UTC by Geir Hauge
Modified: 2008-09-01 14:33 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Geir Hauge 2008-09-01 12:48:31 UTC
The function g_format_size_for_display uses factors of 1024 to round sizes to a more human readable form. For this it uses prefixes K, M and G which are easily confused with SI prefixes. Wouldn't it be better to use the less ambiguous binary prefixes Ki, Mi and Gi? http://en.wikipedia.org/wiki/Binary_prefix
Comment 1 Michael Natterer 2008-09-01 13:14:55 UTC
I would say NOTABUG since this has been discussed when introducing
the function:

http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00237.html

and if i read that thread correctly we want to be human readable,
not hacker readable.
Comment 2 Christian Persch 2008-09-01 14:33:30 UTC

*** This bug has been marked as a duplicate of 512443 ***