A bunch of pi approximations in different programming languages.
This is the compilation of my series of posts on Repl.it which can be found at https://replit.com/talk/share/p-in-COBOL/140260.
- Ada
- APL
- Bash
- BASIC/QBasic
- C
- C++
- COBOL
- Crystal
- C#
- D
- Dart
- Elixir
- Erlang
- Forth
- Fortran
- F#
- Go
- Haskell
- Haxe
- Java
- JavaScript
- Node.js
- CoffeeScript
- TypeScript
- Julia
- Kotlin
- Lisp
- Scheme
- Clojure
- Emacs Lisp/Elisp
- LOLCODE
- Lua
- MATLAB
- MUMPS/M
- Nim
- Objective-C
- Pascal
- PHP
- Prolog
- Python
- R
- Raku/Perl 6
- Reason Node.js
- Ruby
- Rust
- Scala
- Swift
- Tcl
- V
- Zig