Building with different data types through preprocessor definition in C++
<p>I would like to quickly and correctly change the use of <em>float</em> to <em>double</em> and was advised this could be done through the correct usage of pre-processor definition. Unfortunately I've never done this, but I did however run into the following answer on here:</p>

<p><a href="https://stackoverflow.com/questions/14511910/switching-between-float-and-double-precision-at-compile-time">Switching between float and double precision at compile time</a></p>

<p>I was therefore wondering, if this method is how I should proceed, especially given how large the scope of the program I am dealing with is, or do I use an alternative method? If an alternative method, what recommendations would everyone have?</p>