Lines Matching refs:b
165 #define PrintResultEq( a, b, f ) \ argument
166 { OS_TPrintf( ((a) == (b)) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && ((a) == (b)); }
207 int b[] = { 0, 0, 1, 0, -1, 31, 32, -31, -32 }; in MathTest() local
213 result = MATH_MIN(a[i], b[i]); in MathTest()
215 OS_TPrintf("MATH_MIN(%d, %d) = %d\n", a[i], b[i], result); in MathTest()
220 result = MATH_IMin(a[i], b[i]); in MathTest()
222 OS_TPrintf("MATH_IMin(%d, %d) = %d\n", a[i], b[i], result); in MathTest()
227 result = MATH_MAX(a[i], b[i]); in MathTest()
229 OS_TPrintf("MATH_MAX(%d, %d) = %d\n", a[i], b[i], result); in MathTest()
234 result = MATH_IMax(a[i], b[i]); in MathTest()
236 OS_TPrintf("MATH_IMax(%d, %d) = %d\n", a[i], b[i], result); in MathTest()
243 double b[] = { 0, 0, 1, 0, -1, 1.0e-15, 1.0e15, 1.0e-16, 1.0e-15, -1.1e-15, -1.0e-15 }; in MathTest() local
251 result = MATH_MIN(a[i], b[i]); in MathTest()
253 OS_Printf("MATH_MIN(%g, %g) = %g\n", a[i], b[i], result); in MathTest()
258 result = MATH_MAX(a[i], b[i]); in MathTest()
260 OS_Printf("MATH_MAX(%g, %g) = %g\n", a[i], b[i], result); in MathTest()