- From: <bugzilla@jessica.w3.org>
- Date: Tue, 22 Nov 2011 14:42:02 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14905 Summary: [QT3] math-exp-003 Product: XPath / XQuery / XSLT Version: Member-only Editors Drafts Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: XQuery 3 & XPath 3 Test Suite AssignedTo: benjie.nguyen@gmail.com ReportedBy: tim@cbcl.co.uk QAContact: public-qt-comments@w3.org I fail this test because our implementation gives the result as 2.718281828459045e0 Looking at the representation of the values using System.BitConverter.DoubleToInt64Bits (.NET) or java.lang.Double.doubleToRawLongBits (Java) I get: Expected result = 4613303445314885482 Actual result = 4613303445314885481 The bit pattern for System.Math.E (.NET) or java.lang.Math.E (Java) is 4613303445314885481. <test-case name="math-exp-003"> <description>Evaluate the function exp() with the argument set to 1</description> <created by="O'Neil Delpratt, Saxonica" on="2010-12-10"/> <test>math:exp(1)</test> <result> <assert-eq>2.7182818284590455e0</assert-eq> </result> </test-case> -- 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 Tuesday, 22 November 2011 14:42:23 UTC