libc.a bug under OSF/1 1.3

From: Roddy McColl <roddy_at_visual-ra.swmed.edu>
Date: Wed, 08 Mar 1995 12:26:39 -0600 (CST)

The following program does not work using cc on OSF/1 v1.3

main()
{
    double d = 100212.19707;


    printf("%0-15.5f\n", d);

    exit(0);
}

The result is

-15.5f

Has this been fixed on v3.0 ? I know that gcc (2.6.3) with libio.a
(0.66) does not demonstrate this bug.

Roddy McColl
UT Southwestern
Received on Wed Mar 08 1995 - 13:23:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT