Module numb_rs::numerics [−][src]
Expand description
Primitive Number traits for Generic Implementations
Traits
trait used for Primitive number classification of Integers
A common trait for all primitives
trait used for Primitive number classification of Integers
Functions
Greatest common denominator between two unsigned integers using steins algorithm wikipedia implementation, Research Gate has a number of ‘improved’ algorithms which could be implented later, but this will do as a placeholder. Only implemented for unsigned integers Note: Recursive
lowest common multiple is the product of the two values divided by their greatest common denominator