1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[ADT] Fix another "oops" spotted by eddyb and reported in IRC.

This test pretty clearly should be calling 'maxnum' here. =]

llvm-svn: 307519
This commit is contained in:
Chandler Carruth 2017-07-10 05:41:14 +00:00
parent ade81caa2c
commit ba3fe3e64d

View File

@ -552,7 +552,7 @@ TEST(APFloatTest, MaxNum) {
EXPECT_EQ(2.0, maxnum(f1, f2).convertToDouble());
EXPECT_EQ(2.0, maxnum(f2, f1).convertToDouble());
EXPECT_EQ(1.0, maxnum(f1, nan).convertToDouble());
EXPECT_EQ(1.0, minnum(nan, f1).convertToDouble());
EXPECT_EQ(1.0, maxnum(nan, f1).convertToDouble());
}
TEST(APFloatTest, Denormal) {