mathematic

package
v0.0.0-...-d7cfe2f Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(a int) int

func DivideAddOnly

func DivideAddOnly(a, b int) (int, error)

DivideAddOnly implements a division with only the Add operator

func Fibonacci

func Fibonacci(n int) int

func FibonacciDyamic

func FibonacciDyamic(n int) int

func IsPrime

func IsPrime(n int) bool

func Min

func Min(b int) int

func Multiply

func Multiply(a, b int) int

func MultiplyAddOnly

func MultiplyAddOnly(a, b int) int

MultiplyAddOnly implements a multiplication with only the Add operator

func Pow

func Pow(a, b int) int

func SubstractAddOnly

func SubstractAddOnly(a, b int) int

SubstractAddOnly implements a substaction with only the Add operator

Types

This section is empty.

Jump to

Keyboard shortcuts

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