Negative exponent gives wrong value in exponential form of number e.g. 1e-3
Bug #502421 reported by
Zoran Mijanovic
This bug report is a duplicate of:
Bug #483730: gnome-calculator not giving expected results: 2e-2 is not 0.02 ....
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcalctool (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcalctool
Numbers with exponential form like 1.2e3 (=1200) works wrong with negative exponent.
If I type 1e-3 I should get =0.001, but result is = −0.281718172.
With positive exponent results are OK (1e3=1000).
ProblemType: Bug
Architecture: i386
Date: Sat Jan 2 21:37:06 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gcalctool
Package: gcalctool 5.28.1-0ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gcalctool
Uname: Linux 2.6.31-16-generic i686
To post a comment you must log in.