[ruby-core:102048] [Ruby master Feature#17496] Add constant Math::TAU
From:
shyouhei@...
Date:
2021-01-13 05:47:03 UTC
List:
ruby-core #102048
Issue #17496 has been updated by shyouhei (Shyouhei Urabe). universato (Yoshimine Sato) wrote in #note-31: > FYI > > https://processing.org/reference/TAU.html > Processing may not be a general purpose language, but it has `TAU` and `TWO_PI` on its core. > Processing has `TAU` since 2013. > > DOI: 10.14736/kyb-2016-6-0943 > http://www.kybernetika.cz/content/2016/6/943 > In this paper τ is used in the Gaussian density function. Thank you! This is the first time I actually see the practical use of this constant. ---------------------------------------- Feature #17496: Add constant Math::TAU https://bugs.ruby-lang.org/issues/17496#change-89904 * Author: jzakiya (Jabari Zakiya) * Status: Open * Priority: Normal ---------------------------------------- Excuse me if this has been brought up before. This is a simple proposal to add the math constant ``Math::TAU`` = 2*``Math::PI``. See: https://tauday.com/ ``TAU`` has been included in a growing number of languages (Rust, Python3, Julia, et al), and this would add Ruby to that list, and make it even cooler. :-) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>