Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferhatelmas/pi
Generate digits of PI with Taylor series
https://github.com/ferhatelmas/pi
go pi taylor-series
Last synced: 26 days ago
JSON representation
Generate digits of PI with Taylor series
- Host: GitHub
- URL: https://github.com/ferhatelmas/pi
- Owner: ferhatelmas
- License: mit
- Created: 2019-09-26T22:59:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T23:06:27.000Z (about 5 years ago)
- Last Synced: 2024-06-20T02:06:04.786Z (5 months ago)
- Topics: go, pi, taylor-series
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pi
Generate digits of PI with Taylor series```go
import "github.com/ferhatelmas/pi"
pi.Digits(10)
// 31415926535
```or
```sh
> go get github.com/ferhatelmas/pi/cmd/pi
> pi -n 10
```