mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
19 lines
384 B
Markdown
19 lines
384 B
Markdown
# 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
|