func BenchmarkGoBinomial(test []uint64) { fmt.Println("\nBenchmark running!\n") var b big.Int for _, t := range test { start := time.Nanoseconds() b.Binomial(int64(t), int64(t/3)) stop := time.Nanoseconds() fmt.Printf("Time for %d %d was %.2f sec.\n", t, t/3, float64(stop-start)/1e9) } }