BigInteger.DivideAndRemainder(BigInteger) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un tableau de deux BigIntegers contenant (this / val) suivi 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[]
Paramètres
- val
- BigInteger
valeur par laquelle ce BigInteger doit être divisé, et le reste calculé.
Retours
tableau de deux BigIntegers : le quotient (this / val) est l’élément initial, et le reste (this % val) est l’élément final.
- Attributs
Exceptions
si divisor == null.
si divisor == 0.
Remarques
Java documentation pour java.math.BigInteger.divideAndRemainder(java.math.BigInteger).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.