[llvm-commits] [llvm] r141831 - /llvm/trunk/unittests/ADT/APFloatTest.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Oct 12 16:14:41 PDT 2011
Author: efriedma
Date: Wed Oct 12 18:14:41 2011
New Revision: 141831
URL: http://llvm.org/viewvc/llvm-project?rev=141831&view=rev
Log:
Attempt to fix MSVC build.
Modified:
llvm/trunk/unittests/ADT/APFloatTest.cpp
Modified: llvm/trunk/unittests/ADT/APFloatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/APFloatTest.cpp?rev=141831&r1=141830&r2=141831&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/APFloatTest.cpp (original)
+++ llvm/trunk/unittests/ADT/APFloatTest.cpp Wed Oct 12 18:14:41 2011
@@ -649,8 +649,8 @@
}
TEST(APFloatTest, getLargest) {
- EXPECT_EQ(3.40282347e+38f, APFloat::getLargest(APFloat::IEEEsingle).convertToFloat());
- EXPECT_EQ(1.7976931348623157e+308, APFloat::getLargest(APFloat::IEEEdouble).convertToDouble());
+ EXPECT_EQ(3.402823466e+38f, APFloat::getLargest(APFloat::IEEEsingle).convertToFloat());
+ EXPECT_EQ(1.7976931348623158e+308, APFloat::getLargest(APFloat::IEEEdouble).convertToDouble());
}
}
More information about the llvm-commits
mailing list