gcd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package gcd implements algorithms related to the greatest common divisor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calc

func Calc[T constraints.Integer](a, b T) T

Calc calculates the greatest common divisor of a and b using the Euclidean algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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