Skip to content
TheChatArchiveThe Chat Archive
Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)Hugging Face OpenAssistant Conversations (oasst2)

how is the precise value of pi calculated?

In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
  1. User

    how is the precise value of pi calculated?

  2. Assistant

    There are several different ways to calculate pi, but since pi has an infinite number of decimal places it is impossible to obtain a definitive answer. A simple way to calculate pi is to use the Gregory-Leibniz series. To do this you need to calculate this formula: π=(4/1)-(4/3)+(4/5)-(4/7)+(4/9)-(4/11)+(4/13)-(4/15) ⋯ The longer the formula you use, the more precise the answer will be.

  3. User

    I know that there exist supercomputers that compute new digits to Pi. They must have some algorithm to compute Pi. Can you tell me which algorithm these supercomputers use?

  4. Assistant

    As of 2022, Pi is usually calculated with the program y-cruncher, witch is based on the Chudnovsky algorithm.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.