Modules

This module contains several predefined irrational math constants

Structs

This struct represents a simple continued fraction a0 + 1/(a1 + 1/ (a2 + …)) Where a0, a1, a2 are positive integers It’s capable of representing rational numbers and quadratic surds REF: https://pi.math.cornell.edu/~gautam/ContinuedFractions.pdf https://crypto.stanford.edu/pbc/notes/contfrac/ http://www.numbertheory.org/continued_fractions.html http://www.numbertheory.org/php/cfrac.html

A type representation quadratic surd number (a + b*sqrt(r)) / c

Traits

A marker trait to symbol represents a irrational number