📅  最后修改于: 2022-03-11 14:45:00.947000             🧑  作者: Mango
代码示例1
const n = 1212121
if big.NewInt(n).ProbablyPrime(0) {
fmt.Println(n, "is prime")
} else {
fmt.Println(n, "is not prime")
}