Skip to content

Instantly share code, notes, and snippets.

@beneater
Created October 30, 2011 00:03
Show Gist options
  • Save beneater/1325274 to your computer and use it in GitHub Desktop.
Save beneater/1325274 to your computer and use it in GitHub Desktop.
<p class="solution"><code><var>plus( A+X, A*YSIGN+Y, B )</var></code></p>
<ul class="choices" data-show="5" data-none="true">
<li><code><var>plus( A+X, YSIGN+Y, B )</var></code></li>
<li><code><var>plus( A+X, YSIGN+Y, A*B )</var></code></li>
<li><code><var>plus( A, X, YSIGN+Y, B )</var></code></li>
<div data-if="A != 1" data-unwrap>
<li><code><var>plus( A+X, A+Y )</var> + <var>FRAC( B , A )</var></code></li>
<li><code><var>FRAC( 1, A )</var><var>X</var> + <var>FRAC( YSIGN, A )</var><var>Y</var> + <var>B</var></code></li>
</div>
<li><code><var>plus( A+X, A*YSIGN+Y, A+B )</var></code></li>
<li><code><var>plus( X, YSIGN+Y, A+B )</var></code></li>
<li><code><var>plus( X, YSIGN+Y, A*B )</var></code></li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment