Convert array of UINT (16bit) numbers to array of Double (64bit) numbers

@ilmisu See answer I posted to a very similar question here