Content deleted Content added
math typesetting |
punctuation |
||
Line 64:
[[Image:Binary angles.svg|360px|thumb|Binary scaling (B0) representation of angles. <span style="color:black">Black</span> is traditional degrees representation, <span style="color:green">green</span> is BAM as a decimal number and <span style="color:red">red</span> is [[hexadecimal]] 32 bit representation of the BAM.]]
Binary angles are mapped using B0, with 0 as 0 degrees, 0.5 as 90° (or <math>\tfrac{1}{2}\pi</math>), −1.0 or 0.9999999 as 180° (or {{math|π}}), and −0.5 as 270° (or <math>\tfrac{3}{2}\pi</math>). When these binary angles are added using normal [[two's complement]] mathematics, the rotation of the angles is correct, even when crossing the sign boundary;
The terms '''binary angular measurement''' ('''BAM''')<ref name="ship"/> and '''binary angular measurement system''' ('''BAMS''')<ref name="BAMS"/> as well as '''brads''' ('''binary radians''' or '''binary degree''') refer to implementations of binary angles. They find use in robotics, navigation,<ref name="LaPlante_2004"/> computer games,<ref name="Sanglard_1993"/> and digital sensors.<ref name="Parallax_2005"/>
|