Re: how to generate pi in c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/05/2010 09:49 AM, Andrew Haley wrote:
> On 11/05/2010 04:40 PM, Arthur Bela wrote:
>> Does anyone has a "generate-pi.c" source code?
>
> Lots of people do.  You'll have to be a bit more specific about
> what you actually want.  I guess it's more than
>
>     4*atan(1.0)
>
> Andrew.

As a side note, Dan Alderson (He wrote JPL's spaceprobe navigation 
software back in the late '70s, early '80s.) always used that in his 
programs because it got pi to machine accuracy, not just the number of 
digits you wrote.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux