Denso RC5 Specifications Page 452

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 451
15-4
LOG (Function) [Conforms to SLIM]
Function
Obtains a natural logarithm.
Format
LOG (<Expression>)
Explanation
This statement obtains the natural logarithm of the value designated in
<Expression>.
Designate a value that is greater than 0 for <Numeric value>.
If <Expression> includes a double precision real numeral, the obtained value
becomes double precision. Otherwise, a single precision value is obtained.
Explanation: The natural logarithm is a logarithm with the constant
“e” as the base. The value of the constant “e” is
approximately 2.718282. The logarithm of an arbitrary
numeric value of x with n as the base can be obtained
by dividing the natural logarithm of x by the natural
logarithm of n as shown below.
Log
n
x = Log
e
x/Log
e
n
Related Terms
EXP, LOG10
Example
DEFSNG lf1, lf2, lf3, lf4
lf1 = LOG(2) 'Assigns the natural logarithm of 2 to lf1.
lf2 = LOG(lf3/lf4) 'Assigns the natural logarithm of (lf3/lf4) to lf2.
Page view 451
1 2 ... 447 448 449 450 451 452 453 454 455 456 457 ... 691 692

Comments to this Manuals

No comments