|
1 <?xml version='1.0' encoding='UTF-8'?> |
|
2 <panic_category> |
|
3 <category_name>MATHX</category_name> |
|
4 <category_description> <p>These panics represent errors raised by member functions of the <code class="ApiItem">TRealX</code> class. Typically, they are the result 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></category_description> |
|
5 <panics> |
|
6 <panic> |
|
7 <panic_id>0</panic_id> |
|
8 <panic_description><p>This panic is raised by <code>operator/=</code> of a <code class="ApiItem">TRealX</code>, when the divisor is zero</p></panic_description> |
|
9 </panic> |
|
10 <panic> |
|
11 <panic_id>1</panic_id> |
|
12 <panic_description><p>This panic is raised by <code>operator+=</code>, <code>operator-=</code> and <code>operator*=</code> of a <code class="ApiItem">TRealX</code>, when the the result of the operation is an overflow.</p></panic_description> |
|
13 </panic> |
|
14 <panic> |
|
15 <panic_id>2</panic_id> |
|
16 <panic_description><p>This panic is raised by <code>operator+=</code>, <code>operator-=</code> and <code>operator*=</code> of a <code class="ApiItem">TRealX</code>, when the the result of the operation is an underflow.</p></panic_description> |
|
17 </panic> |
|
18 <panic> |
|
19 <panic_id>3</panic_id> |
|
20 <panic_description><p>This panic is raised by <code>operator+=</code>, <code>operator-=</code> and <code>operator*=</code> of a <code class="ApiItem">TRealX</code>, when the the operands are invalid.</p><p>For <code>operator+=</code>, the panic is raised if one of these conditions applies:</p> <p>the target operand is not a number,</p> <p>the source operand is not a number,</p> <p>the target and the source operands are infinite and have different signs.</p> <p> For <code>operator-=</code>, the panic is raised if one of these conditions applies:</p> <p>the target operand is not a number, </p> <p>the source operand is not a number,</p> <p>the target and the source operands are infinite and have different signs</p> <p>For <code>operator*=</code>, the panic is raised if one of these conditions applies:</p> <p>the target operand is not a number, </p> <p>the source operand is not a number, </p> <p>the target operand is infinite and the source operand is zero </p> <p>the target operand is zero and the source operand is infinite.</p> <p>For <code>operator/=</code>, the panic is raised if one of these conditions applies:</p> <p>the target operand is not a number,</p> <p>the source operand is not a number,</p> <p>the target operand and the source operand are both infinite,</p> <p>the target operand and the source operand are both zero.</p></panic_description> |
|
21 </panic> |
|
22 <panic> |
|
23 <panic_id>4</panic_id> |
|
24 <panic_description><p>This panic is raised by a number of operations on <code class="ApiItem">TReal64</code> and <code class="ApiItem">TReal32</code> types when they complete with an error code other than: <code>KErrArgument</code>, <code>KErrDivideByZero</code>, <code>KErrOverflow</code> or <code>KErrUnderflow</code>.</p> </panic_description> |
|
25 </panic> |
|
26 </panics> |
|
27 </panic_category> |