// Experiment based on answer from 
// http://stackoverflow.com/questions/573294/when-to-use-reinterpret-cast
//                                                      by sfinktah bungholio

#include <iostream>
using namespace std;

int main() {
	// One use of reinterpret_cast is if you want to apply bitwise operations to 
	// (IEEE 754) floats. For instance:

	double d = 64;

	printf("d: %0.4d\n",
	reinterpret_cast<double&>((reinterpret_cast<int64_t&>(d) >> 1) + (1L << 61))
	);
}