Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!uqcspe!cs.uq.oz.au!grue From: grue@cs.uq.oz.au (Frobozz) Newsgroups: comp.sys.handhelds Subject: Re: Accuracy w/ ln and log Message-ID: <1794@uqcspe.cs.uq.oz.au> Date: 6 Jun 91 00:10:21 GMT References: <1991May30.120658.3590@panix.uucp> <3630@charon.cwi.nl> Sender: news@cs.uq.oz.au Reply-To: grue@cs.uq.oz.au Lines: 33 hiya, This stream seems to be never ending .... :-) My little bit is a routine that calculates log to any base using the full 15 digit internal precision. The routine checks its arguments and it only works when given 2 real numbers (unlike the built in log functions which also accept complex numbers and symbolics). To use this program enter the base into level 2 of the stack and the number you want the log of on level 1 and run the program. e.g. Log 3 base 2, would be calculated as: 2 ENTER 3 LOGB [ I call the program LOGB ] Here it is (nice and short): [ ASC format ] "D9D20FDE8199040D9D201C5A2B5BA2322301C5A2B5BA28E9A20B5A2B2130B213 0DFF8" Pauli seeya Paul Dale | Internet/CSnet: grue@cs.uq.oz.au Dept of Computer Science| Bitnet: grue%cs.uq.oz.au@uunet.uu.net Uni of Qld | JANET: grue%cs.uq.oz.au@uk.ac.ukc Australia, 4072 | EAN: grue@cs.uq.oz | UUCP: uunet!munnari!cs.uq.oz!grue f4e6g4Qh4++ | JUNET: grue@cs.uq.oz.au --