[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/FloatPrecision.c

Andrew Lenharth alenhar2 at cs.uiuc.edu
Thu Feb 17 11:05:38 PST 2005



Changes in directory llvm-test/SingleSource/UnitTests:

FloatPrecision.c updated: 1.1 -> 1.2
---
Log message:

broken test case

---
Diffs of the changes:  (+1 -1)

 FloatPrecision.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/SingleSource/UnitTests/FloatPrecision.c
diff -u llvm-test/SingleSource/UnitTests/FloatPrecision.c:1.1 llvm-test/SingleSource/UnitTests/FloatPrecision.c:1.2
--- llvm-test/SingleSource/UnitTests/FloatPrecision.c:1.1	Thu Jan 16 16:58:09 2003
+++ llvm-test/SingleSource/UnitTests/FloatPrecision.c	Thu Feb 17 13:05:22 2005
@@ -2,7 +2,7 @@
 
 void print(float X) {
   printf("%f\n", X*2147483647);
-  printf("%x\n", X*2147483647);
+  printf("%x\n", (unsigned)(X*2147483647));
 }
 
 int main() {






More information about the llvm-commits mailing list