Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Category: MATHX

These panics represent errors raised by member functions of the TRealX class. Typically, they are the result of illegal maths operations, such as dividing by zero, or operations which result in overflow.

The thread causing the panic is terminated.

0

This panic is raised by operator/= of a TRealX, when the divisor is zero

1

This panic is raised by operator+=, operator-= and operator*= of a TRealX, when the the result of the operation is an overflow.

2

This panic is raised by operator+=, operator-= and operator*= of a TRealX, when the the result of the operation is an underflow.

3

This panic is raised by operator+=, operator-= and operator*= of a TRealX, when the the operands are invalid.

For operator+=, the panic is raised if one of these conditions applies:

  • the target operand is not a number

  • the source operand is not a number

  • the target and the source operands are infinite and have different signs.

For operator-=, the panic is raised if one of these conditions applies:

  • the target operand is not a number

  • the source operand is not a number

  • the target and the source operands are infinite and have different signs

For operator*=, the panic is raised if one of these conditions applies:

  • the target operand is not a number

  • the source operand is not a number

  • the target operand is infinite and the source operand is zero

  • the target operand is zero and the source operand is infinite.

For operator/=, the panic is raised if one of these conditions applies:

  • the target operand is not a number

  • the source operand is not a number

  • the target operand and the source operand are both infinite

  • the target operand and the source operand are both zero.

4

This panic is raised by a number of operations on TReal64 and TReal32 types when they complete with an error code other than: KErrArgument, KErrDivideByZero, KErrOverflow or KErrUnderflow.