How do I store a double (64-bit floating point) in the Windows registry?
===

I want to store a `double` (64-bit floating point) into the Window registry.  What's the best way to go about it?

Both a `long` and a `double` are 64-bit values so one option is to convert the double to it's 64-bit representation and store it as a registry "qword".  Another option is to store it as a binary stream.