Home
last modified time | relevance | path

Searched refs:testValues (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_m/testsuites/unittest/posix/src/math/
Dmath_func_test.c104 int testValues[] = {-3, 0, 3}; variable
108 ret = abs(testValues[i]);
109 LOG("\n [POSIXTEST][abs]abs(%d) = %d, expected is %d", testValues[i], ret, expected[i]);
123 int testValues[] = {-2147483648, -2147483647, 2147483647}; variable
127 ret = abs(testValues[i]);
128 LOG("\n [POSIXTEST][abs]abs(%d) = %d, expected is %d", testValues[i], ret, expected[i]);
142 double testValues[] = { 0.5, 5.5, 1}; variable
145 PRINT_EMG("GZHTESTLOG PRINT_EMG: %lf, %lf, %lf", testValues[0], testValues[1], testValues[2]);
146 LOG("GZHTESTLOG LOG: %lf, %lf, %lf", testValues[0], testValues[1], testValues[2]);
148 ret = log(testValues[i]);
[all …]
/kernel/liteos_m/testsuites/unittest/xts/math/
Dmath_std_api_test.c53 int testValues[] = {-3, 0, 3}; /* -3, 3 common data for test, no special meaning */ variable
57 ret = abs(testValues[i]);
71 …intmax_t testValues[] = {2147483649, -2147483649, 0}; /* 2147483649, -2147483649 common data for t… variable
76 ret = llabs(testValues[i]);
Dmath_api_test.c53 …float testValues[] = {3.000001, -3.000001, 0.0}; /* 3.000001, -3.000001 common data for test, no s… variable
57 ret = signbit(testValues[i]);