1 // RUN: %clang_builtins %s %librt -o %t && %run %t
2 // REQUIRES: librt_has_truncdfsf2
8 float __truncdfsf2(double a
);
10 int test__truncdfsf2(double a
)
12 float actual
= __truncdfsf2(a
);
15 if (actual
!= expected
) {
16 printf("error in test__truncdfsf2(%lf) = %f, "
17 "expected %f\n", a
, actual
, expected
);
25 if (test__truncdfsf2(340282366920938463463374607431768211456.0))