Add more tests of libm functions.