|Issue 21:||S126.96.36.199_A7 may be bogus|
|6 people starred this issue and may be notified of changes.||Back to list|
Mar 15, 2010
The spec is rather clear that the accuracy of the trig functions (and many of the other mathematical functions) is implementation specific except for certain special values. Therefore, given the remit of Sputnik, it seems these tests should be removed (I don't disagree that testing for accuracy of these funcions is a useful thing to do, but it is explicitly not a conformance issue).
Mar 16, 2010
Good point. While I think it is unhealthy for implementations to deviate from each other it's true that the spec doesn't back this test up. So it should be dropped.
Apr 8, 2011
Reducing the precision is also (imho) viable: return(2 * Math.pow(2, -16 + pernum));
|► Sign in to add a comment|