Lines Matching refs:error
92 float exponent, resf, square, root_squared, error; in ZTEST() local
121 error = (square - root_squared) / in ZTEST()
123 if (error < 0.0f) { in ZTEST()
124 error = -error; in ZTEST()
137 error = 0.0f; in ZTEST()
139 zassert_true(error < MAX_FLOAT_ERROR_PERCENT, in ZTEST()
151 double resd, error, square, root_squared, exponent; in ZTEST() local
180 error = (square - root_squared) / in ZTEST()
182 if (error < 0.0) { in ZTEST()
183 error = -error; in ZTEST()
196 error = 0.0; in ZTEST()
198 zassert_true(error < MAX_DOUBLE_ERROR_PERCENT, in ZTEST()