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

[Bug 5892] [FO] Requirement: trigonometric functions

From: <bugzilla@wiggum.w3.org>
Date: Wed, 12 Nov 2008 13:08:34 +0000
To: public-qt-comments@w3.org
Message-Id: <E1L0FSU-0003e0-Le@farnsworth.w3.org>


Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
                 CC|                            |tim@cbcl.co.uk

--- Comment #2 from Tim Mills <tim@cbcl.co.uk>  2008-11-12 13:08:34 ---
We have implemented a bunch of maths functions (documented at

When we came to implement the sin/cos functions using the Microsoft .NET
implementations, we were surprised by the behaviour on large inputs:

"For values of $arg outside the range from approximately -9223372036854775295
to approximately 9223372036854775295, the fn:cos function returns $arg

as a result of the behaviour of Math.Sin documented at


which we presume is due to the behaviour of the C function documented at


There is further information relating to the Java platform at




which offers two implementations (StrictMath.Sin and Math.Sin).

I mention this because it may need to be considered when deciding what results 
might be considered as conformant for a particular function.

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, 12 November 2008 13:08:43 UTC

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