Create constant-tau.md

This commit is contained in:
Bryan Cardwell 2024-08-15 15:08:11 -05:00 committed by GitHub
parent 1486302eff
commit bb9b227e95
Signed by: DevComp
GPG key ID: B5690EEEBB952194

19
docs/constant-tau Normal file
View file

@ -0,0 +1,19 @@
# Constant tau
## Summary
Implement a constant `math.tau` to hold the tau constant.
## Motivation
Currently the value of tau is used in trigonomic calculations through `math.pi * 2`.
The implementation of tau will simplify equations where otherwise math.pi * 2 may be used.
## Design
Define `math.tau` with the value `6.28318530717958647692528676655900577`
## Drawbacks
None