>>>>> "Roddy" == Roddy McColl <roddy_at_visual-ra.swmed.edu> 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_at_gepf44.atr.ansaldo.it Via dei Pescatori 35
tel. 039-10-5732138 16129 Genova, Italy
fax 039-10-5732384
Received on Thu Mar 09 1995 - 03:57:51 NZDT