[clang] [llvm] [APFloat] Add APFloat support for FP4 data type (PR #95392)
Thomas Raoux via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 13 07:45:58 PDT 2024
================
@@ -6907,6 +7028,42 @@ TEST(APFloatTest, ConvertE2M3FToE3M2F) {
EXPECT_EQ(status, APFloat::opInexact);
}
+TEST(APFloatTest, ConvertDoubleToE2M1F) {
+ bool losesInfo;
----------------
ThomasRaoux wrote:
right, not sure why we re-initialize it in the other cases, it's not very consistent
https://github.com/llvm/llvm-project/pull/95392
More information about the cfe-commits
mailing list