Some fixes for math and tgmath.