[DiscordArchive] 24bit though?
[DiscordArchive] 24bit though?
Archived author: Deamon • Posted: 2024-04-11T11:12:49.806000+00:00
Original source
24bit though?
Archived author: Azarchius • Posted: 2024-04-11T11:13:08.915000+00:00
Original source
it's an unsigned int not a float so it can make use of all 32 bits
Archived author: Deamon • Posted: 2024-04-11T11:13:11.767000+00:00
Original source
I mean, float is 1bit sign, 8 bits mantisssa, 24 bits for numbers
Archived author: Azarchius • Posted: 2024-04-11T11:13:16.841000+00:00
Original source
ok but that's for _floats_
Archived author: Azarchius • Posted: 2024-04-11T11:13:21.958000+00:00
Original source
that's the core of the problem
Archived author: Azarchius • Posted: 2024-04-11T11:13:24.121000+00:00
Original source
trying to read an int as a float.
Archived author: Deamon • Posted: 2024-04-11T11:14:30.278000+00:00
Original source
I think we have a confusion here, from the fact you're presuming these values are 32-bit int, when they are not
Archived author: Azarchius • Posted: 2024-04-11T11:14:49.407000+00:00
Original source
the values that are actually floats are perfectly fine, issue is with very large numbers--such as colors which are just several numbers packed together)
Archived author: Azarchius • Posted: 2024-04-11T11:14:55.483000+00:00
Original source
they are 32bit int
Archived author: Azarchius • Posted: 2024-04-11T11:14:57.865000+00:00
Original source
they are colors