Negative exponent gives wrong value in exponential form of number e.g. 1e-3

Bug #502421 reported by Zoran Mijanovic
6
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
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: gcalctool
Uname: Linux 2.6.31-16-generic i686

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.