@@ -5508,8 +5508,8 @@ TEST(APFloatTest, ConvertE4M3FNToE5M2) {
5508
5508
EXPECT_TRUE (losesInfo);
5509
5509
EXPECT_EQ (status, APFloat::opInexact);
5510
5510
5511
- // Convert E4M3 denormal to E5M2 normal. Should not be truncated, despite the
5512
- // destination format having one fewer significand bit
5511
+ // Convert E4M3FN denormal to E5M2 normal. Should not be truncated, despite
5512
+ // the destination format having one fewer significand bit
5513
5513
test = APFloat (APFloat::Float8E4M3FN (), " 0x1.Cp-7" );
5514
5514
status = test.convert (APFloat::Float8E5M2 (), APFloat::rmNearestTiesToEven,
5515
5515
&losesInfo);
@@ -5647,8 +5647,8 @@ TEST(APFloatTest, Float8E4M3FNAdd) {
5647
5647
int category;
5648
5648
APFloat::roundingMode roundingMode = APFloat::rmNearestTiesToEven;
5649
5649
} AdditionTests[] = {
5650
- // Test addition operations involving NaN, overflow, and the max E4M3
5651
- // value (448) because E4M3 differs from IEEE-754 types in these regards
5650
+ // Test addition operations involving NaN, overflow, and the max E4M3FN
5651
+ // value (448) because E4M3FN differs from IEEE-754 types in these regards
5652
5652
{FromStr (" 448" ), FromStr (" 16" ), " 448" , APFloat::opInexact,
5653
5653
APFloat::fcNormal},
5654
5654
{FromStr (" 448" ), FromStr (" 18" ), " NaN" ,
@@ -6278,8 +6278,8 @@ TEST(APFloatTest, ConvertE4M3FNUZToE5M2FNUZ) {
6278
6278
EXPECT_TRUE (losesInfo);
6279
6279
EXPECT_EQ (status, APFloat::opInexact);
6280
6280
6281
- // Convert E4M3 denormal to E5M2 normal. Should not be truncated, despite the
6282
- // destination format having one fewer significand bit
6281
+ // Convert E4M3FNUZ denormal to E5M2 normal. Should not be truncated, despite
6282
+ // the destination format having one fewer significand bit
6283
6283
losesInfo = true ;
6284
6284
test = APFloat (APFloat::Float8E4M3FNUZ (), " 0x1.Cp-8" );
6285
6285
status = test.convert (APFloat::Float8E5M2FNUZ (), APFloat::rmNearestTiesToEven,
0 commit comments