Incorrect output for binary values in gcalctool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcalctool (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
in "Programming" mode
set "Decimal" base
enter "1024*1024*4" then "Enter"
display shows "4194304"
change base to "Binary"
display shows "1×10²²"
Output is incorrect!
Correct output is "1×2²²"
Additional info:
$ lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04
$ apt-cache policy gcalctool
gcalctool:
Installed: 6.4.1.1-0ubuntu3
Candidate: 6.4.1.1-0ubuntu3
Version table:
*** 6.4.1.1-0ubuntu3 0
500 http://
100 /var/lib/
6.
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gcalctool 6.4.1.1-0ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-54-
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: i386
Date: Sat Oct 19 01:57:32 2013
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gcalctool
UpgradeStatus: No upgrade log present (probably fresh install)
I found this code with "FIXME" marked
see file serializer.vala in trunk, line 424
<code>
string. append ("×10"); // FIXME: Use the current base
</code>