Article View: comp.sys.ibm.pc.programmer
Article #751Re: How to calculate LOG10 in BASIC?
From: mms00786
Date: Thu, 14 Jun 1990 22:32
Date: Thu, 14 Jun 1990 22:32
10 lines
696 bytes
696 bytes
Simple: LOG10 x = LOG X / LOG 10 where LOG10 is the log base 10, and LOG is the natural log. You can store LOG 10 = 2.303 as a constant, then everytime you need LOG10, simply take the LOG and divide by that constant. Milan
Technical Details
Message-ID:
<139400005@uxa.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!mms00786References:
<267754@<7196>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!mms00786 From: mms00786@uxa.cso.uiuc.edu Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: How to calculate LOG10 in BASIC? Message-ID: <139400005@uxa.cso.uiuc.edu> Date: 14 Jun 90 22:32:00 GMT References: <267754@<7196> Lines: 10 Nf-ID: #R:<7196:267754:uxa.cso.uiuc.edu:139400005:000:227 Nf-From: uxa.cso.uiuc.edu!mms00786 Jun 14 17:32:00 1990