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

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