I'm having trouble figuring out how to type cast a long into a double. I'm trying to read in a long int and use it in calculations in the AVX Registers. However, I cannot figure out how to cast the long int into a double precision float to be used within AVX registers.
How can I take a long int and turn it into a double precision float?