Remove duplicate code in this header file which seemed to undergo a copy/paste fiasco.
[oota-llvm.git] / unittests / Support / MathExtrasTest.cpp
index 3db1f77d444d5701359cf1be24fa2ecdd835e86c..0a6724c7e70807c9b98398192c9274bc08f4ae2f 100644 (file)
@@ -73,7 +73,7 @@ TEST(MathExtras, CountLeadingOnes_64) {
 }
 
 TEST(MathExtras, FloatBits) {
-  static const float kValue = 5632.34;
+  static const float kValue = 5632.34f;
   EXPECT_FLOAT_EQ(kValue, BitsToFloat(FloatToBits(kValue)));
 }