Re: Re: Re: Re: no tests for trigonometric functions? need help / hints how to adapt tests for gnumeric 'long' version,
Morten Welinder <[email protected]> Fri, 17 Jun 2022 20:38:38 -0400
| Newsgroups | gmane.comp.gnome.apps.gnumeric |
|---|---|
| Message-ID | <CANv4PNk_voa6X75NpaDfs=KYPUz6WwX3xtyEUDUVGKyy9BJGVw@mail.gmail.com> |
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.