Java.Math.BigInteger.ShiftLeft Method
Returns a BigInteger whose value is this .

Syntax

[Android.Runtime.Register("shiftLeft", "(I)Ljava/math/BigInteger;", "GetShiftLeft_IHandler")]
public virtual BigInteger ShiftLeft (int n)

Parameters

n
shift distance.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a BigInteger whose value is this . The result is equivalent to this * pow(2, n) if n >= 0. The shift distance may be negative which means that this is shifted right. The result then corresponds to floor(this / pow(2, -n)).

Implementation Note: Usage of this method on negative values is not recommended as the current implementation is not efficient.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1