fast_power

package
v0.0.0-...-736f5eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2015 License: MIT Imports: 2 Imported by: 0

README

Power Computation

Raises an uint32 integer to the n-th power

Benchmark

Computes 2^100000:

BenchmarkFastPower	50000000	        41.6 ns/op
BenchmarkSlowPower	   10000	    115484 ns/op

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL