omment-func-advancedby_">func advancedBy(<wbr>_:)</a>
        
<div class="comment collapse" id="comment-func-advancedby_"><div class="p">
    <p>Returns a <code>Self</code> <code>x</code> such that <code>self.distanceTo(x)</code> approximates
<code>n</code>.</p>

<p><strong>Complexity:</strong> O(1).</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func advancedBy(amount: Double) -&gt; Double</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-distanceto_">
<a class="to