Antilog and AntilogE (Float functions): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Float:Antilog and AntilogE subtitle}}
{{Template:Float:Antilog and AntilogE subtitle}}


These [[Intrinsic classes|intrinsic]] functions return a number that is the natural [http://en.wikipedia.org/wiki/Antilog#Antilogarithms anti-logarithm] (or exponential) of the method object value.
The <var>AntiLog</var> and <var>AntiLogE</var> [[Intrinsic classes|intrinsic]] functions return a number that is the natural [http://en.wikipedia.org/wiki/Antilog#Antilogarithms anti-logarithm] (or exponential) of the method object value. The result is the natural logarithmic base ([http://en.wikipedia.org/wiki/E_%28mathematical_constant%29 &#x212f;]) raised to the power of the method object value.
The result is the natural logarithmic base (''[http://en.wikipedia.org/wiki/E_%28mathematical_constant%29 e]'') raised to the power of the method object value.


''AntiLog'' and ''AntiLogE'' are synonyms.
<var>AntiLog</var> and <var>AntiLogE</var> are synonyms.


Available as of version 7.3 of the <var class=product>Sirius Mods</var>, the AntiLog function is
an object-oriented version of the [[$Exp|$Exp function]] function.
==Syntax==
==Syntax==
{{Template:Float:Antilog syntax}}
{{Template:Float:Antilog syntax}}
{{Template:Float:AntilogE syntax}}
{{Template:Float:AntilogE syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%value </th>
<tr><th>%number </th>
<td>A numeric variable to receive the antilog of the method object. </td></tr>
<td>A numeric variable to receive the antilog of the method object. </td></tr>
<tr><th>number </th>
<tr><th>float </th>
<td>A Float value.</td></tr>
<td>A <var>Float</var> value.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
Although you might expect ''''%x:log:antilog''''
<ul><li>Although you might expect <code>%x:log:antilog</code> to return the value in <code>%x</code>, the good fit techniques used by the <var>[[Log_(Float_function)|Log]]</var> and AntiLog methods make the result not quite exact, as shown in the following example:
to return the value in %x, the good fit techniques used
<p class="code">2:log:antilog = 2.00000000023047
by the [[Intrinsic Log Function|Log]] and AntiLog methods make the result not
3:log:antilog = 3.00000000017113
quite exact, as shown in the following example:
4:log:antilog = 4.00000000047426
    2:log:antilog = 2.00000000023047
5:log:antilog = 5.00000000057644
    3:log:antilog = 3.00000000017113
6:log:antilog = 6.00000000069796
    4:log:antilog = 4.00000000047426
7:log:antilog = 7.00000000056701
    5:log:antilog = 5.00000000057644
8:log:antilog = 8.00000000047046
    6:log:antilog = 6.00000000069796
9:log:antilog = 9.0000000010268
    7:log:antilog = 7.00000000056701
10:log:antilog = 10.0000000005553</p>
    8:log:antilog = 8.00000000047046
<li><var>AntiLog</var> and <var>AntiLogE</var> are object-oriented versions of the <var>[[$Exp]]</var> function.
    9:log:antilog = 9.0000000010268
<li>Available as of <var class="product">Sirius Mods</var> Version 7.3.</ul>
    10:log:antilog = 10.0000000005553
 
==Examples==
==Examples==
 
The following statement returns <code>1:antilog = 2.71828182845905</code>.
The following statement returns ''''1:antilog = 2.71828182845905''''.
<p class="code">[[PrintText statement|printText]] {~} = {1:antilog}</p>
    [[Intrinsic classes#printtext|PrintText]] {~} = {1:antilog}


==See also==
==See also==
{{Template:Float:Antilog and AntilogE footer}}
{{Template:Float:Antilog and AntilogE footer}}

Latest revision as of 17:12, 2 November 2012

Antilog base e of a number (Float class)


The AntiLog and AntiLogE intrinsic functions return a number that is the natural anti-logarithm (or exponential) of the method object value. The result is the natural logarithmic base () raised to the power of the method object value.

AntiLog and AntiLogE are synonyms.

Syntax

%number = float:Antilog

%number = float:AntilogE

Syntax terms

%number A numeric variable to receive the antilog of the method object.
float A Float value.

Usage notes

  • Although you might expect %x:log:antilog to return the value in %x, the good fit techniques used by the Log and AntiLog methods make the result not quite exact, as shown in the following example:

    2:log:antilog = 2.00000000023047 3:log:antilog = 3.00000000017113 4:log:antilog = 4.00000000047426 5:log:antilog = 5.00000000057644 6:log:antilog = 6.00000000069796 7:log:antilog = 7.00000000056701 8:log:antilog = 8.00000000047046 9:log:antilog = 9.0000000010268 10:log:antilog = 10.0000000005553

  • AntiLog and AntiLogE are object-oriented versions of the $Exp function.
  • Available as of Sirius Mods Version 7.3.

Examples

The following statement returns 1:antilog = 2.71828182845905.

printText {~} = {1:antilog}

See also