Subject: Re: Accuracy w/ ln and log Date: 6 Jun 91 00:10:21 GMT 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 --