Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/test/
Dhex_float_test.cpp622 float float_fractions(const std::vector<uint32_t>& fractions) { in float_fractions() function
636 static_cast<float>(ldexp(float_fractions(fractions), exp))) in normalized_significand()
714 EXPECT_EQ(float_fractions({0, 1, 2, 5}), in TEST()
716 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST()
718 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST()
725 EXPECT_EQ(-float_fractions({0, 1, 2, 5}), in TEST()
727 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST()
729 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST()
751 HF(float_fractions({0, 1})) in TEST()
756 HF(float_fractions({0, 2, 4})) in TEST()
[all …]
/external/deqp-deps/glslang/gtests/
DHexFloat.cpp583 float float_fractions(const std::vector<uint32_t>& fractions) { in float_fractions() function
596 static_cast<float>(ldexp(float_fractions(fractions), exp))) in normalized_significand()
667 EXPECT_EQ(float_fractions({0, 1, 2, 5}), in TEST()
669 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST()
671 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST()
678 EXPECT_EQ(-float_fractions({0, 1, 2, 5}), in TEST()
680 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST()
682 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST()
705 HF(float_fractions({0, 1})) in TEST()
710 HF(float_fractions({0, 2, 4})) in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp622 float float_fractions(const std::vector<uint32_t>& fractions) { in float_fractions() function
636 static_cast<float>(ldexp(float_fractions(fractions), exp))) in normalized_significand()
714 EXPECT_EQ(float_fractions({0, 1, 2, 5}), in TEST()
716 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST()
718 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST()
725 EXPECT_EQ(-float_fractions({0, 1, 2, 5}), in TEST()
727 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST()
729 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST()
751 HF(float_fractions({0, 1})) in TEST()
756 HF(float_fractions({0, 2, 4})) in TEST()
[all …]