[comp.sys.apollo] Need help with floating point numbers

dpunjabi@isis.cs.du.edu (Dinesh Punjabi) (05/17/91)

I'm having a problem with cc 6.8 on a 425 Apollo ( 040 upgrade ). I have
this test program that looks like this :

#include <stdio.h>

main()
{
    float a;

    a = 1.0;

    printf( "a = %f\n", a ) ;
}

% cc test1.c
% a.out
% a = 1316880384.000000

The OS is 10.3 with psk8 patch using NON-ANSI environment.
Any clues ??

I do not have any problem running this under the cc 6.7 on SR10.2
Please reply via email ...

Dinesh