From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075318306472.tru64-unix-managers.marc@archive.invalid> From: Pier Luigi RATTO Date: Thu, 09 Mar 1995 09:55:21 +0000 To: tru64-unix-managers Subject: Re: libc.a bug under OSF/1 1.3 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075318306472 >>>>> "Roddy" == Roddy McColl writes: Roddy> The following program does not work using cc on OSF/1 v1.3 Roddy> main() { double d = 100212.19707; Roddy> printf("%0-15.5f\n", d); Roddy> exit(0); } Roddy> The result is Roddy> -15.5f Roddy> Has this been fixed on v3.0 ? I know that gcc (2.6.3) with Roddy> libio.a (0.66) does not demonstrate this bug. Roddy> Roddy McColl UT Southwestern I compiled and ran it on my OSF/1 v3.0 (DEC cc compiler) and it worked correctly ! Regards -- Pier Luigi RATTO Ansaldo Trasporti SPA E-mail pier@gepf44.atr.ansaldo.it Via dei Pescatori 35 tel. 039-10-5732138 16129 Genova, Italy fax 039-10-5732384