[COMMITTED] math: Use accurate answers for cos and sincos.

Joseph S. Myers joseph@codesourcery.com
Thu Apr 25 03:20:00 GMT 2013


On Wed, 24 Apr 2013, Carlos O'Donell wrote:

> math: Use accurate answers for cos and sincos.
>     
> Use the most accurate hex literals possible for the answers to the
> cos and sincos tests that vary according to the error in the rounding
> of PI/2.

As I noted in <http://sourceware.org/ml/libc-alpha/2013-04/msg00546.html>, 
really the *inputs* to these tests should be hex floats, the tests 
themselves should then not be conditional on e.g. "float" (only on having 
at least the required precision) and the expected *outputs* should be 
given in precision above that needed for any supported type (whether in 
hex or decimal doesn't really matter, though decimal is usual for this in 
libm-test.inc).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list