Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!quintus!ok From: ok@quintus.UUCP (Richard A. O'Keefe) Newsgroups: comp.unix.questions Subject: Re: Calculators Message-ID: <705@cresswell.quintus.UUCP> Date: 28 Feb 88 03:56:08 GMT References: <12002@brl-adm.ARPA> <821@unmvax.unm.edu> Organization: Quintus Computer Systems, Mountain View, CA Lines: 24 Summary: hoc6 In article <12002@brl-adm.ARPA> roberts@icst-cmr.arpa (John Roberts) writes: >Are there ANY calculator utilities that will run under Unix (4.3) >that support FLOATING POINT operations? Maybe even transcendental >functions? I'm tired of the ones that only work with integers. The calculator I use is hoc6, from the Kernighan & Pike book. The sources were posted to the net quite some time ago. hoc6 is normally interactive, so that you might do % hoc6 x = 1.2 x^3 1.728 ^Z but you can do e.g. % echo "1.2^3" | hoc6 1.728 so it can replace 'expr' as well as 'bc'. To be perfectly frank, I'm switching over to xlisp instead. Not only is it much easier to program, but it's only 2/3 the size... (Thanks, David Betz!) You should be able to get xlisp or hoc6 from an archive server.