[DiscordArchive] Wiki page where?
[DiscordArchive] Wiki page where?
Archived author: Quantam • Posted: 2018-06-04T06:44:12.567000+00:00
Original source
Wiki page where?
Archived author: schlumpf • Posted: 2018-06-04T06:44:35.809000+00:00
Original source
https://wowdev.wiki/Common_Types#fixed_point
[Embed: Common Types]
https://wowdev.wiki/Common_Types
Archived author: Quantam • Posted: 2018-06-04T06:45:27.344000+00:00
Original source
I wrote a whole lot of macros for the fixed point math (several dozen of them). Didn't get hose 100% debugged until I implemented unit testing
Archived author: Quantam • Posted: 2018-06-04T06:46:11.017000+00:00
Original source
Ohh. You're using abs+sign? That's unusual
Archived author: Quantam • Posted: 2018-06-04T06:48:56.283000+00:00
Original source
Hmm. / float ((1 << decimal_bits) - 1) is wrong, isn't it? Shouldn't be -1?
Archived author: Quantam • Posted: 2018-06-04T06:50:04.744000+00:00
Original source
Well, I guess it could be, depending on how you wanna interpret it. Would give a value less than -1 for the largest negative value.
Archived author: Quantam • Posted: 2018-06-04T06:50:56.982000+00:00
Original source
I definitely haven't seen that before. Though it does have the benefit of allowing you to represent the entirety of [-1,1]
Archived author: Quantam • Posted: 2018-06-04T06:51:18.568000+00:00
Original source
Actually I may have done that in one audio program I did at one point
Archived author: Quantam • Posted: 2018-06-04T06:51:27.181000+00:00
Original source
For that reason specifically
Archived author: Quantam • Posted: 2018-06-04T06:52:29.773000+00:00
Original source
In my music synth there was at least one place where I stored numbers negated because I needed to represent +max but not -max