[CLUG-chat] Calculators

Chris Duncombe Rae duncombe at eddy.wcape.gov.za
Mon Oct 6 11:51:59 SAST 2003





On Mon, 6 Oct 2003, Abraham van der Merwe wrote:

> bc sucks(tm) (:
> 
> What really annoys me about bc is that it can't do floating point math.

Ahem (polite cough) ;) --- bc may not do floating point VERY
WELL, but it does do it...



~ 11:42:27> bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
1234*10^7
12340000000
1234*10^7 + 10324*10^-2
12340000103.24000000000000000000
1.2*10^-5
.00001200000000000000
1.2*10^-5 + 10.3*10^2
1030.00001200000000000000




--

Chris Duncombe Rae

------------------------------------------------------------------
Dr Christopher M. Duncombe Rae,      |      Phone  +27 21 402-3310
Deep-Sea Physical Oceanography,      |      Fax    +27 21 425-6976
Marine & Coastal Management, P. Bag X2, Roggebaai 8012,  S. AFRICA
------------------------------------------------------------------





More information about the Clug-chat mailing list