BigInteger.Power Method (BigInteger, BigInteger, Rational%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Raises a big integer to the power of a big integer, and stores the result.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Power ( _
bnBase As BigInteger, _
bnExp As BigInteger, _
<OutAttribute> ByRef ratRes As Rational _
) As Boolean
public static bool Power(
BigInteger bnBase,
BigInteger bnExp,
out Rational ratRes
)
public:
static bool Power(
BigInteger bnBase,
BigInteger bnExp,
[OutAttribute] Rational% ratRes
)
static member Power :
bnBase:BigInteger *
bnExp:BigInteger *
ratRes:Rational byref -> bool
public static function Power(
bnBase : BigInteger,
bnExp : BigInteger,
ratRes : Rational
) : boolean
Parameters
- bnBase
Type: Microsoft.SolverFoundation.Common.BigInteger
The number to raise to the bnExp power.
- bnExp
Type: Microsoft.SolverFoundation.Common.BigInteger
The exponent to raise bnBase by.
- ratRes
Type: Microsoft.SolverFoundation.Common.Rational%
The result of raising bnBase to the bnExp power.
Return Value
Type: System.Boolean
true if the result of raising bnBase to the bnExp power is computed and stored as a Rational value; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.