|
1 <h1>MATHX</h1> |
|
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 |
|
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> |
|
4 <code>0</code> |
|
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> |
|
6 <code>1</code> |
|
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 |
|
8 result of the operation is an overflow.</p> |
|
9 <code>2</code> |
|
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 |
|
11 result of the operation is an underflow.</p> |
|
12 <code>3</code> |
|
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 |
|
14 operands are invalid.</p><p>For <code>operator+=</code>, the panic is raised if one of these conditions applies:</p> |
|
15 <p>the target operand is not a number,</p> |
|
16 <p>the source operand is not a number,</p> |
|
17 <p>the target and the source operands are infinite and have different signs.</p> |
|
18 <p> For <code>operator-=</code>, the panic is raised if one of these conditions applies:</p> |
|
19 <p>the target operand is not a number, </p> |
|
20 <p>the source operand is not a number,</p> |
|
21 <p>the target and the source operands are infinite and have different signs</p> |
|
22 <p>For <code>operator*=</code>, the panic is raised if one of these conditions applies:</p> |
|
23 <p>the target operand is not a number, </p> |
|
24 <p>the source operand is not a number, </p> |
|
25 <p>the target operand is infinite and the source operand is zero </p> |
|
26 <p>the target operand is zero and the source operand is infinite.</p> |
|
27 <p>For <code>operator/=</code>, the panic is raised if one of these conditions applies:</p> |
|
28 <p>the target operand is not a number,</p> |
|
29 <p>the source operand is not a number,</p> |
|
30 <p>the target operand and the source operand are both infinite,</p> |
|
31 <p>the target operand and the source operand are both zero.</p> |
|
32 <code>4</code> |
|
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 |
|
34 an error code other than: <code>KErrArgument</code>, <code>KErrDivideByZero</code>, <code>KErrOverflow</code> or <code>KErrUnderflow</code>.</p> |