Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 453 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 453 Bytes

pi_calc

圓周率計算機(測試電腦性能用)

計算原理

  • 割圓法 每次生成2的n方的多邊形並計算其邊長

計算結果

  • 最終輸出值:3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446
  • 正確圓周率:3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446(ChatGPT)