[DiscordArchive] Errr. (x >> 9), but (x & (1 << 10) - 1)? Why??
[DiscordArchive] Errr. (x >> 9), but (x & (1 << 10) - 1)? Why??
Archived author: Quantam • Posted: 2018-06-04T07:13:30.292000+00:00
Original source
Errr. (x >> 9), but (x & (1 << 10) - 1)? Why??
Archived author: Quantam • Posted: 2018-06-04T07:14:00.486000+00:00
Original source
What's with the extra bit?
Archived author: Deamon • Posted: 2018-06-04T07:15:27.005000+00:00
Original source
actually... discard that piece of code
Archived author: Deamon • Posted: 2018-06-04T07:15:29.287000+00:00
Original source
and
Archived author: Deamon • Posted: 2018-06-04T07:15:52.358000+00:00
Original source
```
To convert a number from Qm.n format to floating point:
1) Convert the number to floating point as if it were an integer, in other words remove the binary point
2) Multiply by 2−n
```
Archived author: Quantam • Posted: 2018-06-04T07:16:05.594000+00:00
Original source
Right. That's what I was saying
Archived author: Quantam • Posted: 2018-06-04T07:16:18.742000+00:00
Original source
Simple 1 step in Python
Archived author: Deamon • Posted: 2018-06-04T07:16:29.620000+00:00
Original source
fp_6_9 is actually Q7.9
Archived author: Quantam • Posted: 2018-06-04T07:17:21.849000+00:00
Original source
Hmm. Something I never really bothered to look up for certain: "Q" means signed, right?
Archived author: Quantam • Posted: 2018-06-04T07:17:27.614000+00:00
Original source
Two's complement signed