Lines Matching refs:float_fractions

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()
762 HF(static_cast<float>(-ldexp(float_fractions({0, 1, 2, 5}), -128))) in TEST()
767 HF(static_cast<float>(float_fractions({0, 1, 2, 5, 23}))) in TEST()
798 {float_fractions({0}), std::make_pair(half_bits_set({}), false), RD::kToZero},
799 {float_fractions({0}), std::make_pair(half_bits_set({}), false), RD::kToNearestEven},
800 {float_fractions({0}), std::make_pair(half_bits_set({}), false), RD::kToPositiveInfinity},
801 {float_fractions({0}), std::make_pair(half_bits_set({}), false), RD::kToNegativeInfinity},
802 {float_fractions({0, 1}), std::make_pair(half_bits_set({0}), false), RD::kToZero},
804 {float_fractions({0, 1, 11}), std::make_pair(half_bits_set({0}), false), RD::kToZero},
805 …{float_fractions({0, 1, 11}), std::make_pair(half_bits_set({0, 9}), false), RD::kToPositiveInfinit…
806 … {float_fractions({0, 1, 11}), std::make_pair(half_bits_set({0}), false), RD::kToNegativeInfinity},
807 {float_fractions({0, 1, 11}), std::make_pair(half_bits_set({0}), false), RD::kToNearestEven},
809 {float_fractions({0, 1, 10, 11}), std::make_pair(half_bits_set({0, 9}), false), RD::kToZero},
810 …{float_fractions({0, 1, 10, 11}), std::make_pair(half_bits_set({0, 8}), false), RD::kToPositiveInf…
811 …{float_fractions({0, 1, 10, 11}), std::make_pair(half_bits_set({0, 9}), false), RD::kToNegativeInf…
812 …{float_fractions({0, 1, 10, 11}), std::make_pair(half_bits_set({0, 8}), false), RD::kToNearestEven…
814 {float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0}), false), RD::kToZero},
815 …{float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0, 9}), false), RD::kToPositiveInf…
816 …{float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0}), false), RD::kToNegativeInfini…
817 …{float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0, 9}), false), RD::kToNearestEven…
819 {-float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0}), false), RD::kToZero},
820 …{-float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0}), false), RD::kToPositiveInfin…
821 …{-float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0, 9}), false), RD::kToNegativeIn…
822 …{-float_fractions({0, 1, 11, 12}), std::make_pair(half_bits_set({0, 9}), false), RD::kToNearestEve…
824 {float_fractions({0, 1, 11, 22}), std::make_pair(half_bits_set({0}), false), RD::kToZero},
825 …{float_fractions({0, 1, 11, 22}), std::make_pair(half_bits_set({0, 9}), false), RD::kToPositiveInf…
826 …{float_fractions({0, 1, 11, 22}), std::make_pair(half_bits_set({0}), false), RD::kToNegativeInfini…
827 …{float_fractions({0, 1, 11, 22}), std::make_pair(half_bits_set({0, 9}), false), RD::kToNearestEven…
830 …{float_fractions({0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}), std::make_pair(half_bits_set({0, 1, 2, 3…
831 …{float_fractions({0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}), std::make_pair(half_bits_set({}), true),…
832 …{float_fractions({0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}), std::make_pair(half_bits_set({0, 1, 2, 3…
833 …{float_fractions({0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}), std::make_pair(half_bits_set({}), true),…
837 …{static_cast<float>(ldexp(float_fractions({0, 1, 11, 13}), -128)), std::make_pair(half_bits_set({0…
838 …{static_cast<float>(ldexp(float_fractions({0, 1, 11, 13}), -129)), std::make_pair(half_bits_set({0…
839 …{static_cast<float>(ldexp(float_fractions({0, 1, 11, 13}), -131)), std::make_pair(half_bits_set({0…
840 …{static_cast<float>(ldexp(float_fractions({0, 1, 11, 13}), -130)), std::make_pair(half_bits_set({0…
947 {float_fractions({0, 1, 10}),
951 {-float_fractions({0, 1, 10}),
955 {static_cast<float>(ldexp(float_fractions({0, 1, 10}), 3)),
959 {static_cast<float>(-ldexp(float_fractions({0, 1, 10}), 3)),
1053 {0x3F00, float_fractions({0, 1, 2})},
1054 {0xBF00, -float_fractions({0, 1, 2})},
1055 {0x3F01, float_fractions({0, 1, 2, 10})},
1056 {0xBF01, -float_fractions({0, 1, 2, 10})},