package
0.0.0-20240303235359-511227b8aea2
Repository: https://github.com/lukmanern/go-with-me.git
Documentation: pkg.go.dev

# README

Power function in Go

This Go package provides a function that calculates the value of a number raised to a given power.

Features

  • The Pow function can handle positive and negative exponents.
  • The Pow function uses an efficient algorithm to calculate powers.
  • The Pow function returns 1 for any number raised to the power of 0, and for 1 raised to any power.