diff packages/language/c/libc/current/tests/stdio/sprintf2.c @ 28:18ee5a9c102e ecos-sw-1999-08-09

Merge from eCos master repository on 1999-08-09-17:04:48-BST
author jlarmour
date Mon, 09 Aug 1999 16:37:19 +0000
parents 443894e2e912
children c38311975d4f
line wrap: on
line diff
--- a/packages/language/c/libc/current/tests/stdio/sprintf2.c
+++ b/packages/language/c/libc/current/tests/stdio/sprintf2.c
@@ -159,8 +159,8 @@ test( CYG_ADDRWORD data )
 
     // Check 3
     ret = sprintf(y, "|%5f|%10s|%03d|%c|%+-5.2G|%010.3G|",
-                  2.0, "times", 6, '=', 12.0, -2.345e-6 );
-    my_strcpy(z, "|2.000000|     times|006|=|+12  |-02.34E-06|");
+                  2.0, "times", 6, '=', 12.0, -2.3451e-6 );
+    my_strcpy(z, "|2.000000|     times|006|=|+12  |-02.35E-06|");
 
     CYG_TEST_PASS_FAIL(my_strcmp(y,z) == 0,
                        "|%5f|%10s|%03d|%c|%+-5.2G|%010.3G| test");