I am want to try an
Int24 type, purely for storage. It is easy to declare one with
primitive type Int24 <: Signed 24 end
but I am not sure how to access its value.
I only need conversion to and from
Int32, but I don’t think I can use
reinterpret because they don’t have the same number of bits. How can I convert to and from
(BTW, I am aware that I destroy alignment and it will degrade performance; it is an experiment)