Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function IntPower(const Base: TCplx; const N: Integer): TCplx; | Power function (integer power). |
| 2 | function IntPower(const Base: TSCplx; const N: Integer): TSCplx; | |
| 3 | function IntPower(const Base: Double; const Exponent: Integer): Double; | Power function (integer power). |
| 4 | function IntPowerf(const Base: Single; const Exponent: Integer): Single; |
Overload 1: function IntPower(const Base: TCplx; const N: Integer): TCplx;
Power function (integer power).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TCplx | |
| 2 | N | Integer |
Returns: TCplx (complex) - Returns complex Base to an integer power N.
Remarks:
Try to avoid calling this function for small powers. N can also be negative.
See Also: Math387.Power
Overload 2: function IntPower(const Base: TSCplx; const N: Integer): TSCplx;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TSCplx | |
| 2 | N | Integer |
Returns: TSCplx
Overload 3: function IntPower(const Base: Double; const Exponent: Integer): Double;
Power function (integer power).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Double | |
| 2 | Exponent | Integer |
Returns: Double - Base to an integer power N.
Remarks:
Try to avoid calling this function for small powers. N can also be negative.
Overload 4: function IntPowerf(const Base: Single; const Exponent: Integer): Single;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Single | |
| 2 | Exponent | Integer |
Returns: Single