On 12/10/2013 10:27 PM, Marc Feeley wrote:
For example cos and cosh have a single test for the special value 0, whereas there are 8 tests for asin.
Counting number of tests is not a very perspicacious analysis technique.
asin acos cos/cosh
number of branch cuts 2 2 0 tests per branch cut 3 3
Number of special values 1 1 1
Does naive implementation suffer yes no no from catastrophic cancellation?
Total number of tests 8 7 1
That is not very thorough testing.
That comment doesn't deserve comment.
Brad