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.6 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 787ED1F4B4 for ; Fri, 1 Jan 2021 02:41:49 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 00677120B90; Fri, 1 Jan 2021 11:40:59 +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 E3B4C120B8F for ; Fri, 1 Jan 2021 11:40:56 +0900 (JST) Received: by filterdrecv-p3mdw1-7474cd8bfd-mjf6h with SMTP id filterdrecv-p3mdw1-7474cd8bfd-mjf6h-19-5FEE8BE6-1B 2021-01-01 02:41:42.602955602 +0000 UTC m=+1827564.136481839 Received: from herokuapp.com (unknown) by ismtpd0102p1mdw1.sendgrid.net (SG) with ESMTP id CC22SiN1QRmiX4a9_0ehTg for ; Fri, 01 Jan 2021 02:41:42.483 +0000 (UTC) Date: Fri, 01 Jan 2021 02:41:42 +0000 (UTC) From: muraken@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 77750 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 17496 X-Redmine-Issue-Author: jzakiya X-Redmine-Sender: mrkn 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?zpFjjZpImXPpY=2FcRIKDq1ipXkOYTu+Zo9t1k7iA7niCvtvqWD3WbSRVS7fskgK?= =?us-ascii?Q?Mn3oR0NrtMtEnrK9MMcn7zYfUOGDUhNmUVb+KdU?= =?us-ascii?Q?IH+adeW3Yzw9p5=2FfQgUfrVjMO4h=2FniGN4EPXUHp?= =?us-ascii?Q?H4LDHd2jCJwiA3ZTOvLwq=2FDpY31ywkIAXUEChjQ?= =?us-ascii?Q?J5eTASqiQ9D4EQ0Z9BQIupafyfPiOcugYf4GeGB?= =?us-ascii?Q?0YblAXT6C57FdQrsY=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 101845 Subject: [ruby-core:101845] [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 mrkn (Kenta Murata). At least Julia doesn't have `tau` in its core now. There is Tau.jl, but it isn't a standard library. Following Julia's stance to `tau`, we can say that it is enough by providing a gem to define `Math::TAU` for now. I'd like to know how to use tau in languages you listed up other than Julia, Python3, and C#. Could you tell me the way? jzakiya (Jabari Zakiya) wrote in #note-4: > Well, Python3 added it, so when do you (empirically?, subjectively?) establish it's become time-proven? I think we can add `TAU` in core if most mathematicians usually use tau as the circle constant in their academic papers. I don't know how the situation of tau as the circle constant is changed from the time of the previous proposal. I'd like to show my response to the previous pull-request again. https://github.com/ruby/ruby/pull/644#issuecomment-123082639 > - It looks to me that tau as the circle constant isn't popular enough to be introduced in Ruby's core although it has good property. > - So introducing tau is hurt the future Ruby now. Core constants cannot remove easily. > - It's not Ruby's role to help further the acceptance and adoption of tau. > - I found that Python and Julia rejected similar proposals. See https://bugs.python.org/issue12345 and https://github.com/JuliaLang/julia/pull/4864. So, I want to know how many mathematicians accept such tau. Do you know how many academic papers that uses tau as the circle constant have been published so far? ---------------------------------------- Feature #17496: Add constant Math::TAU https://bugs.ruby-lang.org/issues/17496#change-89676 * 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/