Document the known sprintf test failures, exact standard
Jarkko Hietaniemi [Wed, 29 Nov 2000 02:44:23 +0000 (02:44 +0000)]
reference from Dominic Dunlop, NonStop-UX testing from Tom Bates.

p4raw-id: //depot/perl@7909

pod/perldelta.pod
t/op/sprintf.t

index 0597ff6..8ea61b3 100644 (file)
@@ -823,6 +823,15 @@ this area.)
 
 No known fix.
 
+=head2 sprintf tests 129 and 130
+
+The op/sprintf tests 129 and 130 are known to fail in some platforms.
+Examples include any platform using sfio, and Tandem's NonStop-UX.
+The failing platforms do not comply with the ANSI C Standard, line
+19ff on page 134 of ANSI X3.159 1989 to be exact.  (They produce
+something else than "1" and "-1" when formatting 0.6 and -0.6 using
+the printf format "%.0f", most often they produce "0" and "-0".)
+
 =head2 Storable tests fail in some platforms
 
 If any Storable tests fail the use of Storable is not advisable.
index 97b66a5..4e80999 100755 (executable)
@@ -229,8 +229,8 @@ __END__
 >%.0f<      >0<           >0<
 >%.0f<      >2**38<       >274877906944<   >Should have exact int'l rep'n<
 >%.0f<      >0.1<         >0<
->%.0f<      >0.6<         >1<              >Known to fail with sfio<
->%.0f<      >-0.6<        >-1<             >Known to fail with sfio<
+>%.0f<      >0.6<         >1<              >Known to fail with sfio and nonstop-ux<
+>%.0f<      >-0.6<        >-1<             >Known to fail with sfio and nonstop-ux<
 >%.0f<      >1<           >1<
 >%#.0f<     >1<           >1.<
 >%g<        >12345.6789<  >12345.7<