[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/2005-07-17-INT-To-FP.c
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Fri Nov 11 14:26:13 PST 2005
Changes in directory llvm-test/SingleSource/UnitTests:
2005-07-17-INT-To-FP.c updated: 1.3 -> 1.4
---
Log message:
I can only assume the test case is suppose to be correct. Passing the wrong number of args to printf is bad :)
---
Diffs of the changes: (+2 -1)
2005-07-17-INT-To-FP.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm-test/SingleSource/UnitTests/2005-07-17-INT-To-FP.c
diff -u llvm-test/SingleSource/UnitTests/2005-07-17-INT-To-FP.c:1.3 llvm-test/SingleSource/UnitTests/2005-07-17-INT-To-FP.c:1.4
--- llvm-test/SingleSource/UnitTests/2005-07-17-INT-To-FP.c:1.3 Fri Aug 19 11:08:50 2005
+++ llvm-test/SingleSource/UnitTests/2005-07-17-INT-To-FP.c Fri Nov 11 16:25:53 2005
@@ -34,7 +34,8 @@
}
// edge case tests
for (i = 0; i < (sizeof(tests) / sizeof(int)); i++) {
- printf("%d %f %f %f %f\n", (double)(unsigned)tests[i],
+ printf("%d %f %f %f %f\n", i,
+ (double)(unsigned)tests[i],
(double)( signed)tests[i],
(float) (unsigned)tests[i],
(float) ( signed)tests[i]);
More information about the llvm-commits
mailing list