From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0f862368e4dafd90990fdca630810e49@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] german keymap From: rog@vitanuova.com In-Reply-To: <0bc501c427ca$e3c45b30$0fca7d50@SOMA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 21 Apr 2004 19:41:08 +0100 Topicbox-Message-UUID: 6727f730-eacd-11e9-9e20-41e7f4b1d025 > > dc doesn't take arguments on the command line. > > echo ... | dc % echo 5k 1 3 /p|dc .33333 isn't nearly as convenient as: % fc 1 3 / 0.3333333333 especially since in rio i can just tack on " 60 +" to the end of that line, click Send and thus manipulate the original expression with minimal effort. yes, i know they're more-or-less equivalent (but see below), but i thought i'd mention it because since i wrote it i've found that it's one of those tools that just "fits" really nicely. no particular feature in mind; i just find it consistently satisfying to use. YMMV, of course; i'll freely admit i'm biased :-) > % dc > 5k 1 3/p > .33333 > 2vp > 1.41421 i said *floating* point. > > dc doesn't gives you access to the floating point operators. > > and which set would you like? the set available by including libc.h, or some approximation thereof (e.g. sin, log, sqrt, etc). i presume hoc gives access to these also, but it's overkill for the kind of thing i'm talking about, not to mention awkward to use on the command line.