tgmath.h return type fixes, non-float argument fixes
[libm] / test / tgmath / t.c
index 836add5..b8c35ca 100644 (file)
@@ -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;
 }