Math FPCore C Julia Wolfram TeX \[\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{\left(\left(a \cdot 2 + 1\right) \cdot b\right) \cdot t}{16}\right)
\]
↓
\[\begin{array}{l}
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 10^{+239}:\\
\;\;\;\;\cos \left(\frac{1}{{\left(\sqrt[3]{\frac{\frac{16}{z}}{t \cdot \mathsf{fma}\left(y, 2, 1\right)}}\right)}^{3}}\right) \cdot \left(x \cdot \cos \left(t \cdot \frac{\mathsf{fma}\left(2, a, 1\right)}{\frac{16}{b}}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
(FPCore (x y z t a b)
:precision binary64
(*
(* x (cos (/ (* (* (+ (* y 2.0) 1.0) z) t) 16.0)))
(cos (/ (* (* (+ (* a 2.0) 1.0) b) t) 16.0)))) ↓
(FPCore (x y z t a b)
:precision binary64
(if (<=
(*
(* x (cos (/ (* (* (+ (* y 2.0) 1.0) z) t) 16.0)))
(cos (/ (* t (* (+ 1.0 (* 2.0 a)) b)) 16.0)))
1e+239)
(*
(cos (/ 1.0 (pow (cbrt (/ (/ 16.0 z) (* t (fma y 2.0 1.0)))) 3.0)))
(* x (cos (* t (/ (fma 2.0 a 1.0) (/ 16.0 b))))))
x)) double code(double x, double y, double z, double t, double a, double b) {
return (x * cos((((((y * 2.0) + 1.0) * z) * t) / 16.0))) * cos((((((a * 2.0) + 1.0) * b) * t) / 16.0));
}
↓
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((x * cos((((((y * 2.0) + 1.0) * z) * t) / 16.0))) * cos(((t * ((1.0 + (2.0 * a)) * b)) / 16.0))) <= 1e+239) {
tmp = cos((1.0 / pow(cbrt(((16.0 / z) / (t * fma(y, 2.0, 1.0)))), 3.0))) * (x * cos((t * (fma(2.0, a, 1.0) / (16.0 / b)))));
} else {
tmp = x;
}
return tmp;
}
function code(x, y, z, t, a, b)
return Float64(Float64(x * cos(Float64(Float64(Float64(Float64(Float64(y * 2.0) + 1.0) * z) * t) / 16.0))) * cos(Float64(Float64(Float64(Float64(Float64(a * 2.0) + 1.0) * b) * t) / 16.0)))
end
↓
function code(x, y, z, t, a, b)
tmp = 0.0
if (Float64(Float64(x * cos(Float64(Float64(Float64(Float64(Float64(y * 2.0) + 1.0) * z) * t) / 16.0))) * cos(Float64(Float64(t * Float64(Float64(1.0 + Float64(2.0 * a)) * b)) / 16.0))) <= 1e+239)
tmp = Float64(cos(Float64(1.0 / (cbrt(Float64(Float64(16.0 / z) / Float64(t * fma(y, 2.0, 1.0)))) ^ 3.0))) * Float64(x * cos(Float64(t * Float64(fma(2.0, a, 1.0) / Float64(16.0 / b))))));
else
tmp = x;
end
return tmp
end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x * N[Cos[N[(N[(N[(N[(N[(y * 2.0), $MachinePrecision] + 1.0), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision] / 16.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Cos[N[(N[(N[(N[(N[(a * 2.0), $MachinePrecision] + 1.0), $MachinePrecision] * b), $MachinePrecision] * t), $MachinePrecision] / 16.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(x * N[Cos[N[(N[(N[(N[(N[(y * 2.0), $MachinePrecision] + 1.0), $MachinePrecision] * z), $MachinePrecision] * t), $MachinePrecision] / 16.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Cos[N[(N[(t * N[(N[(1.0 + N[(2.0 * a), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] / 16.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], 1e+239], N[(N[Cos[N[(1.0 / N[Power[N[Power[N[(N[(16.0 / z), $MachinePrecision] / N[(t * N[(y * 2.0 + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], 3.0], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(x * N[Cos[N[(t * N[(N[(2.0 * a + 1.0), $MachinePrecision] / N[(16.0 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], x]
\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{\left(\left(a \cdot 2 + 1\right) \cdot b\right) \cdot t}{16}\right)
↓
\begin{array}{l}
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 10^{+239}:\\
\;\;\;\;\cos \left(\frac{1}{{\left(\sqrt[3]{\frac{\frac{16}{z}}{t \cdot \mathsf{fma}\left(y, 2, 1\right)}}\right)}^{3}}\right) \cdot \left(x \cdot \cos \left(t \cdot \frac{\mathsf{fma}\left(2, a, 1\right)}{\frac{16}{b}}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
Alternatives Alternative 1 Error 44.2 Cost 41476
\[\begin{array}{l}
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 5 \cdot 10^{+285}:\\
\;\;\;\;x \cdot \left(\cos \left(\left(z \cdot t\right) \cdot \left(0.0625 + \frac{y}{8}\right)\right) \cdot \cos \left({\left(\sqrt[3]{b \cdot \left(t \cdot \left(0.0625 + \frac{a}{8}\right)\right)}\right)}^{3}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 2 Error 44.1 Cost 41476
\[\begin{array}{l}
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 5 \cdot 10^{+285}:\\
\;\;\;\;x \cdot \left(\cos \left(\left(z \cdot t\right) \cdot \left(0.0625 + \frac{y}{8}\right)\right) \cdot \cos \left({\left(\sqrt[3]{\left(t \cdot b\right) \cdot \left(0.0625 + \frac{a}{8}\right)}\right)}^{3}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 3 Error 44.2 Cost 35140
\[\begin{array}{l}
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 10^{+239}:\\
\;\;\;\;\left(x \cdot \cos \left(t \cdot \frac{\mathsf{fma}\left(2, a, 1\right)}{\frac{16}{b}}\right)\right) \cdot \cos \left(\frac{t \cdot \left(-1 + y \cdot -2\right)}{\frac{-16}{z}}\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 4 Error 44.0 Cost 29892
\[\begin{array}{l}
t_1 := z \cdot \left(0.0625 - \frac{y}{8}\right)\\
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 10^{+239}:\\
\;\;\;\;x \cdot \left(\cos \left(\frac{t \cdot \left(z \cdot \left(0.0625 + \frac{y}{8}\right)\right)}{t} \cdot \frac{t \cdot t_1}{t_1}\right) \cdot \cos \left(\left(t \cdot b\right) \cdot \left(0.0625 + \frac{a}{8}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 5 Error 44.0 Cost 28740
\[\begin{array}{l}
\mathbf{if}\;\left(x \cdot \cos \left(\frac{\left(\left(y \cdot 2 + 1\right) \cdot z\right) \cdot t}{16}\right)\right) \cdot \cos \left(\frac{t \cdot \left(\left(1 + 2 \cdot a\right) \cdot b\right)}{16}\right) \leq 2 \cdot 10^{+267}:\\
\;\;\;\;x \cdot \left(\cos \left(\left(t \cdot b\right) \cdot \left(0.0625 + \frac{a}{8}\right)\right) \cdot \cos \left(\frac{z \cdot t}{\frac{1}{0.0625 + \frac{y}{8}}}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 6 Error 45.2 Cost 14408
\[\begin{array}{l}
\mathbf{if}\;t \leq -1 \cdot 10^{-14}:\\
\;\;\;\;\left|x \cdot \cos \left(\left(z \cdot t\right) \cdot 0.0625\right)\right|\\
\mathbf{elif}\;t \leq 1.95 \cdot 10^{-115}:\\
\;\;\;\;x \cdot \left(\cos \left(z \cdot \left(t \cdot \left(0.0625 + y \cdot 0.125\right)\right)\right) \cdot \cos \left(\left(t \cdot b\right) \cdot \left(0.0625 + a \cdot 0.125\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 7 Error 44.8 Cost 64
\[x
\]