Searched refs:expected (Results 1 - 25 of 199) sorted by relevance

12345678

/barrelfish-2018-10-04/lib/compiler-rt/test/
H A Dtruncdfsf2_test.c23 float expected = a; local
25 if (actual != expected) {
27 "expected %f\n", a, actual, expected);
H A Dabsvsi2_test.c27 si_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvsi2(0x%X) = %d, expected positive %d\n",
32 a, x, expected);
33 return x != expected;
H A Dextebdsfdf2vfp_test.c26 double expected = a; local
27 if (actual != expected)
28 printf("error in test__extendsfdf2vfp(%f) = %f, expected %f\n",
29 a, actual, expected);
30 return actual != expected;
H A Dfixdfsivfp_test.c25 int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixdfsivfp(%f) = %d, expected %d\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfixunssfsivfp_test.c25 unsigned int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixunssfsivfp(%f) = %u, expected %u\n",
28 a, actual, expected);
29 return actual != expected;
H A Dabsvdi2_test.c27 di_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvdi2(0x%llX) = %lld, expected positive %lld\n",
32 a, x, expected);
33 return x != expected;
H A Dadddf3vfp_test.c26 double expected = a + b; local
27 if (actual != expected)
28 printf("error in test__adddf3vfp(%f, %f) = %f, expected %f\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Daddsf3vfp_test.c26 float expected = a + b; local
27 if (actual != expected)
28 printf("error in test__addsf3vfp(%f, %f) = %f, expected %f\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dbswapdi2_test.c23 int test__bswapdi2(uint64_t a, uint64_t expected) argument
26 if (actual != expected)
27 printf("error in test__bswapsi2(0x%0llX) = 0x%0llX, expected 0x%0llX\n",
28 a, actual, expected);
29 return actual != expected;
H A Dbswapsi2_test.c23 int test__bswapsi2(uint32_t a, uint32_t expected) argument
26 if (actual != expected)
27 printf("error in test__bswapsi2(0x%0X) = 0x%0X, expected 0x%0X\n",
28 a, actual, expected);
29 return actual != expected;
H A Ddivdf3vfp_test.c26 double expected = a / b; local
27 if (actual != expected)
28 printf("error in test__divdf3vfp(%f, %f) = %f, expected %f\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Ddivsf3vfp_test.c26 float expected = a / b; local
27 if (actual != expected)
28 printf("error in test__divsf3vfp(%f, %f) = %f, expected %f\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Deqsf2vfp_test.c26 int expected = (a == b) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __eqsf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dfixsfsivfp_test.c25 int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixsfsivfp(%f) = %u, expected %u\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfixunsdfsivfp_test.c26 unsigned int expected = a; local
27 if (actual != expected)
28 printf("error in test__fixunsdfsivfp(%f) = %u, expected %u\n",
29 a, actual, expected);
30 return actual != expected;
H A Dfloatsidfvfp_test.c26 double expected = a; local
27 if (actual != expected)
28 printf("error in test__ floatsidfvfp(%d) = %f, expected %f\n",
29 a, actual, expected);
30 return actual != expected;
H A Dfloatsisfvfp_test.c26 float expected = a; local
27 if (actual != expected)
28 printf("error in test__floatsisfvfp(%d) = %f, expected %f\n",
29 a, actual, expected);
30 return actual != expected;
H A Dfloatunssidfvfp_test.c26 double expected = a; local
27 if (actual != expected)
28 printf("error in test__floatunssidfvfp(%u) = %f, expected %f\n",
29 a, actual, expected);
30 return actual != expected;
H A Dfloatunssisfvfp_test.c25 float expected = a; local
26 if (actual != expected)
27 printf("error in test__floatunssisfvfp(%u) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dltdf2vfp_test.c26 int expected = (a < b) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __ltdf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dmuldf3vfp_test.c26 double expected = a * b; local
27 if (actual != expected)
28 printf("error in test__muldf3vfp(%f, %f) = %f, expected %f\n",
29 a, b, actual, expected);
30 return actual != expected;
/barrelfish-2018-10-04/lib/compiler-rt/test/ppc/
H A Dfloatditf_test.c12 DD expected; local
16 expected.hi = tests[i].hi;
17 expected.lo = tests[i].lo;
20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo))
23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo);
H A Dfloatunditf_test.c12 DD expected; local
16 expected.hi = tests[i].hi;
17 expected.lo = tests[i].lo;
20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo))
23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo);
/barrelfish-2018-10-04/lib/compiler-rt/test/arm/
H A Daeabi_drsub_test.c22 int test__aeabi_drsub(double a, double b, double expected) argument
25 if (actual != expected)
26 printf("error in __aeabi_drsub(%f, %f) = %f, expected %f\n",
27 a, b, actual, expected);
28 return actual != expected;
H A Daeabi_frsub_test.c22 int test__aeabi_frsub(float a, float b, float expected) argument
25 if (actual != expected)
26 printf("error in __aeabi_frsub(%f, %f) = %f, expected %f\n",
27 a, b, actual, expected);
28 return actual != expected;

Completed in 113 milliseconds

12345678