On Thu, 10 Aug 2000, Nadav Har'El wrote:
> On Thu, Aug 10, 2000, Ira Abramov wrote about "Re: You ruled me out as a potential
>customer (was: Re: 4 sale...)":
> > On Thu, 10 Aug 2000, Udi Finkelstein wrote:
> >
> > > >> Ram - 294Mb 133 Mhz
> > > c'mon - 294MB?? It's not even a 32MB multiple.
> >
> > [ira@ax ira]$ echo "294/32"|bc
> > 9
> >
> > I would guess 2 128M DIMMS and a spare 32 from somewhere, but a valid
> > point on the Athlon with Intel chipset :-)
> >
> > and Tal: if it's not pre-installed with Linux it's off topic :-))
>
> We're getting more and more off-topic by the moment, but I just had to say
> something about bc (a Linux issue, isn't it?) - Ira, bc's default is to print
> 0 (yes, that's right, zero) digits after the decimal point....
>
> runing
> echo "scale=6; 294/32"|bc
> will get you the correct answer, 9.187500
>
> Because of bc's annoying limitations and syntax, I usually use my own version
> of Brian Kernighan's HOC:
>
> /home/nyh$ hoc
> Welcome to the NYH HOC interpreter.
> Release 9.1.1 (revision 119), Fri Apr 4 16:48:41 IDT 1997.
> hoc> 294/32
> 9.1875
>
> Someday I'll talk with Kernighan about making my version of HOC free
> software... Till then, remember bc's 'scale' variable, or use xcalc :)
Or,
perl -e 'print 294/32'
or
python -c 'print 294.0/32'
or
echo 'puts [expr 294.0/32]' | tclsh
(many others snipped)
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]