span class="special">;</span>
   <span class="special">}</span>
<span class="special">};</span>
</pre>
<p>
        The golden ratio can then be computed to double precision using:
      </p>
<pre class="programlisting"><span class="identifier">continued_fraction_a</span><span class="special">(</span>
   <span class="identifier">golden_ratio_fraction</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;(),</span>
   <span class="identifier">std</span><span class