WLJS LogoWLJS Notebook

FromContinuedFraction

FromContinuedFraction[list] reconstructs a number from the list of its continued fraction terms.

Examples

Reconstruct a number from continued fraction:

FromContinuedFraction[{3, 7, 15, 1}]

Verify with Pi:

FromContinuedFraction[ContinuedFraction[Pi, 10]]

Please visit the official Wolfram Language Reference for more details.

On this page