Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

pi

What is the fastest way to get the value of π?

September 26, 2022 by Tarik

The Monte Carlo method, as mentioned, applies some great concepts but it is, clearly, not the fastest, not by a long shot, not by any reasonable measure. Also, it all depends on what kind of accuracy you are looking for. The fastest π I know of is the one with the digits hard coded. Looking … Read more

Categories performance Tags algorithm, language-agnostic, performance, pi, unix Leave a comment

How do I determine whether my calculation of pi is accurate?

September 7, 2022 by Tarik

Since I’m the current world record holder for the most digits of pi, I’ll add my two cents: Unless you’re actually setting a new world record, the common practice is just to verify the computed digits against the known values. So that’s simple enough. In fact, I have a webpage that lists snippets of digits … Read more

Categories algorithm Tags algorithm, language-agnostic, math, pi Leave a comment
Newer posts
← Previous Page1 Page2

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa