Ads
related to: converting fractions to terminating decimals
Search results
Results From The WOW.Com Content Network
A repeating decimal or recurring decimal is a decimal representation of a number whose digits are eventually periodic (that is, after some place, the same sequence of digits is repeated forever); if this sequence consists only of zeros (that is if there is only a finite number of nonzero digits), the decimal is said to be terminating, and is not considered as repeating.
Every decimal representation of a rational number can be converted to a fraction by converting it into a sum of the integer, non-repeating, and repeating parts and then converting that sum to a single fraction with a common denominator.
In this context, the usual decimals, with a finite number of non-zero digits after the decimal separator, are sometimes called terminating decimals. A repeating decimal is an infinite decimal that, after some place, repeats indefinitely the same sequence of digits (e.g., 5.123144144144144... = 5.123 144 ). [ 4 ]
Another meaning for generalized continued fraction is a generalization to higher dimensions. For example, there is a close relationship between the simple continued fraction in canonical form for the irrational real number α, and the way lattice points in two dimensions lie to either side of the line y = αx. Generalizing this idea, one might ...
Approximation may be needed due to a possibility of non-terminating digits if the reduced fraction's denominator has a prime factor other than any of the base's prime factor(s) to convert to. For example, 0.1 in decimal (1/10) is 0b1/0b1010 in binary, by dividing this in that radix, the result is 0b0.0 0011 (because one of the prime factors of ...
Thus, it is often useful to convert repeating decimals into fractions. A conventional way to indicate a repeating decimal is to place a bar (known as a vinculum) over the digits that repeat, for example 0. 789 = 0.789789789... For repeating patterns that begin immediately after the decimal point, the result of the conversion is the fraction ...
The algorithm terminates when this triplet is the same as one encountered before. The algorithm can also terminate on a i when a i = 2 a 0, [9] which is easier to implement. The expansion will repeat from then on. The sequence [;,,, …] is the continued fraction expansion:
The continued fraction representation for a real number is finite if and only if it is a rational number. In contrast, the decimal representation of a rational number may be finite, for example 137 / 1600 = 0.085625, or infinite with a repeating cycle, for example 4 / 27 = 0.148148148148...