
(FPCore (x y z t a b)
:precision binary64
(+
x
(/
(*
y
(+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b))
(+
(* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z)
0.607771387771))))
double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + ((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
def code(x, y, z, t, a, b): return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))
function code(x, y, z, t, a, b) return Float64(x + Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))) end
function tmp = code(x, y, z, t, a, b) tmp = x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 16 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b)
:precision binary64
(+
x
(/
(*
y
(+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b))
(+
(* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z)
0.607771387771))))
double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + ((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
def code(x, y, z, t, a, b): return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))
function code(x, y, z, t, a, b) return Float64(x + Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))) end
function tmp = code(x, y, z, t, a, b) tmp = x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\end{array}
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.4e+18)
(+
x
(-
(* y 3.13060547623)
(*
y
(/
(-
36.52704169880642
(/
(+
(+ t 457.9610022158428)
(/
(+
(+ -6976.8927133548 (* t -15.234687407))
(+ a 1112.0901850848957))
z))
z))
z))))
(if (<= z 1.25e+24)
(+
x
(/
(* y (+ b (* z (+ a (* z t)))))
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ 31.4690115749 (* z (* z (+ (/ 15.234687407 z) 1.0))))))))))
(fma
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))
x))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.4e+18) {
tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z)));
} else if (z <= 1.25e+24) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
} else {
tmp = fma(y, (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.4e+18) tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(y * Float64(Float64(36.52704169880642 - Float64(Float64(Float64(t + 457.9610022158428) + Float64(Float64(Float64(-6976.8927133548 + Float64(t * -15.234687407)) + Float64(a + 1112.0901850848957)) / z)) / z)) / z)))); elseif (z <= 1.25e+24) tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * t))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z * Float64(Float64(15.234687407 / z) + 1.0)))))))))); else tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.4e+18], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(y * N[(N[(36.52704169880642 - N[(N[(N[(t + 457.9610022158428), $MachinePrecision] + N[(N[(N[(-6976.8927133548 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision] + N[(a + 1112.0901850848957), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.25e+24], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z * N[(N[(15.234687407 / z), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.4 \cdot 10^{+18}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - y \cdot \frac{36.52704169880642 - \frac{\left(t + 457.9610022158428\right) + \frac{\left(-6976.8927133548 + t \cdot -15.234687407\right) + \left(a + 1112.0901850848957\right)}{z}}{z}}{z}\right)\\
\mathbf{elif}\;z \leq 1.25 \cdot 10^{+24}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot t\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z \cdot \left(\frac{15.234687407}{z} + 1\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}, x\right)\\
\end{array}
\end{array}
if z < -3.4e18Initial program 12.4%
Simplified18.5%
Taylor expanded in z around -inf 84.0%
Taylor expanded in y around 0 96.9%
Simplified98.7%
if -3.4e18 < z < 1.25000000000000011e24Initial program 99.1%
Taylor expanded in z around inf 99.1%
associate-*r/99.1%
metadata-eval99.1%
Simplified99.1%
Taylor expanded in z around 0 91.5%
Taylor expanded in y around 0 99.1%
*-commutative99.1%
Simplified99.1%
if 1.25000000000000011e24 < z Initial program 8.8%
Simplified10.3%
Taylor expanded in z around -inf 99.9%
mul-1-neg99.9%
unsub-neg99.9%
mul-1-neg99.9%
unsub-neg99.9%
+-commutative99.9%
Simplified99.9%
Final simplification99.2%
(FPCore (x y z t a b)
:precision binary64
(if (<=
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
INFINITY)
(fma
y
(/
(fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b)
(fma
z
(fma z (fma z (+ z 15.234687407) 31.4690115749) 11.9400905721)
0.607771387771))
x)
(+
x
(-
(* y 3.13060547623)
(*
y
(/
(-
36.52704169880642
(/
(+
(+ t 457.9610022158428)
(/
(+
(+ -6976.8927133548 (* t -15.234687407))
(+ a 1112.0901850848957))
z))
z))
z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= ((double) INFINITY)) {
tmp = fma(y, (fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b) / fma(z, fma(z, fma(z, (z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), x);
} else {
tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z)));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= Inf) tmp = fma(y, Float64(fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b) / fma(z, fma(z, fma(z, Float64(z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), x); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(y * Float64(Float64(36.52704169880642 - Float64(Float64(Float64(t + 457.9610022158428) + Float64(Float64(Float64(-6976.8927133548 + Float64(t * -15.234687407)) + Float64(a + 1112.0901850848957)) / z)) / z)) / z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], Infinity], N[(y * N[(N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision] / N[(z * N[(z * N[(z * N[(z + 15.234687407), $MachinePrecision] + 31.4690115749), $MachinePrecision] + 11.9400905721), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(y * N[(N[(36.52704169880642 - N[(N[(N[(t + 457.9610022158428), $MachinePrecision] + N[(N[(N[(-6976.8927133548 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision] + N[(a + 1112.0901850848957), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - y \cdot \frac{36.52704169880642 - \frac{\left(t + 457.9610022158428\right) + \frac{\left(-6976.8927133548 + t \cdot -15.234687407\right) + \left(a + 1112.0901850848957\right)}{z}}{z}}{z}\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < +inf.0Initial program 95.1%
Simplified98.5%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) Initial program 0.0%
Simplified0.0%
Taylor expanded in z around -inf 78.2%
Taylor expanded in y around 0 98.0%
Simplified99.9%
Final simplification99.1%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))))
(if (<=
(/
t_1
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
2e+268)
(+
x
(/
t_1
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ 31.4690115749 (* z (* z (+ (/ 15.234687407 z) 1.0))))))))))
(+
x
(-
(* y 3.13060547623)
(*
y
(/
(-
36.52704169880642
(/
(+
(+ t 457.9610022158428)
(/
(+
(+ -6976.8927133548 (* t -15.234687407))
(+ a 1112.0901850848957))
z))
z))
z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b);
double tmp;
if ((t_1 / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= 2e+268) {
tmp = x + (t_1 / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
} else {
tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = y * ((z * ((z * ((z * ((z * 3.13060547623d0) + 11.1667541262d0)) + t)) + a)) + b)
if ((t_1 / ((z * ((z * ((z * (z + 15.234687407d0)) + 31.4690115749d0)) + 11.9400905721d0)) + 0.607771387771d0)) <= 2d+268) then
tmp = x + (t_1 / (0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z * ((15.234687407d0 / z) + 1.0d0)))))))))
else
tmp = x + ((y * 3.13060547623d0) - (y * ((36.52704169880642d0 - (((t + 457.9610022158428d0) + ((((-6976.8927133548d0) + (t * (-15.234687407d0))) + (a + 1112.0901850848957d0)) / z)) / z)) / z)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b);
double tmp;
if ((t_1 / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= 2e+268) {
tmp = x + (t_1 / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
} else {
tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z)));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b) tmp = 0 if (t_1 / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= 2e+268: tmp = x + (t_1 / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0))))))))) else: tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z))) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) tmp = 0.0 if (Float64(t_1 / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= 2e+268) tmp = Float64(x + Float64(t_1 / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z * Float64(Float64(15.234687407 / z) + 1.0)))))))))); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(y * Float64(Float64(36.52704169880642 - Float64(Float64(Float64(t + 457.9610022158428) + Float64(Float64(Float64(-6976.8927133548 + Float64(t * -15.234687407)) + Float64(a + 1112.0901850848957)) / z)) / z)) / z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b); tmp = 0.0; if ((t_1 / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= 2e+268) tmp = x + (t_1 / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0))))))))); else tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(t$95$1 / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], 2e+268], N[(x + N[(t$95$1 / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z * N[(N[(15.234687407 / z), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(y * N[(N[(36.52704169880642 - N[(N[(N[(t + 457.9610022158428), $MachinePrecision] + N[(N[(N[(-6976.8927133548 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision] + N[(a + 1112.0901850848957), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)\\
\mathbf{if}\;\frac{t\_1}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq 2 \cdot 10^{+268}:\\
\;\;\;\;x + \frac{t\_1}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z \cdot \left(\frac{15.234687407}{z} + 1\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - y \cdot \frac{36.52704169880642 - \frac{\left(t + 457.9610022158428\right) + \frac{\left(-6976.8927133548 + t \cdot -15.234687407\right) + \left(a + 1112.0901850848957\right)}{z}}{z}}{z}\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < 1.9999999999999999e268Initial program 98.4%
Taylor expanded in z around inf 98.4%
associate-*r/98.4%
metadata-eval98.4%
Simplified98.4%
if 1.9999999999999999e268 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) Initial program 9.9%
Simplified13.8%
Taylor expanded in z around -inf 74.7%
Taylor expanded in y around 0 94.2%
Simplified96.7%
Final simplification97.6%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.2e+23) (not (<= z 1.02e+24)))
(+
x
(+
(* y 3.13060547623)
(* y (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(* y (+ b (* z (+ a (* z t)))))
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ 31.4690115749 (* z (* z (+ (/ 15.234687407 z) 1.0))))))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.2e+23) || !(z <= 1.02e+24)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-1.2d+23)) .or. (.not. (z <= 1.02d+24))) then
tmp = x + ((y * 3.13060547623d0) + (y * ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z * ((15.234687407d0 / z) + 1.0d0)))))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.2e+23) || !(z <= 1.02e+24)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -1.2e+23) or not (z <= 1.02e+24): tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0))))))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.2e+23) || !(z <= 1.02e+24)) tmp = Float64(x + Float64(Float64(y * 3.13060547623) + Float64(y * Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * t))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z * Float64(Float64(15.234687407 / z) + 1.0)))))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -1.2e+23) || ~((z <= 1.02e+24))) tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0))))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.2e+23], N[Not[LessEqual[z, 1.02e+24]], $MachinePrecision]], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(y * N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z * N[(N[(15.234687407 / z), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.2 \cdot 10^{+23} \lor \neg \left(z \leq 1.02 \cdot 10^{+24}\right):\\
\;\;\;\;x + \left(y \cdot 3.13060547623 + y \cdot \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot t\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z \cdot \left(\frac{15.234687407}{z} + 1\right)\right)\right)\right)}\\
\end{array}
\end{array}
if z < -1.2e23 or 1.02000000000000004e24 < z Initial program 9.1%
Simplified11.5%
Taylor expanded in z around -inf 85.4%
Taylor expanded in y around 0 95.9%
associate-/l*98.4%
mul-1-neg98.4%
unsub-neg98.4%
+-commutative98.4%
Simplified98.4%
if -1.2e23 < z < 1.02000000000000004e24Initial program 97.8%
Taylor expanded in z around inf 97.8%
associate-*r/97.8%
metadata-eval97.8%
Simplified97.8%
Taylor expanded in z around 0 90.4%
Taylor expanded in y around 0 97.8%
*-commutative97.8%
Simplified97.8%
Final simplification98.1%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.3e+18)
(+
x
(-
(* y 3.13060547623)
(*
y
(/
(-
36.52704169880642
(/
(+
(+ t 457.9610022158428)
(/
(+
(+ -6976.8927133548 (* t -15.234687407))
(+ a 1112.0901850848957))
z))
z))
z))))
(if (<= z 1.1e+24)
(+
x
(/
(* y (+ b (* z (+ a (* z t)))))
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ 31.4690115749 (* z (* z (+ (/ 15.234687407 z) 1.0))))))))))
(+
x
(+
(* y 3.13060547623)
(* y (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.3e+18) {
tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z)));
} else if (z <= 1.1e+24) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
} else {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (z <= (-3.3d+18)) then
tmp = x + ((y * 3.13060547623d0) - (y * ((36.52704169880642d0 - (((t + 457.9610022158428d0) + ((((-6976.8927133548d0) + (t * (-15.234687407d0))) + (a + 1112.0901850848957d0)) / z)) / z)) / z)))
else if (z <= 1.1d+24) then
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z * ((15.234687407d0 / z) + 1.0d0)))))))))
else
tmp = x + ((y * 3.13060547623d0) + (y * ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.3e+18) {
tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z)));
} else if (z <= 1.1e+24) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0)))))))));
} else {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -3.3e+18: tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z))) elif z <= 1.1e+24: tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0))))))))) else: tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.3e+18) tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(y * Float64(Float64(36.52704169880642 - Float64(Float64(Float64(t + 457.9610022158428) + Float64(Float64(Float64(-6976.8927133548 + Float64(t * -15.234687407)) + Float64(a + 1112.0901850848957)) / z)) / z)) / z)))); elseif (z <= 1.1e+24) tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * t))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z * Float64(Float64(15.234687407 / z) + 1.0)))))))))); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) + Float64(y * Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -3.3e+18) tmp = x + ((y * 3.13060547623) - (y * ((36.52704169880642 - (((t + 457.9610022158428) + (((-6976.8927133548 + (t * -15.234687407)) + (a + 1112.0901850848957)) / z)) / z)) / z))); elseif (z <= 1.1e+24) tmp = x + ((y * (b + (z * (a + (z * t))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z * ((15.234687407 / z) + 1.0))))))))); else tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.3e+18], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(y * N[(N[(36.52704169880642 - N[(N[(N[(t + 457.9610022158428), $MachinePrecision] + N[(N[(N[(-6976.8927133548 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision] + N[(a + 1112.0901850848957), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e+24], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z * N[(N[(15.234687407 / z), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(y * N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.3 \cdot 10^{+18}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - y \cdot \frac{36.52704169880642 - \frac{\left(t + 457.9610022158428\right) + \frac{\left(-6976.8927133548 + t \cdot -15.234687407\right) + \left(a + 1112.0901850848957\right)}{z}}{z}}{z}\right)\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+24}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot t\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z \cdot \left(\frac{15.234687407}{z} + 1\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 + y \cdot \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\end{array}
\end{array}
if z < -3.3e18Initial program 12.4%
Simplified18.5%
Taylor expanded in z around -inf 84.0%
Taylor expanded in y around 0 96.9%
Simplified98.7%
if -3.3e18 < z < 1.10000000000000001e24Initial program 99.1%
Taylor expanded in z around inf 99.1%
associate-*r/99.1%
metadata-eval99.1%
Simplified99.1%
Taylor expanded in z around 0 91.5%
Taylor expanded in y around 0 99.1%
*-commutative99.1%
Simplified99.1%
if 1.10000000000000001e24 < z Initial program 8.8%
Simplified10.3%
Taylor expanded in z around -inf 82.9%
Taylor expanded in y around 0 96.6%
associate-/l*99.9%
mul-1-neg99.9%
unsub-neg99.9%
+-commutative99.9%
Simplified99.9%
Final simplification99.2%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.12e+23) (not (<= z 1.05e+24)))
(+
x
(+
(* y 3.13060547623)
(* y (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(* y (+ b (* z a)))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.12e+23) || !(z <= 1.05e+24)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * a))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-1.12d+23)) .or. (.not. (z <= 1.05d+24))) then
tmp = x + ((y * 3.13060547623d0) + (y * ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * (b + (z * a))) / ((z * ((z * ((z * (z + 15.234687407d0)) + 31.4690115749d0)) + 11.9400905721d0)) + 0.607771387771d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.12e+23) || !(z <= 1.05e+24)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * a))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -1.12e+23) or not (z <= 1.05e+24): tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * (b + (z * a))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.12e+23) || !(z <= 1.05e+24)) tmp = Float64(x + Float64(Float64(y * 3.13060547623) + Float64(y * Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * a))) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -1.12e+23) || ~((z <= 1.05e+24))) tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * (b + (z * a))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.12e+23], N[Not[LessEqual[z, 1.05e+24]], $MachinePrecision]], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(y * N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+23} \lor \neg \left(z \leq 1.05 \cdot 10^{+24}\right):\\
\;\;\;\;x + \left(y \cdot 3.13060547623 + y \cdot \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771}\\
\end{array}
\end{array}
if z < -1.12e23 or 1.0500000000000001e24 < z Initial program 9.1%
Simplified11.5%
Taylor expanded in z around -inf 85.4%
Taylor expanded in y around 0 95.9%
associate-/l*98.4%
mul-1-neg98.4%
unsub-neg98.4%
+-commutative98.4%
Simplified98.4%
if -1.12e23 < z < 1.0500000000000001e24Initial program 97.8%
Taylor expanded in z around 0 91.0%
Taylor expanded in y around 0 91.7%
+-commutative91.7%
*-commutative91.7%
Simplified91.7%
Final simplification94.6%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -2.3e+19) (not (<= z 0.55)))
(+
x
(+
(* y 3.13060547623)
(* y (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(* y (+ b (* z a)))
(+ 0.607771387771 (* z (+ 11.9400905721 (* z 31.4690115749))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+19) || !(z <= 0.55)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * a))) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-2.3d+19)) .or. (.not. (z <= 0.55d0))) then
tmp = x + ((y * 3.13060547623d0) + (y * ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * (b + (z * a))) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * 31.4690115749d0)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+19) || !(z <= 0.55)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * a))) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749)))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.3e+19) or not (z <= 0.55): tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * (b + (z * a))) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.3e+19) || !(z <= 0.55)) tmp = Float64(x + Float64(Float64(y * 3.13060547623) + Float64(y * Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * a))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * 31.4690115749)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.3e+19) || ~((z <= 0.55))) tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * (b + (z * a))) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.3e+19], N[Not[LessEqual[z, 0.55]], $MachinePrecision]], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(y * N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{+19} \lor \neg \left(z \leq 0.55\right):\\
\;\;\;\;x + \left(y \cdot 3.13060547623 + y \cdot \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot 31.4690115749\right)}\\
\end{array}
\end{array}
if z < -2.3e19 or 0.55000000000000004 < z Initial program 12.2%
Simplified15.9%
Taylor expanded in z around -inf 82.8%
Taylor expanded in y around 0 92.7%
associate-/l*95.2%
mul-1-neg95.2%
unsub-neg95.2%
+-commutative95.2%
Simplified95.2%
if -2.3e19 < z < 0.55000000000000004Initial program 99.0%
Taylor expanded in z around 0 92.7%
Taylor expanded in y around 0 93.4%
+-commutative93.4%
*-commutative93.4%
Simplified93.4%
Taylor expanded in z around 0 92.2%
*-commutative92.2%
Simplified92.2%
Final simplification93.6%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -3.3e+18) (not (<= z 1e+24)))
(+
x
(+
(* y 3.13060547623)
(* y (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+ x (* y (* b 1.6453555072203998)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -3.3e+18) || !(z <= 1e+24)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-3.3d+18)) .or. (.not. (z <= 1d+24))) then
tmp = x + ((y * 3.13060547623d0) + (y * ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + (y * (b * 1.6453555072203998d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -3.3e+18) || !(z <= 1e+24)) {
tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -3.3e+18) or not (z <= 1e+24): tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + (y * (b * 1.6453555072203998)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -3.3e+18) || !(z <= 1e+24)) tmp = Float64(x + Float64(Float64(y * 3.13060547623) + Float64(y * Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -3.3e+18) || ~((z <= 1e+24))) tmp = x + ((y * 3.13060547623) + (y * ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + (y * (b * 1.6453555072203998)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -3.3e+18], N[Not[LessEqual[z, 1e+24]], $MachinePrecision]], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(y * N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.3 \cdot 10^{+18} \lor \neg \left(z \leq 10^{+24}\right):\\
\;\;\;\;x + \left(y \cdot 3.13060547623 + y \cdot \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\end{array}
\end{array}
if z < -3.3e18 or 9.9999999999999998e23 < z Initial program 10.6%
Simplified14.5%
Taylor expanded in z around -inf 83.5%
Taylor expanded in y around 0 93.6%
associate-/l*96.1%
mul-1-neg96.1%
unsub-neg96.1%
+-commutative96.1%
Simplified96.1%
if -3.3e18 < z < 9.9999999999999998e23Initial program 99.1%
Simplified99.7%
Taylor expanded in z around 0 80.0%
associate-*r*80.0%
*-commutative80.0%
Simplified80.0%
Final simplification87.4%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -3.4e+18) (not (<= z 1e+24))) (+ x (+ (* y 3.13060547623) (/ (* y (- (/ t z) 36.52704169880642)) z))) (+ x (* y (* b 1.6453555072203998)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -3.4e+18) || !(z <= 1e+24)) {
tmp = x + ((y * 3.13060547623) + ((y * ((t / z) - 36.52704169880642)) / z));
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-3.4d+18)) .or. (.not. (z <= 1d+24))) then
tmp = x + ((y * 3.13060547623d0) + ((y * ((t / z) - 36.52704169880642d0)) / z))
else
tmp = x + (y * (b * 1.6453555072203998d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -3.4e+18) || !(z <= 1e+24)) {
tmp = x + ((y * 3.13060547623) + ((y * ((t / z) - 36.52704169880642)) / z));
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -3.4e+18) or not (z <= 1e+24): tmp = x + ((y * 3.13060547623) + ((y * ((t / z) - 36.52704169880642)) / z)) else: tmp = x + (y * (b * 1.6453555072203998)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -3.4e+18) || !(z <= 1e+24)) tmp = Float64(x + Float64(Float64(y * 3.13060547623) + Float64(Float64(y * Float64(Float64(t / z) - 36.52704169880642)) / z))); else tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -3.4e+18) || ~((z <= 1e+24))) tmp = x + ((y * 3.13060547623) + ((y * ((t / z) - 36.52704169880642)) / z)); else tmp = x + (y * (b * 1.6453555072203998)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -3.4e+18], N[Not[LessEqual[z, 1e+24]], $MachinePrecision]], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(N[(y * N[(N[(t / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.4 \cdot 10^{+18} \lor \neg \left(z \leq 10^{+24}\right):\\
\;\;\;\;x + \left(y \cdot 3.13060547623 + \frac{y \cdot \left(\frac{t}{z} - 36.52704169880642\right)}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\end{array}
\end{array}
if z < -3.4e18 or 9.9999999999999998e23 < z Initial program 10.6%
Simplified14.5%
Taylor expanded in z around -inf 83.5%
Taylor expanded in t around inf 83.5%
associate-*r/83.5%
*-commutative83.5%
neg-mul-183.5%
Simplified83.5%
Taylor expanded in y around -inf 93.6%
if -3.4e18 < z < 9.9999999999999998e23Initial program 99.1%
Simplified99.7%
Taylor expanded in z around 0 80.0%
associate-*r*80.0%
*-commutative80.0%
Simplified80.0%
Final simplification86.3%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -7.4e-140)
t_1
(if (<= z 1.35e-219)
x
(if (<= z 1.9e-44) (/ (* y b) 0.607771387771) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -7.4e-140) {
tmp = t_1;
} else if (z <= 1.35e-219) {
tmp = x;
} else if (z <= 1.9e-44) {
tmp = (y * b) / 0.607771387771;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x + (y * 3.13060547623d0)
if (z <= (-7.4d-140)) then
tmp = t_1
else if (z <= 1.35d-219) then
tmp = x
else if (z <= 1.9d-44) then
tmp = (y * b) / 0.607771387771d0
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -7.4e-140) {
tmp = t_1;
} else if (z <= 1.35e-219) {
tmp = x;
} else if (z <= 1.9e-44) {
tmp = (y * b) / 0.607771387771;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -7.4e-140: tmp = t_1 elif z <= 1.35e-219: tmp = x elif z <= 1.9e-44: tmp = (y * b) / 0.607771387771 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -7.4e-140) tmp = t_1; elseif (z <= 1.35e-219) tmp = x; elseif (z <= 1.9e-44) tmp = Float64(Float64(y * b) / 0.607771387771); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -7.4e-140) tmp = t_1; elseif (z <= 1.35e-219) tmp = x; elseif (z <= 1.9e-44) tmp = (y * b) / 0.607771387771; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.4e-140], t$95$1, If[LessEqual[z, 1.35e-219], x, If[LessEqual[z, 1.9e-44], N[(N[(y * b), $MachinePrecision] / 0.607771387771), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -7.4 \cdot 10^{-140}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{-219}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{-44}:\\
\;\;\;\;\frac{y \cdot b}{0.607771387771}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -7.39999999999999955e-140 or 1.9e-44 < z Initial program 36.9%
Simplified40.2%
Taylor expanded in z around inf 74.9%
if -7.39999999999999955e-140 < z < 1.35e-219Initial program 99.9%
Simplified99.9%
Taylor expanded in y around 0 58.5%
if 1.35e-219 < z < 1.9e-44Initial program 99.8%
Simplified99.6%
Taylor expanded in b around inf 56.0%
Taylor expanded in z around 0 56.0%
*-commutative56.0%
Simplified56.0%
Taylor expanded in z around 0 56.0%
Final simplification69.0%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -6.5e-143)
t_1
(if (<= z 2.4e-219)
x
(if (<= z 2.35e-45) (* 1.6453555072203998 (* y b)) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -6.5e-143) {
tmp = t_1;
} else if (z <= 2.4e-219) {
tmp = x;
} else if (z <= 2.35e-45) {
tmp = 1.6453555072203998 * (y * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x + (y * 3.13060547623d0)
if (z <= (-6.5d-143)) then
tmp = t_1
else if (z <= 2.4d-219) then
tmp = x
else if (z <= 2.35d-45) then
tmp = 1.6453555072203998d0 * (y * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -6.5e-143) {
tmp = t_1;
} else if (z <= 2.4e-219) {
tmp = x;
} else if (z <= 2.35e-45) {
tmp = 1.6453555072203998 * (y * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -6.5e-143: tmp = t_1 elif z <= 2.4e-219: tmp = x elif z <= 2.35e-45: tmp = 1.6453555072203998 * (y * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -6.5e-143) tmp = t_1; elseif (z <= 2.4e-219) tmp = x; elseif (z <= 2.35e-45) tmp = Float64(1.6453555072203998 * Float64(y * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -6.5e-143) tmp = t_1; elseif (z <= 2.4e-219) tmp = x; elseif (z <= 2.35e-45) tmp = 1.6453555072203998 * (y * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.5e-143], t$95$1, If[LessEqual[z, 2.4e-219], x, If[LessEqual[z, 2.35e-45], N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -6.5 \cdot 10^{-143}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.4 \cdot 10^{-219}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 2.35 \cdot 10^{-45}:\\
\;\;\;\;1.6453555072203998 \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -6.4999999999999999e-143 or 2.3499999999999999e-45 < z Initial program 36.9%
Simplified40.2%
Taylor expanded in z around inf 74.9%
if -6.4999999999999999e-143 < z < 2.40000000000000014e-219Initial program 99.9%
Simplified99.9%
Taylor expanded in y around 0 58.5%
if 2.40000000000000014e-219 < z < 2.3499999999999999e-45Initial program 99.8%
Simplified99.6%
Taylor expanded in b around inf 56.0%
Taylor expanded in z around 0 56.0%
*-commutative56.0%
Simplified56.0%
Taylor expanded in z around 0 55.9%
*-commutative55.9%
Simplified55.9%
Final simplification69.0%
(FPCore (x y z t a b) :precision binary64 (if (<= y -1.3e+143) (* 1.6453555072203998 (* y b)) (if (or (<= y -3.9e+17) (not (<= y 2.2e+33))) (* y 3.13060547623) x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (y <= -1.3e+143) {
tmp = 1.6453555072203998 * (y * b);
} else if ((y <= -3.9e+17) || !(y <= 2.2e+33)) {
tmp = y * 3.13060547623;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (y <= (-1.3d+143)) then
tmp = 1.6453555072203998d0 * (y * b)
else if ((y <= (-3.9d+17)) .or. (.not. (y <= 2.2d+33))) then
tmp = y * 3.13060547623d0
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (y <= -1.3e+143) {
tmp = 1.6453555072203998 * (y * b);
} else if ((y <= -3.9e+17) || !(y <= 2.2e+33)) {
tmp = y * 3.13060547623;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if y <= -1.3e+143: tmp = 1.6453555072203998 * (y * b) elif (y <= -3.9e+17) or not (y <= 2.2e+33): tmp = y * 3.13060547623 else: tmp = x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (y <= -1.3e+143) tmp = Float64(1.6453555072203998 * Float64(y * b)); elseif ((y <= -3.9e+17) || !(y <= 2.2e+33)) tmp = Float64(y * 3.13060547623); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (y <= -1.3e+143) tmp = 1.6453555072203998 * (y * b); elseif ((y <= -3.9e+17) || ~((y <= 2.2e+33))) tmp = y * 3.13060547623; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[y, -1.3e+143], N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y, -3.9e+17], N[Not[LessEqual[y, 2.2e+33]], $MachinePrecision]], N[(y * 3.13060547623), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.3 \cdot 10^{+143}:\\
\;\;\;\;1.6453555072203998 \cdot \left(y \cdot b\right)\\
\mathbf{elif}\;y \leq -3.9 \cdot 10^{+17} \lor \neg \left(y \leq 2.2 \cdot 10^{+33}\right):\\
\;\;\;\;y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.2999999999999999e143Initial program 66.8%
Simplified69.6%
Taylor expanded in b around inf 49.4%
Taylor expanded in z around 0 43.8%
*-commutative43.8%
Simplified43.8%
Taylor expanded in z around 0 50.0%
*-commutative50.0%
Simplified50.0%
if -1.2999999999999999e143 < y < -3.9e17 or 2.19999999999999994e33 < y Initial program 47.0%
Simplified51.0%
Taylor expanded in z around inf 61.3%
Taylor expanded in x around 0 46.0%
*-commutative46.0%
Simplified46.0%
if -3.9e17 < y < 2.19999999999999994e33Initial program 63.8%
Simplified64.5%
Taylor expanded in y around 0 65.8%
Final simplification56.8%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -2.3e+19) (not (<= z 4.1e+43))) (+ x (* y 3.13060547623)) (+ x (* y (* b 1.6453555072203998)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+19) || !(z <= 4.1e+43)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-2.3d+19)) .or. (.not. (z <= 4.1d+43))) then
tmp = x + (y * 3.13060547623d0)
else
tmp = x + (y * (b * 1.6453555072203998d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+19) || !(z <= 4.1e+43)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.3e+19) or not (z <= 4.1e+43): tmp = x + (y * 3.13060547623) else: tmp = x + (y * (b * 1.6453555072203998)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.3e+19) || !(z <= 4.1e+43)) tmp = Float64(x + Float64(y * 3.13060547623)); else tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.3e+19) || ~((z <= 4.1e+43))) tmp = x + (y * 3.13060547623); else tmp = x + (y * (b * 1.6453555072203998)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.3e+19], N[Not[LessEqual[z, 4.1e+43]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{+19} \lor \neg \left(z \leq 4.1 \cdot 10^{+43}\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\end{array}
\end{array}
if z < -2.3e19 or 4.1e43 < z Initial program 7.5%
Simplified10.7%
Taylor expanded in z around inf 93.2%
if -2.3e19 < z < 4.1e43Initial program 98.5%
Simplified99.7%
Taylor expanded in z around 0 78.7%
associate-*r*78.7%
*-commutative78.7%
Simplified78.7%
Final simplification85.1%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -5.4e+19) (not (<= z 2.1e+43))) (+ x (* y 3.13060547623)) (+ x (* 1.6453555072203998 (* y b)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -5.4e+19) || !(z <= 2.1e+43)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (1.6453555072203998 * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-5.4d+19)) .or. (.not. (z <= 2.1d+43))) then
tmp = x + (y * 3.13060547623d0)
else
tmp = x + (1.6453555072203998d0 * (y * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -5.4e+19) || !(z <= 2.1e+43)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (1.6453555072203998 * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -5.4e+19) or not (z <= 2.1e+43): tmp = x + (y * 3.13060547623) else: tmp = x + (1.6453555072203998 * (y * b)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -5.4e+19) || !(z <= 2.1e+43)) tmp = Float64(x + Float64(y * 3.13060547623)); else tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -5.4e+19) || ~((z <= 2.1e+43))) tmp = x + (y * 3.13060547623); else tmp = x + (1.6453555072203998 * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -5.4e+19], N[Not[LessEqual[z, 2.1e+43]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.4 \cdot 10^{+19} \lor \neg \left(z \leq 2.1 \cdot 10^{+43}\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\
\end{array}
\end{array}
if z < -5.4e19 or 2.10000000000000002e43 < z Initial program 7.5%
Simplified10.7%
Taylor expanded in z around inf 93.2%
if -5.4e19 < z < 2.10000000000000002e43Initial program 98.5%
Simplified99.7%
Taylor expanded in z around 0 78.7%
Final simplification85.1%
(FPCore (x y z t a b) :precision binary64 (if (<= x -5.8e-111) x (if (<= x 7.1e-103) (* y 3.13060547623) x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -5.8e-111) {
tmp = x;
} else if (x <= 7.1e-103) {
tmp = y * 3.13060547623;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (x <= (-5.8d-111)) then
tmp = x
else if (x <= 7.1d-103) then
tmp = y * 3.13060547623d0
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -5.8e-111) {
tmp = x;
} else if (x <= 7.1e-103) {
tmp = y * 3.13060547623;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if x <= -5.8e-111: tmp = x elif x <= 7.1e-103: tmp = y * 3.13060547623 else: tmp = x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (x <= -5.8e-111) tmp = x; elseif (x <= 7.1e-103) tmp = Float64(y * 3.13060547623); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (x <= -5.8e-111) tmp = x; elseif (x <= 7.1e-103) tmp = y * 3.13060547623; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[x, -5.8e-111], x, If[LessEqual[x, 7.1e-103], N[(y * 3.13060547623), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -5.8 \cdot 10^{-111}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 7.1 \cdot 10^{-103}:\\
\;\;\;\;y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if x < -5.80000000000000003e-111 or 7.10000000000000045e-103 < x Initial program 61.4%
Simplified63.5%
Taylor expanded in y around 0 56.7%
if -5.80000000000000003e-111 < x < 7.10000000000000045e-103Initial program 52.3%
Simplified54.4%
Taylor expanded in z around inf 58.6%
Taylor expanded in x around 0 48.3%
*-commutative48.3%
Simplified48.3%
(FPCore (x y z t a b) :precision binary64 x)
double code(double x, double y, double z, double t, double a, double b) {
return x;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x;
}
def code(x, y, z, t, a, b): return x
function code(x, y, z, t, a, b) return x end
function tmp = code(x, y, z, t, a, b) tmp = x; end
code[x_, y_, z_, t_, a_, b_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 58.3%
Simplified60.4%
Taylor expanded in y around 0 43.4%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(+
x
(*
(+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z)))
(/ y 1.0)))))
(if (< z -6.499344996252632e+53)
t_1
(if (< z 7.066965436914287e+59)
(+
x
(/
y
(/
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771)
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))))
t_1))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
double tmp;
if (z < -6.499344996252632e+53) {
tmp = t_1;
} else if (z < 7.066965436914287e+59) {
tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x + (((3.13060547623d0 - (36.527041698806414d0 / z)) + (t / (z * z))) * (y / 1.0d0))
if (z < (-6.499344996252632d+53)) then
tmp = t_1
else if (z < 7.066965436914287d+59) then
tmp = x + (y / ((((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0) / ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
double tmp;
if (z < -6.499344996252632e+53) {
tmp = t_1;
} else if (z < 7.066965436914287e+59) {
tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0)) tmp = 0 if z < -6.499344996252632e+53: tmp = t_1 elif z < 7.066965436914287e+59: tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(Float64(Float64(3.13060547623 - Float64(36.527041698806414 / z)) + Float64(t / Float64(z * z))) * Float64(y / 1.0))) tmp = 0.0 if (z < -6.499344996252632e+53) tmp = t_1; elseif (z < 7.066965436914287e+59) tmp = Float64(x + Float64(y / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0)); tmp = 0.0; if (z < -6.499344996252632e+53) tmp = t_1; elseif (z < 7.066965436914287e+59) tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(N[(N[(3.13060547623 - N[(36.527041698806414 / z), $MachinePrecision]), $MachinePrecision] + N[(t / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(y / 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -6.499344996252632e+53], t$95$1, If[Less[z, 7.066965436914287e+59], N[(x + N[(y / N[(N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{1}\\
\mathbf{if}\;z < -6.499344996252632 \cdot 10^{+53}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z < 7.066965436914287 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024165
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
:precision binary64
:alt
(! :herbie-platform default (if (< z -649934499625263200000000000000000000000000000000000000) (+ x (* (+ (- 313060547623/100000000000 (/ 18263520849403207/500000000000000 z)) (/ t (* z z))) (/ y 1))) (if (< z 706696543691428700000000000000000000000000000000000000000000) (+ x (/ y (/ (+ (* (+ (* (+ (* (+ z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000) (+ (* (+ (* (+ (* (+ (* z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)))) (+ x (* (+ (- 313060547623/100000000000 (/ 18263520849403207/500000000000000 z)) (/ t (* z z))) (/ y 1))))))
(+ x (/ (* y (+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b)) (+ (* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z) 0.607771387771))))