X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=test%2Ftgmath%2Ft.c;h=b8c35caaec5cfe4f147ce4859dad2256976e60e6;hp=836add509bd4e2197615c3470e8fb345495de7a8;hb=8f02fce3ed7d99db5ce80c88e22bbc1cce7c0c71;hpb=a8c7c8038b2e420020a9eef4a16afdac4ef03c74 diff --git a/test/tgmath/t.c b/test/tgmath/t.c index 836add5..b8c35ca 100644 --- a/test/tgmath/t.c +++ b/test/tgmath/t.c @@ -19,8 +19,11 @@ int main() 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; }