"icon-link" aria-hidden="true"></span>
      <span class="sr-only">Link to this function</span>
    </a>
    <h1 class="signature">unit_safe(v)</span>
        
      <div class="specs">
          <pre>unit_safe(<a href="#t:vector/0">vector</a>()) :: <a href="#t:vector/0">vector</a>()</pre>
      </div>
  </div>
  <section class="docstring">
<p>Returns the unit vector parallel ot the given vector, but will handle
the vectors <code class="inline">{0, 0}</code>  and <code class="inline">{0, 0, 0}</code> by ret