[DiscordArchive] Oh... wait... what?
[DiscordArchive] Oh... wait... what?
Archived author: Quantam • Posted: 2018-06-04T18:30:44.587000+00:00
Original source
== (v336 * 0.001953125)
Archived author: Quantam • Posted: 2018-06-04T18:34:04.946000+00:00
Original source
So the simplest way of computing it is (y & 0x7FFFu) * 0.001953125 * ( (v335 & 0x8000u) != 0 ? -1.0 : 1.0 )
Archived author: Quantam • Posted: 2018-06-04T18:34:33.294000+00:00
Original source
Why, Blizzard, why??
Archived author: Deleted User • Posted: 2018-06-04T18:48:14.453000+00:00
Original source
Probably cause it works and changing it would be micro optimization
Archived author: schlumpf • Posted: 2018-06-04T19:09:28.472000+00:00
Original source
more likely because this is just what the compiler does automatically based on a bitfield based struct plus a simple conversion function like mine
Archived author: Killshot • Posted: 2018-06-04T19:12:57.717000+00:00
Original source
<@160857905879449600> but you are not compiler!