From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id DA2731F4B4 for ; Thu, 31 Dec 2020 22:48:04 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 3F8DA1209C4; Fri, 1 Jan 2021 07:47:13 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 394AB1209B5 for ; Fri, 1 Jan 2021 07:47:11 +0900 (JST) Received: by filterdrecv-p3iad2-74bd9fb996-f7kzj with SMTP id filterdrecv-p3iad2-74bd9fb996-f7kzj-19-5FEE551C-1C 2020-12-31 22:47:56.773199497 +0000 UTC m=+1813550.121584636 Received: from herokuapp.com (unknown) by ismtpd0013p1iad2.sendgrid.net (SG) with ESMTP id oJUpLl2uQpKr1j5S9vqSoQ for ; Thu, 31 Dec 2020 22:47:56.739 +0000 (UTC) Date: Thu, 31 Dec 2020 22:47:56 +0000 (UTC) From: jzakiya@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 77748 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 17496 X-Redmine-Issue-Author: jzakiya X-Redmine-Sender: jzakiya X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?hWLGb9ELvYJG7iiFsV=2F8yBal=2FMQN45lVm+8if9KQMe4hvkgZLWptP+4j3PjTwO?= =?us-ascii?Q?ERTlOulBMMhFIE3AcSrFgQ8H0Jk7m43Lr2RN2b+?= =?us-ascii?Q?Jlr4kgSQdlTqFXmkxi9WYJd0rGa44+yqGtOy=2FEC?= =?us-ascii?Q?C1wwmXElBtA07k4eBywRp9gS1VZRj9b15fVTTpd?= =?us-ascii?Q?1GHrCc1sXz6lHwrbmaFS3ybQJESoJs1meYitY2c?= =?us-ascii?Q?dI1AaU0i20Q4ZILBY=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 101843 Subject: [ruby-core:101843] [Ruby master Feature#17496] Add constant Math::TAU X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #17496 has been updated by jzakiya (Jabari Zakiya). >From that post 3 years ago. > For the time being, use math-tau gem. > I will add it after (and only after) it became time-proven major, probably due to Python's tau. > > Matz. Well, Python3 added it, so when do you (empirically?, subjectively?) establish it's become ``time-proven``? How many other language adoptions does it take (oh btw, add ``Zig`` to the list too)?. :-( ---------------------------------------- Feature #17496: Add constant Math::TAU https://bugs.ruby-lang.org/issues/17496#change-89672 * Author: jzakiya (Jabari Zakiya) * Status: Rejected * 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/