From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30215 invoked from network); 5 Jul 2022 15:20:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2022 15:20:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1657034419; b=J3l2RmOy4x8u8FB+yqprEeS47q2O23fXu7zwwoBawoJ+hp52MoL9KhZi+zBDG+qtNLebqFBszP Q4Cfzdea1XZA0j0sObt8C3g6fD/zjgJCITEeVWAg8XLx2faIIPTMriKy5dEvwkfZRzwqEY+gKG n5MQY9KJrA2nC3y0pBNJh2kF5+d/HQtSyKr9/DB3VExZNP+ilk3qZYvhWEinhiEniWKXAw5Qda QLpMg+Y0ewt4dyEkexmnXd44S9huMly7g4slRpxDsknNyUWKQ9qncYhZW0oc8ZWDlrJdbo66I0 9Z2icX5LVBxczSR11rusvkArjymsgEeKjjHUUIWMHNgLFw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1657034419; bh=p9PpM9XbUJbwE2Ne6u9qPXy2faTiQRWn2eVpmELx6pc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:DKIM-Signature; b=b85cntbp9YvsJTUlMoO8tOr/eX6PvR2ZPflwncz27Y7nbbyy3fcZpnXWfnBLk+S4Efu20H5T03 cFYz59yoRn/yZbbtTxWYsOpejITQjh12ztCG8Mo/AG23/JVb4n0bMKmj8oFvuskZGdmi7/TjUC nFvgc6gR/W6dOvTrw4kz1MnsKYKyJ083Ho2BiNTWMy07h4Ochdp0qneoGJ4lX5XQpeiVE4rAjN yiLBL0iuqGozdR2ti0k51Ar4aiaY8btCSF16XlEeQER59016OtIR+Jpv0aROyJqN6v3NIO+yUj BJeWQnExu49OB/A51f0279EiXHrdZ9+vbzxgBTV3vDm3gA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:Subject:From:To:MIME-version:Date:Message-id:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=/z/eJPcszBJkEnNy6SNbenkqwQiGktk7VySJ74xnYDQ=; b=nJ8/pzFdiZj29w/ax391GxMV/7 1W7YRzxPZu8MsB1NL1MnbCVyTENfUA1BEQYCipyzGu1aw94Ch8gAJYQPCeMdZjQlq5JyHApAQUpiN d2w0sbtVAN00+Es8eanU3PzPW1Xo8WPqQEvY1K2AQ/ntG3Q5g2el5Sp3nD55wxwLQmhBcVpEV0L3V k1w94IgXYXvAkn3KUioVGuZSj2BJMeJBhHOLSe2pXrabcDtHL5GF9hhODv06crDReiqGCc3feH2hD GGYslt7A69w6hYk2aiWq/4wPbDa+vv8b9ZSgYRVYyB5k0kQFBJmLaHB4xR0ZHnFFrERxGLmSqdFrR /JN0kusQ==; Received: from authenticated user by zero.zsh.org with local id 1o8kLa-000Mbq-Mn; Tue, 05 Jul 2022 15:20:18 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:45763) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1o8kKi-000Luu-F4; Tue, 05 Jul 2022 15:19:25 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0REJ00IA3T26LYV0@mta02.eastlink.ca> for zsh-users@zsh.org; Tue, 05 Jul 2022 12:19:21 -0300 (ADT) Received: from [192.168.0.3] ([24.207.90.194]) by Eastlink with ESMTP id 8kKfo0eLqS3RZ8kKfopyWY; Tue, 05 Jul 2022 12:19:21 -0300 X-Authority-Analysis: v=2.4 cv=N8Dsq0xB c=1 sm=1 tr=0 ts=62c45679 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=TgK-wGl5VFCPuWw0mhMA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfvhffutgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeevhedugeetieevveeiueethfffleehkeeugeehtdehgfetjeevhffgkefhieegffenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrdefngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepuddprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: -100 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Message-id: Date: Tue, 5 Jul 2022 08:19:21 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-language: en-US To: Zsh Users From: Ray Andrews Subject: loooong number Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 27865 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Gentlemen: I don't think zsh can do this but she does amaze very often so I'll ask: My sister is memorizing Euler's number, she's at 200 digits and climbing.  She wants me to print it off in blocks of four digits. I can't find exactly that format online.  Now, the formula for the number is easy but the output of course is going to be a floating point number of 200 and counting digits which of course zsh can't handle.  But it occurred to me that if the digits could be computed one at a time (as we can do for pi), then the output could be treated as a simple string to which digits are added indefinitely.  I guess this is really a mathematical question, strictly speaking, but somebody might know.