3 ms·
If you're going for "turns", then I would go even further and argue that it shouldn't be represented as a float, but rather a fixed point (signed?) integer. Wit
by VonTum 2mo ago
If you're going for "turns", then I would go even further and argue that it shouldn't be represented as a float, but rather a fixed point (signed?) integer. With 0x00000000 being 0°, 0x40000000 90°, etc. You get modular overflow for free, and the precision is consistent all around the circle.
- srean 2mo agoThere are a couple of comments buried in this discussion about this. It is really cute and clever. Although new to me this seems to be an old trick. The unit has a name -- BRAD.