В Fri, 5 Nov 2010 13:39:05 -0400
Alejandro Imass <[email protected]> пишет:

> This is how I do it in perl
> use constant PI => 4 * atan2(1, 1);
> 
> In C it owuld probably be (using math.h):
> 
> pi = 4.0*atan(1.0);
> 
> On Fri, Nov 5, 2010 at 1:15 PM, Remko Lodder <[email protected]>
> wrote:
> >
> > No, but a simple search reveals some information;
> >
> > http://einstein.drexel.edu/courses/Comp_Phys/General/C_basics/
> >
> > On Nov 5, 2010, at 5:40 PM, Arthur Bela wrote:
> >
> >> Does anyone has a "generate-pi.c" source code?
> >>
> >> Thanks.. :D :\
> >>
> >
> > --
> > /"\   Best regards,                        | [email protected]
> > \ /   Remko Lodder                      |
> > X    http://www.evilcoder.org/    | Quis custodiet ipsos custodes
> > / \   ASCII Ribbon Campaign    | Against HTML Mail and News
> >
> >
> >
> >
> > _______________________________________________
> > [email protected] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[email protected]"
> >
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[email protected]"
> 
> 

adapt the code to build on FreeBSD...
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to