On 11 November 2010 12:06, Wojciech Puchar <woj...@tensor.gdynia.pl> wrote: > >> Does anyone has a "generate-pi.c" source code? > > atanl(1)
Er, arc tan of 1 is pi/4. Try atanl(1)*4, or for a less wasteful instruction try using the constant M_PI Also, forgive me if I'm wrong, but this looks like a homework question. Chris _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"