ord">val</span> to_float : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> float</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_rational"><a href="#val-to_rational" class="anchor"></a><code><span><span class="keyword">val</span> to_rational : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Mpqf</span>.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored"