[RC5] Holding blocks hostage

Bryan Fullerton bryanf at samurai.com
Wed Nov 19 20:32:38 EST 1997


At 07:10 PM 11/19/97 -0600, Daniel Baker wrote:
>What kind of bc do you have that does float and gives decimal answers?

home.bryanf:/usr/home/bryanf> bc -l
bc 1.03 (Nov 2, 1994)
Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
5/2
2.50000000000000000000

>From the man page:

   MATH LIBRARY
       If bc is invoked with the -l option,  a  math  library  is
       preloaded  and  the default scale is set to 20.   The math
       functions will calculate their results to the scale set at
       the time of their call.

Yer welcome.  :)

Bryan
--
bryanf at samurai.com     Home      "You know, sometimes I just want to
bryanf at canoe.ca        Work       be a chicken." - Master FehHead
bryanf at feh.net         FEH!
--
To unsubcribe, send 'unsubscribe rc5' to majordomo at llamas.net
rc5-digest subscribers replace rc5 with rc5-digest



More information about the rc5 mailing list