(12C) Decimal to Fraction
|
08-09-2018, 12:46 PM
(This post was last modified: 08-09-2018 03:19 PM by Albert Chan.)
Post: #36
|
|||
|
|||
RE: (12C) Decimal to Fraction
(08-09-2018 09:30 AM)Thomas Klemm Wrote: Maybe I missed something but is there a reason for not using Farey sequences? Perhaps Continued Fraction route is faster (and less restriction) ? (08-09-2018 10:30 AM)Dieter Wrote: This should be easy to handle (use 1/input if input>1 and swap numerator and denominator afterwards). Is it better do let Farey sequence handle fraction of input ? Numerator can be easily fixed later. Probably not even need fixing, mixed fraction is a "feature" :-) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)