Post Reply 
ln() vs. log()
04-25-2016, 03:59 PM
Post: #25
RE: ln() vs. log()
(04-18-2016 01:37 AM)Tim Wessman Wrote:  There's also the added wrinkle that in most CAS software packages use log(...) as base e and many don't have a base 10 variant.

I wonder whether there ought to be a "log10" function -(identical to log) which makes the code much more readable and avoids any worries that this "log" might have come from someone else's formula which assumed ln..


I remember when I first implemented some astronomical Software, astronomical text would often reference "log" without making clear which log was needed. Until I discovered .that almost always it would be log10 (if I recall correctly), some of my first attempts would call a LOGANY function, which could be quickly changed to call one log or the other until I saw the expected answer...

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ln() vs. log() - Don Shepherd - 04-17-2016, 10:06 PM
RE: ln() vs. log() - Massimo Gnerucci - 04-17-2016, 10:15 PM
RE: ln() vs. log() - Han - 04-17-2016, 10:19 PM
RE: ln() vs. log() - Dave Shaffer - 04-17-2016, 11:50 PM
RE: ln() vs. log() - Tim Wessman - 04-18-2016, 01:37 AM
RE: ln() vs. log() - StephenG1CMZ - 04-25-2016 03:59 PM
RE: ln() vs. log() - Katie Wasserman - 04-18-2016, 02:48 AM
RE: ln() vs. log() - Han - 04-18-2016, 03:05 AM
RE: ln() vs. log() - wojtek - 04-18-2016, 03:42 AM
RE: ln() vs. log() - Jeff_Kearns - 04-18-2016, 10:51 AM
RE: ln() vs. log() - Thomas Radtke - 04-18-2016, 01:14 PM
RE: ln() vs. log() - jebem - 04-19-2016, 02:00 PM
RE: ln() vs. log() - Dieter - 04-19-2016, 09:47 PM
RE: ln() vs. log() - Tugdual - 04-18-2016, 01:25 PM
RE: ln() vs. log() - emece67 - 04-18-2016, 02:41 PM
RE: ln() vs. log() - Andres - 05-13-2022, 10:38 PM
RE: ln() vs. log() - Csaba Tizedes - 04-18-2016, 04:38 PM
RE: ln() vs. log() - Joe Horn - 04-19-2016, 05:33 AM
RE: ln() vs. log() - jebem - 04-19-2016, 12:48 PM
RE: ln() vs. log() - Csaba Tizedes - 04-20-2016, 07:33 AM
RE: ln() vs. log() - emece67 - 04-20-2016, 08:45 AM
RE: ln() vs. log() - emece67 - 04-20-2016, 10:23 AM
RE: ln() vs. log() - JurgenRo - 04-21-2016, 07:52 PM
RE: ln() vs. log() - Marcus von Cube - 04-24-2016, 02:38 PM
RE: ln() vs. log() - Dieter - 04-25-2016, 06:38 AM
RE: ln() vs. log() - Thomas Klemm - 05-13-2022, 11:15 AM
RE: ln() vs. log() - KeithB - 05-16-2022, 01:18 PM



User(s) browsing this thread: 2 Guest(s)