Allow the user to switch between single and double precision.
Allow the user to switch between single and double precision.