BigInteger.DivideAndRemainder(BigInteger) Método

Definición

Devuelve una matriz de dos bigInteger que contienen (this / val) seguidas de (this % val).

[Android.Runtime.Register("divideAndRemainder", "(Ljava/math/BigInteger;)[Ljava/math/BigInteger;", "GetDivideAndRemainder_Ljava_math_BigInteger_Handler")]
public virtual Java.Math.BigInteger[] DivideAndRemainder(Java.Math.BigInteger val);
[<Android.Runtime.Register("divideAndRemainder", "(Ljava/math/BigInteger;)[Ljava/math/BigInteger;", "GetDivideAndRemainder_Ljava_math_BigInteger_Handler")>]
abstract member DivideAndRemainder : Java.Math.BigInteger -> Java.Math.BigInteger[]
override this.DivideAndRemainder : Java.Math.BigInteger -> Java.Math.BigInteger[]

Parámetros

val
BigInteger

valor por el que se va a dividir este BigInteger y el resto calculado.

Devoluciones

una matriz de dos BigIntegers: el cociente (this / val) es el elemento inicial y el resto (this % val) es el elemento final.

Atributos

Excepciones

si divisor == null.

si divisor == 0.

Comentarios

Java documentación para java.math.BigInteger.divideAndRemainder(java.math.BigInteger).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

Consulte también