Mail Archives: djgpp/1997/08/18/18:36:48
Gesam (vsamou AT cict DOT fr) writes:
> I am a french student and I have little problem with GCC
> Here is my program :
>
> #include <math.h>
> main()
> {
> long double a;
> a=PI;
> printf("%22.20Lf",a);
> }
>
> After I use GCC : gcc myprog.c -o myprog.exe -lm
> The result is 3.14159265358979311600
Funny, I count 19 here. Plus those two zeros.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -