From: akr@... Date: 2021-01-12T06:14:20+00:00 Subject: [ruby-core:102022] [Ruby master Feature#17496] Add constant Math::TAU Issue #17496 has been updated by akr (Akira Tanaka). akr (Akira Tanaka) wrote in #note-28: > shyouhei (Shyouhei Urabe) wrote in #note-26: > > `M_PI_2` is ��/2 rather than 2��. I guess `Math::PI2` is too confusing. > > I hope that it does not cause big confusion because Ruby has no PI_2. `Math::TWOPI` is yet another idea. ---------------------------------------- Feature #17496: Add constant Math::TAU https://bugs.ruby-lang.org/issues/17496#change-89870 * 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: