cf-0.4.2: Exact real arithmetic using continued fractions

Safe HaskellSafe-Inferred
LanguageHaskell2010

Math.ContinuedFraction.Simple

Description

A "standard" continued fraction, whose terms are all either positive or negative.

Synopsis

Documentation

showCF :: CF -> String Source

Produce the (possibly infinite) decimal expansion of a continued fraction

sqrt2 :: CF Source

The square root of 2