mod(_:)

Modulus - Int version

BigInt.swift:1188
func mod(_ x: Int) -> Int

Parameters

x

Divisor

Returns

self mod x, a non-negative value