• Found this old C code to calculate Pi

    From Cri-Cri@21:1/5 to Cri-Cri on Tue Jun 18 19:51:53 2024
    On Sun, 16 Jun 2024 20:43:32 GMT, Cri-Cri wrote:

    It's about 250 lines of C.

    I found a smaller and faster algorithm, but it only creates 800 decimals,
    under 0.015 seconds:
    https://crypto.stanford.edu/pbc/notes/pi/code.html

    --
    Cri-Cri

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Cri-Cri@21:1/5 to Stefan Claas on Tue Jun 18 20:53:09 2024
    On Tue, 18 Jun 2024 22:40:54 +0200, Stefan Claas wrote:

    You should check GitHub, for lot's of pi programs.

    Good idea. Thanks. :)

    --
    Cri-Cri

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Claas@21:1/5 to Cri-Cri on Tue Jun 18 22:40:54 2024
    Cri-Cri wrote:

    On Sun, 16 Jun 2024 20:43:32 GMT, Cri-Cri wrote:

    It's about 250 lines of C.

    I found a smaller and faster algorithm, but it only creates 800 decimals, under 0.015 seconds:
    https://crypto.stanford.edu/pbc/notes/pi/code.html


    You should check GitHub, for lot's of pi programs.

    Simply enter there 'compute pi', or something similar
    and it should show you many repositories, in various
    programming languages.

    --
    Regards
    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)