/third_party/glslang/gtests/ |
D | HexFloat.cpp | 583 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 …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | hex_float_test.cpp | 585 float float_fractions(const std::vector<uint32_t>& fractions) { in float_fractions() function 598 static_cast<float>(ldexp(float_fractions(fractions), exp))) in normalized_significand() 669 EXPECT_EQ(float_fractions({0, 1, 2, 5}), in TEST() 671 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST() 673 EXPECT_EQ(ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST() 680 EXPECT_EQ(-float_fractions({0, 1, 2, 5}), in TEST() 682 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -32), in TEST() 684 EXPECT_EQ(-ldexp(float_fractions({0, 1, 2, 5}), -128), in TEST() 707 HF(float_fractions({0, 1})) in TEST() 712 HF(float_fractions({0, 2, 4})) in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 622 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 …]
|
/third_party/spirv-tools/test/ |
D | hex_float_test.cpp | 622 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 …]
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | hex_float_test.cpp | 622 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 …]
|