floating point constants_(re)

Wed, 22 Oct 1997 17:42:34 +0200 (MEST)


According to The African Chief:
> > 
> > GPC doesn't like the spaces between e and +.  Use
> > 
> >   1.79e+308
> > 
> > instead of
> > 
> >   1.79e + 308
> 
> You were right. How odd!
> 
> > (I am not sure what the official Pascal standard says about this;
> 
> Me neither.

Me neither.  It's impossible to understand them, as usual,
but I have the impression that they do not want blanks in
numbers.  PEP does not accept it, so at least the standard
does not requiire it.

> > Borland Pascal accepts the spaces).
> 
> Then perhaps GPC also should ?

I don't think so since I consider this a bug in BP, not a feature.

Other opinions?

    Peter

 Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005]
 maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es