🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #744

Re: How to calculate LOG10 in BASIC?

#744
From: Rich Winkel
Date: Thu, 14 Jun 1990 22:28
10 lines
881 bytes
In <7196.267754e0@eva.slu.se> jn@eva.slu.se (Jan Nilsson) writes:
>Hello programmers!
>Sorry to disturb You with a (I don't know if I dare say it..) BASIC
>question. I want to calculate the common logarithm (LOG10) and BASIC 
>only support LOG, the natural logarithm. Could it be calculated in 
>another way?

Divide by the natural log of 10 (2.30258) to get the common log.

Rich
Technical Details
Message-ID: <1990Jun14.222850.28424@mthvax.cs.miami.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ncar!umigw!mthvax!mathrich
References: <7196.267754e0@eva.slu.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ncar!umigw!mthvax!mathrich
From: mathrich@mthvax.cs.miami.edu (Rich Winkel)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: How to calculate LOG10 in BASIC?
Message-ID: <1990Jun14.222850.28424@mthvax.cs.miami.edu>
Date: 14 Jun 90 22:28:50 GMT
References: <7196.267754e0@eva.slu.se>
Organization: U of Miami Dept. of Math. and Computer Science, Coral Gables, FL 33124
Lines: 10