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 316679 - Program uses and reports incorrect value of e
Program uses and reports incorrect value of e
Status: RESOLVED DUPLICATE of bug 172150
Product: gnome-calculator
Classification: Core
Component: general
5.5.x
Other All
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2005-09-19 02:10 UTC by Gray
Modified: 2005-09-19 14:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Gray 2005-09-19 02:10:34 UTC
Please describe the problem:
In scientific view, the e^(x) function does not work as expected, since it is
actually a 14^(x) function.  e^(1) returns a value of 14.  This is, of course,
in base-10 mode; in hexadecimal mode, e^(1) returns a value of E.

Steps to reproduce:
1. Switch to scientific view
2. Enter the expression e^(1).
3. Hit enter, or alternatively, the '=' button.


Actual results:
The value 14 is returned.

Expected results:
I would expect e^(1) not to equal 14; in fact, I would expect it to be about
2.718.  Google proposes that e is approximately 2.71828183, which clearly !=14.

Does this happen every time?
Yes.

Other information:
It is very hard to compute correct values of 100(e^(x)-1) when using a value of
14 for e.
Comment 1 Rich Burridge 2005-09-19 14:32:36 UTC

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