Skip to content

Instantly share code, notes, and snippets.

View whiler's full-sized avatar
🇨🇳

whiler whiler

🇨🇳
View GitHub Profile
@whiler
whiler / pi.go
Last active February 18, 2023 01:11 — forked from taiypeo/pi.go
Concurrent π calculation with Golang!
package main
import (
"fmt"
"math"
"runtime"
"time"
)
// Using the Bailey–Borwein–Plouffe formula