= Scala 2.12 BigInt API documentation
{c}
{title2=2.12.8}
Official archived documentation: https://www.scala-lang.org/api/2.12.8/scala/math/BigInt.html
Relevant locators: remainder `%`, `gcd`, `isValidInt` and `toInt`. <Scala>'s `BigInt` provides <arbitrary-precision integer arithmetic>; representability must be checked before conversion to a fixed-width <integer> because narrowing conversion need not preserve the exact value. The archived API corroborates the operations used in the solution without claiming a particular installed Oxford course library version.
Back to article page