Binary angular measurement: Difference between revisions

Content deleted Content added
Line 13:
For example, with ''n'' = 8, the binary integers (00000000)<sub>2</sub> (fraction 0.00), (01000000)<sub>2</sub> (0.25), (10000000)<sub>2</sub> (0.50), and (11000000)<sub>2</sub> (0.75) represent the angular measures 0°, 90°, 180°, and 270°, respectively.
 
A main advantage of this system is that the addition or subtraction of the integer numeric values with the ''n''-bit arithmetic used in most computers produces results that are consistent with the geometry of angles. Namely, the integer result of the operation is obtainedautomatically reduced [[modular arithmetic|modulo]] 2<sup>''n''</sup>, corresponds tomatching the fact that the angles that differ by an integer number of full turns (2<sup>''n''</sup> units) are equivalent. Thus one does not need to explicitly test or handle the wrap-around, as one must do when using other representations (such as number of degrees or radians in floating-point).<ref name=harg2019/>
 
===Signed fraction of turn===