Re: Re: Re: Re: no tests for trigonometric functions? need help / hints how to adapt tests for gnumeric 'long' version,



The crlibm values are carefully curated as the worst possible cases
for double rounding.

I don't know of anyone who has searched for the worst cases for long
double.  It may not be computationally feasible with current
understanding and technology.

If you just want sample values, you can use Mathematica which has an
independent implementation of sin/cos/etc, at least when you avoid
double (what Mathematica calls "machine-precision numbers").  You
will, however, have to deal with the complication of presenting the
correct (base 2) value as input.  Using an unrounded decimal
representation should work, but may well require 64 decimal digits or
more.

M.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]