W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2011

[Bug 14905] [QT3] math-exp-003

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Nov 2011 19:47:17 +0000
To: public-qt-comments@w3.org
Message-Id: <E1RTImr-0003UW-33@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14905

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> 2011-11-23 19:47:16 UTC ---
It appears that in Java, the expression

Math.exp(1.0e0) == Math.E

returns false ;-(

I'm not sure exactly what the IEEE spec has to say about the required precision
of the result: it needs a lot of study to decipher the meaning. Pragmatically,
it would appear to make sense for our expected result to tolerate the value
that the Java library delivers, as well as what would appear to be the
"correct" result. So I propose to change the test to allow an epsilon variation
in the result.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 23 November 2011 19:47:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:36 UTC