| Alternative 1 |
|---|
| Error | 4.6 |
|---|
| Cost | 16420 |
|---|
\[\begin{array}{l}
t_0 := \cos \left(\left(uy \cdot 2\right) \cdot \pi\right)\\
\mathbf{if}\;t_0 \leq 0.9999799728393555:\\
\;\;\;\;t_0 \cdot \sqrt{ux + ux}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{2 \cdot ux - {ux}^{2}}\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 0.5 |
|---|
| Cost | 13504 |
|---|
\[\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{\left(2 - 2 \cdot maxCos\right) \cdot ux + \left(-2 \cdot maxCos + 1\right) \cdot \left(-{ux}^{2}\right)}
\]
| Alternative 3 |
|---|
| Error | 0.8 |
|---|
| Cost | 13376 |
|---|
\[\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{\left(2 - 2 \cdot maxCos\right) \cdot ux + 1 \cdot \left(-{ux}^{2}\right)}
\]
| Alternative 4 |
|---|
| Error | 1.2 |
|---|
| Cost | 13284 |
|---|
\[\begin{array}{l}
\mathbf{if}\;uy \cdot 2 \leq 0.00023499999952036887:\\
\;\;\;\;\sqrt{{\left(1 - maxCos\right)}^{2} \cdot \left(-{ux}^{2}\right) + ux \cdot \left(2 + maxCos \cdot -2\right)}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{2 \cdot ux - {ux}^{2}} \cdot \cos \left(\pi \cdot \left(uy \cdot 2\right)\right)\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 2.9 |
|---|
| Cost | 11588 |
|---|
\[\begin{array}{l}
t_0 := ux - \left(1 + maxCos \cdot ux\right)\\
t_1 := 1 + \left(maxCos \cdot ux - ux\right)\\
t_2 := \cos \left(\left(uy \cdot 2\right) \cdot \pi\right)\\
\mathbf{if}\;\left(1 - ux\right) + ux \cdot maxCos \leq 0.9997000098228455:\\
\;\;\;\;t_2 \cdot \sqrt{1 - \left(t_0 \cdot \left(t_1 \cdot t_1\right)\right) \cdot \frac{t_1}{t_1 \cdot t_0}}\\
\mathbf{else}:\\
\;\;\;\;t_2 \cdot \sqrt{2 \cdot ux + ux \cdot \left(maxCos \cdot -2\right)}\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 2.8 |
|---|
| Cost | 10756 |
|---|
\[\begin{array}{l}
t_0 := \left(1 - ux\right) + ux \cdot maxCos\\
\mathbf{if}\;t_0 \leq 0.9998499751091003:\\
\;\;\;\;\cos \left(-2 - \left(\left(\pi \cdot \left(uy \cdot -2\right) + -1\right) - 1\right)\right) \cdot \sqrt{1 - t_0 \cdot t_0}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{2 \cdot ux + ux \cdot \left(maxCos \cdot -2\right)}\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 2.8 |
|---|
| Cost | 10564 |
|---|
\[\begin{array}{l}
t_0 := \left(1 - ux\right) + ux \cdot maxCos\\
t_1 := \cos \left(\left(uy \cdot 2\right) \cdot \pi\right)\\
\mathbf{if}\;t_0 \leq 0.9998499751091003:\\
\;\;\;\;t_1 \cdot \sqrt{1 - t_0 \cdot t_0}\\
\mathbf{else}:\\
\;\;\;\;t_1 \cdot \sqrt{2 \cdot ux + ux \cdot \left(maxCos \cdot -2\right)}\\
\end{array}
\]
| Alternative 8 |
|---|
| Error | 3.3 |
|---|
| Cost | 10308 |
|---|
\[\begin{array}{l}
t_0 := \cos \left(\left(uy \cdot 2\right) \cdot \pi\right)\\
\mathbf{if}\;\left(1 - ux\right) + ux \cdot maxCos \leq 0.9998499751091003:\\
\;\;\;\;t_0 \cdot \sqrt{1 - \left(ux + -1\right) \cdot \left(ux + -1\right)}\\
\mathbf{else}:\\
\;\;\;\;t_0 \cdot \sqrt{2 \cdot ux + ux \cdot \left(maxCos \cdot -2\right)}\\
\end{array}
\]
| Alternative 9 |
|---|
| Error | 2.9 |
|---|
| Cost | 10244 |
|---|
\[\begin{array}{l}
\mathbf{if}\;uy \cdot 2 \leq 0.0020000000949949026:\\
\;\;\;\;\sqrt{{\left(1 - maxCos\right)}^{2} \cdot \left(-{ux}^{2}\right) + ux \cdot \left(2 + maxCos \cdot -2\right)}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{2 \cdot ux + ux \cdot \left(maxCos \cdot -2\right)}\\
\end{array}
\]
| Alternative 10 |
|---|
| Error | 4.2 |
|---|
| Cost | 10180 |
|---|
\[\begin{array}{l}
\mathbf{if}\;uy \cdot 2 \leq 0.0020000000949949026:\\
\;\;\;\;\sqrt{2 \cdot ux - {ux}^{2}}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{2 \cdot ux + ux \cdot \left(maxCos \cdot -2\right)}\\
\end{array}
\]
| Alternative 11 |
|---|
| Error | 4.2 |
|---|
| Cost | 10116 |
|---|
\[\begin{array}{l}
\mathbf{if}\;uy \cdot 2 \leq 0.0020000000949949026:\\
\;\;\;\;\sqrt{2 \cdot ux - {ux}^{2}}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{ux \cdot \left(\left(2 - maxCos\right) - maxCos\right)}\\
\end{array}
\]
| Alternative 12 |
|---|
| Error | 4.2 |
|---|
| Cost | 10116 |
|---|
\[\begin{array}{l}
\mathbf{if}\;uy \cdot 2 \leq 0.0020000000949949026:\\
\;\;\;\;\sqrt{2 \cdot ux - {ux}^{2}}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{\left(2 - 2 \cdot maxCos\right) \cdot ux}\\
\end{array}
\]
| Alternative 13 |
|---|
| Error | 8.2 |
|---|
| Cost | 6660 |
|---|
\[\begin{array}{l}
\mathbf{if}\;ux \leq 0.0002099999983329326:\\
\;\;\;\;\sqrt{2 \cdot ux + ux \cdot \left(-2 \cdot maxCos\right)}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{1 - {\left(1 - ux\right)}^{2}}\\
\end{array}
\]
| Alternative 14 |
|---|
| Error | 7.7 |
|---|
| Cost | 6592 |
|---|
\[\sqrt{2 \cdot ux - {ux}^{2}}
\]
| Alternative 15 |
|---|
| Error | 11.3 |
|---|
| Cost | 3488 |
|---|
\[\sqrt{2 \cdot ux + ux \cdot \left(-2 \cdot maxCos\right)}
\]
| Alternative 16 |
|---|
| Error | 11.3 |
|---|
| Cost | 3424 |
|---|
\[\sqrt{\left(2 - 2 \cdot maxCos\right) \cdot ux}
\]