crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/raw_data/MATX.htm
author Matti Laitinen <matti.t.laitinen@nokia.com>
Thu, 11 Feb 2010 15:06:45 +0200
changeset 0 5ad7ad99af01
permissions -rw-r--r--
Initial version of CrashAnalyser under EPL
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     1
<h1>MATHX</h1>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     2
<p>These panics represent errors raised by member functions of the <a href="../reference-cpp/E32_EKA2/TRealXClass.html#%3a%3aTRealX" title="class TRealX"><code class="ApiItem">TRealX</code></a> class. Typically, they are the result
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     3
of illegal maths operations, such as dividing by zero, or operations which result in overflow.</p><p>The thread causing the panic is terminated.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     4
<code>0</code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     5
<p>This panic is raised by <code>operator/=</code> of a <a href="../reference-cpp/E32_EKA2/TRealXClass.html#%3a%3aTRealX" title="class TRealX"><code class="ApiItem">TRealX</code></a>, when the divisor is zero</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     6
<code>1</code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     7
<p>This panic is raised by <code>operator+=</code>, <code>operator-=</code> and <code>operator*=</code> of a <a href="../reference-cpp/E32_EKA2/TRealXClass.html#%3a%3aTRealX" title="class TRealX"><code class="ApiItem">TRealX</code></a>, when the the
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     8
result of the operation is an overflow.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     9
<code>2</code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    10
<p>This panic is raised by <code>operator+=</code>, <code>operator-=</code> and <code>operator*=</code> of a <a href="../reference-cpp/E32_EKA2/TRealXClass.html#%3a%3aTRealX" title="class TRealX"><code class="ApiItem">TRealX</code></a>, when the the
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    11
result of the operation is an underflow.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    12
<code>3</code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    13
<p>This panic is raised by <code>operator+=</code>, <code>operator-=</code> and <code>operator*=</code> of a <a href="../reference-cpp/E32_EKA2/TRealXClass.html#%3a%3aTRealX" title="class TRealX"><code class="ApiItem">TRealX</code></a>, when the the
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    14
operands are invalid.</p><p>For <code>operator+=</code>, the panic is raised if one of these conditions applies:</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    15
<p>the target operand is not a number,</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    16
<p>the source operand is not a number,</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    17
<p>the target and the source operands are infinite and have different signs.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    18
<p> For <code>operator-=</code>, the panic is raised if one of these conditions applies:</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    19
<p>the target operand is not a number, </p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    20
<p>the source operand is not a number,</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    21
<p>the target and the source operands are infinite and have different signs</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    22
<p>For <code>operator*=</code>, the panic is raised if one of these conditions applies:</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    23
<p>the target operand is not a number, </p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    24
<p>the source operand is not a number, </p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    25
<p>the target operand is infinite and the source operand is zero </p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    26
<p>the target operand is zero and the source operand is infinite.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    27
<p>For <code>operator/=</code>, the panic is raised if one of these conditions applies:</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    28
<p>the target operand is not a number,</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    29
<p>the source operand is not a number,</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    30
<p>the target operand and the source operand are both infinite,</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    31
<p>the target operand and the source operand are both zero.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    32
<code>4</code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    33
<p>This panic is raised by a number of operations on <a href="../reference-cpp/E32_EKA2/TReal64Typedef.html#%3a%3aTReal64" title="typedef TReal64"><code class="ApiItem">TReal64</code></a> and <a href="../reference-cpp/E32_EKA2/TReal32Typedef.html#%3a%3aTReal32" title="typedef TReal32"><code class="ApiItem">TReal32</code></a> types when they complete with
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    34
an error code other than: <code>KErrArgument</code>, <code>KErrDivideByZero</code>, <code>KErrOverflow</code> or <code>KErrUnderflow</code>.</p>