Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.math/BigInt

BigInt

scala.math.BigInt
See theBigInt companion class
objectBigInt

Attributes

Companion
class
Source
BigInt.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
BigInt.type

Members list

Value members

Concrete methods

Constructs aBigInt whose value is equal to that of the specified integer value.

Constructs aBigInt whose value is equal to that of the specified integer value.

Value parameters

i

the specified integer value

Attributes

Returns

the constructedBigInt

Source
BigInt.scala

Constructs aBigInt whose value is equal to that of the specified long value.

Constructs aBigInt whose value is equal to that of the specified long value.

Value parameters

l

the specified long value

Attributes

Returns

the constructedBigInt

Source
BigInt.scala

Translates a byte array containing the two's-complement binary representation of a BigInt into a BigInt.

Translates a byte array containing the two's-complement binary representation of a BigInt into a BigInt.

Attributes

Source
BigInt.scala
defapply(signum:Int,magnitude:Array[Byte]):BigInt

Translates the sign-magnitude representation of a BigInt into a BigInt.

Translates the sign-magnitude representation of a BigInt into a BigInt.

Value parameters

magnitude

big-endian binary representation of the magnitude of the number.

signum

signum of the number (-1 for negative, 0 for zero, 1 for positive).

Attributes

Source
BigInt.scala
defapply(bitlength:Int,certainty:Int,rnd:Random):BigInt

Constructs a randomly generated positive BigInt that is probably prime, with the specified bitLength.

Constructs a randomly generated positive BigInt that is probably prime, with the specified bitLength.

Attributes

Source
BigInt.scala
defapply(numbits:Int,rnd:Random):BigInt

Constructs a randomly generated BigInt, uniformly distributed over the range0 to(2^ numBits - 1), inclusive.

Constructs a randomly generated BigInt, uniformly distributed over the range0 to(2^ numBits - 1), inclusive.

Attributes

Source
BigInt.scala

Translates the decimal String representation of a BigInt into a BigInt.

Translates the decimal String representation of a BigInt into a BigInt.

Attributes

Source
BigInt.scala
defapply(x:String,radix:Int):BigInt

Translates the string representation of aBigInt in the specifiedradix into a BigInt.

Translates the string representation of aBigInt in the specifiedradix into a BigInt.

Attributes

Source
BigInt.scala

Translates ajava.math.BigInteger into a BigInt.

Translates ajava.math.BigInteger into a BigInt.

Attributes

Source
BigInt.scala
defprobablePrime(bitLength:Int,rnd:Random):BigInt

Returns a positive BigInt that is probably prime, with the specified bitLength.

Returns a positive BigInt that is probably prime, with the specified bitLength.

Attributes

Source
BigInt.scala

Implicits

Implicits

implicitdefint2bigInt(i:Int):BigInt

Implicit conversion fromInt toBigInt.

Implicit conversion fromInt toBigInt.

Attributes

Source
BigInt.scala

Implicit conversion fromjava.math.BigInteger toscala.BigInt.

Implicit conversion fromjava.math.BigInteger toscala.BigInt.

Attributes

Source
BigInt.scala
implicitdeflong2bigInt(l:Long):BigInt

Implicit conversion fromLong toBigInt.

Implicit conversion fromLong toBigInt.

Attributes

Source
BigInt.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp