NumericContinuedFraction FΒΆ

contfrac.spad line 324 [edit on github]

NumericContinuedFraction provides functions for converting floating point numbers to continued fractions.

continuedFraction: F -> ContinuedFraction Integer

continuedFraction(f) converts the floating point number f to a reduced continued fraction.