diff options
Diffstat (limited to 'test/builtins/Unit/divtc3_test.c')
-rw-r--r-- | test/builtins/Unit/divtc3_test.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/test/builtins/Unit/divtc3_test.c b/test/builtins/Unit/divtc3_test.c index ad2c96dc0409d..a1f0613441da7 100644 --- a/test/builtins/Unit/divtc3_test.c +++ b/test/builtins/Unit/divtc3_test.c @@ -13,8 +13,6 @@ #include <stdio.h> -#if _ARCH_PPC - #include "int_lib.h" #include <math.h> #include <complex.h> @@ -104,7 +102,7 @@ int test__divtc3(long double a, long double b, long double c, long double d) { long double _Complex z = (a * c + b * d) / (c * c + d * d) + (b * c - a * d) / (c * c + d * d) * _Complex_I; - if (cabs((r - z)/r) > 1.e-6) + if (cabsl((r - z)/r) > 1.e-6) return 1; } break; @@ -358,11 +356,8 @@ long double x[][2] = }; -#endif - int main() { -#if _ARCH_PPC const unsigned N = sizeof(x) / sizeof(x[0]); unsigned i, j; for (i = 0; i < N; ++i) @@ -373,11 +368,7 @@ int main() return 1; } } - -// printf("No errors found.\n"); -#else - printf("skipped\n"); -#endif +// printf("No errors found.\n"); return 0; } |