Method Pow2
Pow2(BigRational, Int32)
Returns a specified number raised to the specified power.
Declaration
public static BigRational Pow2(BigRational x, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | A BigRational number to be raised to a power. |
System.Int32 | digits | The maximum number of fractional decimal digits in the return value. |
Returns
Type | Description |
---|---|
BigRational | The BigRational number a raised to the power b. |
Remarks
Note: In the current version, the function has not yet been finally optimized for performance
and the accuracy of the last digits has not yet been ensured!