Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc236 int double_shift; in TEST() local
237 double double_result = std::frexp(0.0, &double_shift); in TEST()
239 EXPECT_EQ(double_shift, 0); in TEST()
244 double_result = std::frexp(1.0, &double_shift); in TEST()
246 EXPECT_EQ(double_shift, 1); in TEST()
251 double_result = std::frexp(0.25, &double_shift); in TEST()
253 EXPECT_EQ(double_shift, -1); in TEST()
258 double_result = std::frexp(-1.0, &double_shift); in TEST()
260 EXPECT_EQ(double_shift, 1); in TEST()
265 double_result = std::frexp(123.45, &double_shift); in TEST()
[all …]