Monday, 21 September 2020

Scala: Working with BigInt

 

scala> var x : BigInt = 1234567890
var x: BigInt = 1234567890

scala> var y = x * x * x * x
var y: scala.math.BigInt = 2323057227982592441500937982514410000

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment