Re: Simple calculator
On Thu, Aug 06, 1998 at 08:33:03AM +0200, Dr. Michael Meskes wrote:
> Joey Hess wrote:
> > I just use bc:
> >
> > joey@kite:~/lab>which calc
> > calc () {
> > echo $* | bc -l
> > }
>
> That one´s really nice. However, bc cannot do sin(1), can it?
According to bc(1), sin is called s();
bc 1.04
Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
s(1)
.84147098480789650665
Hamish
--
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: