Fix printNum on Visual Studio: sscanf does not scan unsigned hexadecimal 64-bit integers with format specifier "%lf" to a double, so instead explicitly scan hex strings with "%llx". Fixes parsing and writing string hex numbers such as "0x8000000000000000".
Merge pull request #3098 from juj/msvc_hex_strings

MSVC hex strings.