Starlink / starlink

Starlink Software Collection
162 stars 53 forks source link

Did you know your value of Pi is wrong? #84

Open Draco18s opened 3 months ago

Draco18s commented 3 months ago

https://github.com/Starlink/starlink/blob/91113a3708a4a2dea767f2987a7e2e3de557bb14/applications/gaia/gaia/library/StarCanvasDraw.tcl#L1320-L1321

It should be 3.141592654 (with that rad-to-degrees conversion value should be 57.295779505601046)

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