google-deepmind / google-deepmind/lab
Did you know your value of Pi is wrong?
Open
- Dominant language
- C
- Stars
- 7.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/google-deepmind/lab/blob/b1db91af5b4d2f3a24466f4632a3e5e1b0829cca/q3map2/q3map2/light.c#L692
It should be `3.141592654` (with that one-over-two-pi should be `0.159154943`)
This value of pi originated in the original Doom from 1993 and has been copy-pasted into thousands of projects from one to another ever since.
https://youtu.be/_ZSFRWJCUY4?t=897
Contributor guide
Assessment
This issue has not been assessed yet.