/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
D | math_lrint_test.cpp | 24 bool testResult = DoubleUlpCmp(g_lrintData[i].expected, lrint(g_lrintData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 37 bool testResult = FloatUlpCmp(g_lrintfData[i].expected, lrintf(g_lrintfData[i].input), 1); variable 38 EXPECT_TRUE(testResult);
|
D | math_nearbyint_test.cpp | 24 …bool testResult = DoubleUlpCmp(g_nearbyintData[i].expected, nearbyint(g_nearbyintData[i].input), 1… variable 25 EXPECT_TRUE(testResult); 38 …bool testResult = FloatUlpCmp(g_nearbyintfData[i].expected, nearbyintf(g_nearbyintfData[i].input),… variable 39 EXPECT_TRUE(testResult);
|
D | math_round_test.cpp | 24 bool testResult = DoubleUlpCmp(g_roundData[i].expected, round(g_roundData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 38 bool testResult = FloatUlpCmp(g_roundfData[i].expected, roundf(g_roundfData[i].input), 1); variable 39 EXPECT_TRUE(testResult);
|
D | math_trunc_test.cpp | 24 bool testResult = DoubleUlpCmp(g_truncData[i].expected, trunc(g_truncData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 38 bool testResult = FloatUlpCmp(g_truncfData[i].expected, truncf(g_truncfData[i].input), 1); variable 39 EXPECT_TRUE(testResult);
|
D | math_rint_test.cpp | 24 bool testResult = DoubleUlpCmp(g_rintData[i].expected, rint(g_rintData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 38 bool testResult = FloatUlpCmp(g_rintfData[i].expected, rintf(g_rintfData[i].input), 1); variable 39 EXPECT_TRUE(testResult);
|
D | math_llrint_test.cpp | 24 bool testResult = DoubleUlpCmp(g_llrintData[i].expected, llrint(g_llrintData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 38 … bool testResult = FloatUlpCmp(g_llrintfData[i].expected, llrintf(g_llrintfData[i].input), 1); variable 39 EXPECT_TRUE(testResult);
|
D | math_scalb_test.cpp | 24 …bool testResult = DoubleUlpCmp(g_scalbData[i].expected, scalb(g_scalbData[i].input1, g_scalbData[i… variable 25 EXPECT_TRUE(testResult); 48 …bool testResult = FloatUlpCmp(g_scalbfData[i].expected, scalbf(g_scalbfData[i].input1, g_scalbfDat… variable 49 EXPECT_TRUE(testResult);
|
D | math_cosh_test.cpp | 24 bool testResult = DoubleUlpCmp(g_coshData[i].expected, cosh(g_coshData[i].input), 2); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_coshfData[i].expected, coshf(g_coshfData[i].input), 2); variable 49 EXPECT_TRUE(testResult);
|
D | math_cos_test.cpp | 24 bool testResult = DoubleUlpCmp(g_cosData[i].expected, cos(g_cosData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_cosfData[i].expected, cosf(g_cosfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_sqrt_test.cpp | 24 bool testResult = DoubleUlpCmp(g_sqrtData[i].expected, sqrt(g_sqrtData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_sqrtfData[i].expected, sqrtf(g_sqrtfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_atanh_test.cpp | 24 bool testResult = DoubleUlpCmp(g_atanhData[i].expected, atanh(g_atanhData[i].input), 2); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_atanhfData[i].expected, atanhf(g_atanhfData[i].input), 2); variable 49 EXPECT_TRUE(testResult);
|
D | math_acos_test.cpp | 24 bool testResult = DoubleUlpCmp(g_acosData[i].expected, acos(g_acosData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_acosfData[i].expected, acosf(g_acosfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_tanh_test.cpp | 25 bool testResult = DoubleUlpCmp(g_tanhData[i].expected, tanh(g_tanhData[i].input), 2); variable 26 EXPECT_TRUE(testResult); 50 bool testResult = FloatUlpCmp(g_tanhfData[i].expected, tanhf(g_tanhfData[i].input), 2); variable 51 EXPECT_TRUE(testResult);
|
D | math_log10_test.cpp | 24 bool testResult = DoubleUlpCmp(g_log10Data[i].expected, log10(g_log10Data[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_log10fData[i].expected, log10f(g_log10fData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_expm1_test.cpp | 24 bool testResult = DoubleUlpCmp(g_expm1Data[i].expected, expm1(g_expm1Data[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_expm1fData[i].expected, expm1f(g_expm1fData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_atan_test.cpp | 24 bool testResult = DoubleUlpCmp(g_atanData[i].expected, atan(g_atanData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_atanfData[i].expected, atanf(g_atanfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_acosh_test.cpp | 25 bool testResult = DoubleUlpCmp(g_acoshData[i].expected, acosh(g_acoshData[i].input), 2); variable 26 EXPECT_TRUE(testResult); 49 bool testResult = FloatUlpCmp(g_acoshfData[i].expected, acoshf(g_acoshfData[i].input), 2); variable 50 EXPECT_TRUE(testResult);
|
D | math_sin_test.cpp | 24 bool testResult = DoubleUlpCmp(g_sinData[i].expected, sin(g_sinData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_sinfData[i].expected, sinf(g_sinfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_fabs_test.cpp | 24 bool testResult = DoubleUlpCmp(g_fabsData[i].expected, fabs(g_fabsData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_fabsfData[i].expected, fabsf(g_fabsfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_sinh_test.cpp | 25 bool testResult = DoubleUlpCmp(g_sinhData[i].expected, sinh(g_sinhData[i].input), 2); variable 26 EXPECT_TRUE(testResult); 50 bool testResult = FloatUlpCmp(g_sinhfData[i].expected, sinhf(g_sinhfData[i].input), 2); variable 51 EXPECT_TRUE(testResult);
|
D | math_floor_test.cpp | 24 bool testResult = DoubleUlpCmp(g_floorData[i].expected, floor(g_floorData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_floorfData[i].expected, floorf(g_floorfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
D | math_ceil_test.cpp | 24 bool testResult = DoubleUlpCmp(g_ceilData[i].expected, ceil(g_ceilData[i].input), 1); variable 25 EXPECT_TRUE(testResult); 48 bool testResult = FloatUlpCmp(g_ceilfData[i].expected, ceilf(g_ceilfData[i].input), 1); variable 49 EXPECT_TRUE(testResult);
|
/third_party/typescript/tests/baselines/reference/ |
D | duplicateLocalVariable1.js | 29 var testResult: boolean = false; 31 testResult = testcase.test(); 35 testResult = false; 38 testResult = true; 41 testResult = regex.test(e.message); 44 if (testResult === false) { 50 } else if (!testResult) { 377 var testResult = false; 379 testResult = testcase.test(); 383 testResult = false; [all …]
|
/third_party/node/deps/v8/src/builtins/ |
D | array-findlast.tq | 19 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue, 21 const testResult: JSAny = Call(context, predicate, thisArg, value, k, o); 23 // 5d. If testResult is true, return kValue. 24 if (ToBoolean(testResult)) { 59 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue, 61 const testResult: JSAny = 63 // 5d. If testResult is true, return kValue. 64 if (ToBoolean(testResult)) {
|
D | array-findlastindex.tq | 20 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue, 22 const testResult: JSAny = Call(context, predicate, thisArg, value, k, o); 24 // 5d. If testResult is true, return (k). 25 if (ToBoolean(testResult)) { 60 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue, 62 const testResult: JSAny = 64 // 5d. If testResult is true, return (k). 65 if (ToBoolean(testResult)) {
|