pow

package module
v0.0.0-...-084fede Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

golang-pow-uint

A PowUint implementation for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PowUint

func PowUint[T constraints.Integer | constraints.Float](x T, n uint) T

PowUint provides a faster implementation of x^n where n is a uint the algorithm is O(log2(n))

Types

This section is empty.

Jump to

Keyboard shortcuts

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