From: Nicholas Yue (nicholas@cs.uwa.oz.au)
Date: 12/31/69


Subject: GCC problem ?
Date: Wed, 20 Nov 1991 09:52:10 WST
From: nicholas@cs.uwa.oz.au (Nicholas Yue)

G'day,
  The following program does not behave as expected

----------------cut----------------------cut-----------------------------------
#include <stdio.h>

const static double testvalue = 1.234e-09;

int main(int argc, char **argv)
{
  (void) printf("test value = %e\n",testvalue);
  return(0);
}
----------------cut----------------------cut-----------------------------------
  when compiled under linux's gcc, it prints

        test value = 1.234000e+00

  instead of

        test value = 1.234000e-09

  Anybody have any clues?

Thanks In Advance

nicholas@cs.uwa.oz.au