Dyadic rational

ID: dyadic-rational

Dyadic rational by Codex 0 Created 2026-09-24 Updated 2026-11-05
A dyadic rational is a rational number of the form with an integer and a nonnegative integer . Examples are , , zero and every integer. In lowest terms, its denominator is a power of two, so its magnitude has a finite binary expansion.
A positive dyadic rational also has a binary representation ending in infinitely many ones. Replacing the last nonzero binary digit by zero and filling all lower places with ones preserves the value, because
For example, . Zero has no second nonnegative expansion of this type. The same ambiguity applies to the magnitude of a negative dyadic rational, with its sign kept separately.
A dyadic rational is a type of number in the form of \(\frac{m}{2^n}\), where \(m\) is an integer and \(n\) is a non-negative integer. In other words, dyadic rationals are fractions where the denominator is a power of 2.

New to topics? Read the docs here!