GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — algorithms/algorithms/maths/fast-power at master · arnauddri/algorithms

Expand file tree

/

fast-power

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

fast-power

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
fast_power.go
fast_power.go
 
 
fast_power_test.go
fast_power_test.go
 
 

README.md

Outline

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
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.