Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Continued fraction/Arithmetic/Construct from rational number (view source)
Revision as of 15:43, 2 February 2019
, 5 years ago→{{header|F_Sharp|F#}}
(→{{header|F_Sharp|F#}}: A version for larger numerators and denominators) |
|||
Line 568:
let rec rI2cf n d =
if d = 0I then []
else let q = n / d in (decimal)q :: (
</lang>
|