[clang] [llvm] [APFloat] Add APFloat support for FP4 data type (PR #95392)

Durgadoss R via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 11:13:27 PDT 2024


================
@@ -6907,6 +7028,42 @@ TEST(APFloatTest, ConvertE2M3FToE3M2F) {
   EXPECT_EQ(status, APFloat::opInexact);
 }
 
+TEST(APFloatTest, ConvertDoubleToE2M1F) {
+  bool losesInfo;
----------------
durga4github wrote:

Updated this also to be consistent.

https://github.com/llvm/llvm-project/pull/95392


More information about the cfe-commits mailing list