On Sun, 4 Nov 2018, Ed Smith-Rowland wrote: > I *do* think a couple tests should be added to test-signgam-*.c to test > alternation of signs:
The main tests for results of libm functions are in auto-libm-test-in (from which auto-libm-test-out-* are generated by gen-auto-libm-tests.c) and libm-test-*.inc. I believe these already cover signgam setting thoroughly. test-signgam-*.c are specifically for ISO C namespace issues (an ISO C program should be able to define its own variable called signgam and not have lgamma affect it, but an XSI program must be able to use the signgam variable defined in libm and have it affected by lgamma). -- Joseph S. Myers jos...@codesourcery.com