math

package
v0.0.3-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package math is a package that contains mathematical algorithms and its different implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPowOfTwoUseLog

func IsPowOfTwoUseLog(number float64) bool

IsPowOfTwoUseLog This function checks if a number is a power of two using the logarithm. The limiting degree can be from 0 to 63. See alternatives in the binary package.

func Phi

func Phi(n int64) int64

Phi is the Euler totient function. This function computes the number of numbers less then n that are coprime with n.

Types

This section is empty.

Directories

Path Synopsis
Package binary describes algorithms that use binary operations for different calculations.
Package binary describes algorithms that use binary operations for different calculations.
Package factorial describes algorithms Factorials calculations.
Package factorial describes algorithms Factorials calculations.

Jump to

Keyboard shortcuts

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