From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 9087 invoked from network); 17 Mar 2020 15:41:32 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from unknown (HELO minnie.tuhs.org) (45.79.103.53) by inbox.vuxu.org with ESMTP; 17 Mar 2020 15:41:32 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 9201E9BFE1; Wed, 18 Mar 2020 01:41:28 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id B25D59BB78; Wed, 18 Mar 2020 01:41:04 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 37BED9BB78; Wed, 18 Mar 2020 01:41:00 +1000 (AEST) Received: from frieza.hoshinet.org (ks3374089.kimsufi.com [37.187.103.66]) by minnie.tuhs.org (Postfix) with ESMTP id 4B4B89BB64 for ; Wed, 18 Mar 2020 01:40:57 +1000 (AEST) Received: by frieza.hoshinet.org (Postfix, from userid 1005) id 44F071C8C79B; Tue, 17 Mar 2020 11:40:54 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by frieza.hoshinet.org (Postfix) with ESMTP id 99CB21C8C798; Tue, 17 Mar 2020 11:40:53 -0400 (EDT) Date: Tue, 17 Mar 2020 11:40:52 -0400 (EDT) From: Steve Nickolas X-X-Sender: nicci@frieza.hoshinet.org To: ca6c@firemail.cc In-Reply-To: <7ec47fd97b1a3d383ffed428f21f5287@firemail.cc> Message-ID: References: <202003132331.02DNVaxN061501@tahoe.cs.Dartmouth.EDU> <7ec47fd97b1a3d383ffed428f21f5287@firemail.cc> User-Agent: Alpine 2.02 (BSF 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [TUHS] The most surprising Unix programs X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, 17 Mar 2020, ca6c@firemail.cc wrote: > Doug McIlroy wrote: >> dc >> >> The math library for Bob Morris's variable-precision desk calculator >> used backward error analysis to determine the precision necessary at >> each step to attain the user-specified precision of the result. In >> my software-components talk at the 1968 NATO conference on software >> engineering, I posited measurement-standard routines, which could deliver >> results of any desired precision, but did not know how to design one. dc >> still has the only such routines I know of. > > dc, along with ed and I guess awk if we can put it here, is one of my > favorite Unix programs that I use daily. I don't even have a "normal" > calculator installed. It just smells like Unix. > > There is something sexy about reverse Polish notation. I really do > encourage everyone reading this to try dc as their "desk calculator" > for some time. > I personally prefer bc. Actually, I use GNU's bc on Windows and MS-DOS too. (Unfortunately the traditional version wouldn't work on MS-DOS where it's just a filter to dc.) -uso.