Previous Up Next

6.7.7  Continued fraction representation of a real: dfc

Any real number a can be written as a continued fraction:

a = a0 + 
1

a1 + 
1

a2 + 
1

a3 + ⋯
 

, which is often abbreviated [a0;a1,a2,a3,…]. The dfc command writes a real number as a continued fraction.


Remarks.


Examples.


Previous Up Next