|
|
|
|
|
by hinoki
1037 days ago
|
|
32-bit NaN is encoded:
s111 1111 1xxx xxxx xxxx xxxx xxxx xxxx Where both the sign (s) and the x bits can be anything and it will still be treated as a NaN. There are lots of ways to encode colour, but there would be too much red with RGBA, and ARGB could be almost any opaque colour, but the red channel has to be at least 0x80, which is still too much red. So NaNs are too red to encode nvidia green. |
|
Wonder what caused the difference in the latter bits being all 1 or 0 together.