power

package
v0.0.0-...-a4a72b7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IterativePower

func IterativePower(n uint, power uint) uint

IterativePower is iterative O(logn) function for pow(x, y)

func RecursivePower

func RecursivePower(n uint, power uint) uint

RecursivePower is recursive O(logn) function for pow(x, y)

func RecursivePower1

func RecursivePower1(n uint, power uint) uint

RecursivePower1 is recursive O(n) function for pow(x, y)

func UsingLog

func UsingLog(a float64, b float64) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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