X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=test%2Ftgmath%2Ft.c;h=b89a6645ef627d12625f6e879d30f2c94756edc6;hp=836add509bd4e2197615c3470e8fb345495de7a8;hb=ac9e01a6a230bf998ca712c64ee24a61df78baa3;hpb=bc7a053425f94041d6672d2a4432dd4f89a1e1b8 diff --git a/test/tgmath/t.c b/test/tgmath/t.c index 836add5..b89a664 100644 --- a/test/tgmath/t.c +++ b/test/tgmath/t.c @@ -12,15 +12,18 @@ int main() long double complex dc = sin(1.0+0*I); long double complex fc = sin(1.0f+0*I); - long double complex lc = sin(1.0l+0*I); +// long double complex lc = sin(1.0l+0*I); printf("i %2u %La\n", sizeof sin(1), i); printf("d %2u %La\n", sizeof sin(1.0), d); printf("f %2u %La\n", sizeof sin(1.0f), f); printf("l %2u %La\n", sizeof sin(1.0l), l); - printf("dc %2u %La %La\n", sizeof sin(1.0+0*I), creall(dc), cimagl(dc)); - printf("fc %2u %La %La\n", sizeof sin(1.0f+0*I), creall(fc), cimagl(fc)); - printf("lc %2u %La %La\n", sizeof sin(1.0l+0*I), creall(lc), cimagl(lc)); + printf("dc %2u %La %La\n", sizeof sin(1.0+0*I), creal(dc), cimag(dc)); + printf("fc %2u %La %La\n", sizeof sin(1.0f+0*I), creal(fc), cimag(fc)); +// printf("lc %2u %La %La\n", sizeof sin(1.0l+0*I), creal(lc), cimag(lc)); + + printf("sizeof pow(I,1) = %2u\n", sizeof pow(I,1)); + printf("sizeof pow(I,1.0f) = %2u\n", sizeof pow(I,1.0f)); return 0; }