
(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 13 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 (or (<= z -3.8e+28) (not (<= z 8e+31)))
(+
x
(+
(/ y (/ (* z z) t))
(-
(fma 11.1667541262 (/ y z) (* y 3.13060547623))
(* 98.5170599679272 (/ y (* z z))))))
(+
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -3.8e+28) || !(z <= 8e+31)) {
tmp = x + ((y / ((z * z) / t)) + (fma(11.1667541262, (y / z), (y * 3.13060547623)) - (98.5170599679272 * (y / (z * z)))));
} else {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -3.8e+28) || !(z <= 8e+31)) tmp = Float64(x + Float64(Float64(y / Float64(Float64(z * z) / t)) + Float64(fma(11.1667541262, Float64(y / z), Float64(y * 3.13060547623)) - Float64(98.5170599679272 * Float64(y / Float64(z * z)))))); else tmp = Float64(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)) + x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -3.8e+28], N[Not[LessEqual[z, 8e+31]], $MachinePrecision]], N[(x + N[(N[(y / N[(N[(z * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] + N[(N[(11.1667541262 * N[(y / z), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision] - N[(98.5170599679272 * N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(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] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.8 \cdot 10^{+28} \lor \neg \left(z \leq 8 \cdot 10^{+31}\right):\\
\;\;\;\;x + \left(\frac{y}{\frac{z \cdot z}{t}} + \left(\mathsf{fma}\left(11.1667541262, \frac{y}{z}, y \cdot 3.13060547623\right) - 98.5170599679272 \cdot \frac{y}{z \cdot z}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\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} + x\\
\end{array}
\end{array}
if z < -3.7999999999999999e28 or 7.9999999999999997e31 < z Initial program 5.0%
associate-/l*9.2%
fma-def9.2%
fma-def9.2%
fma-def9.2%
fma-def9.2%
fma-def9.2%
fma-def9.2%
fma-def9.2%
Simplified9.2%
Taylor expanded in b around 0 8.4%
Taylor expanded in z around inf 8.4%
unpow28.4%
Simplified8.4%
Taylor expanded in z around inf 85.0%
associate--l+85.0%
associate-/l*97.3%
unpow297.3%
fma-def97.3%
*-commutative97.3%
unpow297.3%
Simplified97.3%
if -3.7999999999999999e28 < z < 7.9999999999999997e31Initial program 99.1%
Final simplification98.3%
(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)
(+
x
(/
y
(/
(fma
(fma (fma (+ z 15.234687407) z 31.4690115749) z 11.9400905721)
z
0.607771387771)
(fma (fma (fma (fma z 3.13060547623 11.1667541262) z t) z a) z b))))
(+
x
(+
(/ y (/ (* z z) t))
(-
(fma 11.1667541262 (/ y z) (* y 3.13060547623))
(* 98.5170599679272 (/ y (* 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 = x + (y / (fma(fma(fma((z + 15.234687407), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771) / fma(fma(fma(fma(z, 3.13060547623, 11.1667541262), z, t), z, a), z, b)));
} else {
tmp = x + ((y / ((z * z) / t)) + (fma(11.1667541262, (y / z), (y * 3.13060547623)) - (98.5170599679272 * (y / (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 = Float64(x + Float64(y / Float64(fma(fma(fma(Float64(z + 15.234687407), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771) / fma(fma(fma(fma(z, 3.13060547623, 11.1667541262), z, t), z, a), z, b)))); else tmp = Float64(x + Float64(Float64(y / Float64(Float64(z * z) / t)) + Float64(fma(11.1667541262, Float64(y / z), Float64(y * 3.13060547623)) - Float64(98.5170599679272 * Float64(y / Float64(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[(x + N[(y / N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z + 31.4690115749), $MachinePrecision] * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision] / N[(N[(N[(N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] * z + t), $MachinePrecision] * z + a), $MachinePrecision] * z + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y / N[(N[(z * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] + N[(N[(11.1667541262 * N[(y / z), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision] - N[(98.5170599679272 * N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision]), $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:\\
\;\;\;\;x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}\\
\mathbf{else}:\\
\;\;\;\;x + \left(\frac{y}{\frac{z \cdot z}{t}} + \left(\mathsf{fma}\left(11.1667541262, \frac{y}{z}, y \cdot 3.13060547623\right) - 98.5170599679272 \cdot \frac{y}{z \cdot z}\right)\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) < +inf.0Initial program 92.7%
associate-/l*95.6%
fma-def95.6%
fma-def95.6%
fma-def95.6%
fma-def95.6%
fma-def95.6%
fma-def95.6%
fma-def95.6%
Simplified95.6%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) Initial program 0.0%
associate-/l*0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
Simplified0.0%
Taylor expanded in b around 0 0.0%
Taylor expanded in z around inf 0.0%
unpow20.0%
Simplified0.0%
Taylor expanded in z around inf 86.4%
associate--l+86.4%
associate-/l*99.9%
unpow299.9%
fma-def99.9%
*-commutative99.9%
unpow299.9%
Simplified99.9%
Final simplification97.1%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -6.2e+28) (not (<= z 9e+42)))
(+ x (/ y 0.31942702700572795))
(+
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -6.2e+28) || !(z <= 9e+42)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + 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 ((z <= (-6.2d+28)) .or. (.not. (z <= 9d+42))) then
tmp = x + (y / 0.31942702700572795d0)
else
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623d0) + 11.1667541262d0)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407d0)) + 31.4690115749d0)) + 11.9400905721d0)) + 0.607771387771d0)) + 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 ((z <= -6.2e+28) || !(z <= 9e+42)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -6.2e+28) or not (z <= 9e+42): tmp = x + (y / 0.31942702700572795) else: tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -6.2e+28) || !(z <= 9e+42)) tmp = Float64(x + Float64(y / 0.31942702700572795)); else tmp = Float64(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)) + x); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -6.2e+28) || ~((z <= 9e+42))) tmp = x + (y / 0.31942702700572795); else tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -6.2e+28], N[Not[LessEqual[z, 9e+42]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(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] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.2 \cdot 10^{+28} \lor \neg \left(z \leq 9 \cdot 10^{+42}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\mathbf{else}:\\
\;\;\;\;\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} + x\\
\end{array}
\end{array}
if z < -6.2000000000000001e28 or 9.00000000000000025e42 < z Initial program 5.0%
associate-/l*8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
Simplified8.4%
Taylor expanded in z around inf 92.1%
if -6.2000000000000001e28 < z < 9.00000000000000025e42Initial program 98.5%
Final simplification95.8%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -4.8e+28) (not (<= z 9.8e+45)))
(+ x (/ y 0.31942702700572795))
(+
x
(/
(* y (+ b (* z (+ a (* z (+ t (* z 11.1667541262)))))))
(+
(* 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 <= -4.8e+28) || !(z <= 9.8e+45)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((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 <= (-4.8d+28)) .or. (.not. (z <= 9.8d+45))) then
tmp = x + (y / 0.31942702700572795d0)
else
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262d0))))))) / ((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 <= -4.8e+28) || !(z <= 9.8e+45)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((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 <= -4.8e+28) or not (z <= 9.8e+45): tmp = x + (y / 0.31942702700572795) else: tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((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 <= -4.8e+28) || !(z <= 9.8e+45)) tmp = Float64(x + Float64(y / 0.31942702700572795)); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * 11.1667541262))))))) / 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 <= -4.8e+28) || ~((z <= 9.8e+45))) tmp = x + (y / 0.31942702700572795); else tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((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, -4.8e+28], N[Not[LessEqual[z, 9.8e+45]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * 11.1667541262), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $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 -4.8 \cdot 10^{+28} \lor \neg \left(z \leq 9.8 \cdot 10^{+45}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\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 < -4.79999999999999962e28 or 9.8000000000000004e45 < z Initial program 5.0%
associate-/l*8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
Simplified8.4%
Taylor expanded in z around inf 92.1%
if -4.79999999999999962e28 < z < 9.8000000000000004e45Initial program 98.5%
Taylor expanded in z around 0 98.3%
*-commutative98.3%
Simplified98.3%
Final simplification95.7%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -5.5e+28) (not (<= z 1.3e+41)))
(+ x (/ y 0.31942702700572795))
(+
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 <= -5.5e+28) || !(z <= 1.3e+41)) {
tmp = x + (y / 0.31942702700572795);
} 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 <= (-5.5d+28)) .or. (.not. (z <= 1.3d+41))) then
tmp = x + (y / 0.31942702700572795d0)
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 <= -5.5e+28) || !(z <= 1.3e+41)) {
tmp = x + (y / 0.31942702700572795);
} 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 <= -5.5e+28) or not (z <= 1.3e+41): tmp = x + (y / 0.31942702700572795) 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 <= -5.5e+28) || !(z <= 1.3e+41)) tmp = Float64(x + Float64(y / 0.31942702700572795)); 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 <= -5.5e+28) || ~((z <= 1.3e+41))) tmp = x + (y / 0.31942702700572795); 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, -5.5e+28], N[Not[LessEqual[z, 1.3e+41]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $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 -5.5 \cdot 10^{+28} \lor \neg \left(z \leq 1.3 \cdot 10^{+41}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\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 < -5.5000000000000003e28 or 1.3e41 < z Initial program 5.0%
associate-/l*8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
Simplified8.4%
Taylor expanded in z around inf 92.1%
if -5.5000000000000003e28 < z < 1.3e41Initial program 98.5%
Taylor expanded in z around 0 90.4%
associate-*r*84.7%
*-commutative84.7%
associate-*r*90.4%
distribute-lft-out92.5%
*-commutative92.5%
Simplified92.5%
Final simplification92.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -4.4e+28) (not (<= z 5.5e+43))) (+ x (/ y 0.31942702700572795)) (+ x (/ (* y (+ b (* z a))) (+ 0.607771387771 (* (* z z) (* z z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -4.4e+28) || !(z <= 5.5e+43)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + ((y * (b + (z * a))) / (0.607771387771 + ((z * 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) :: tmp
if ((z <= (-4.4d+28)) .or. (.not. (z <= 5.5d+43))) then
tmp = x + (y / 0.31942702700572795d0)
else
tmp = x + ((y * (b + (z * a))) / (0.607771387771d0 + ((z * 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 tmp;
if ((z <= -4.4e+28) || !(z <= 5.5e+43)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + ((y * (b + (z * a))) / (0.607771387771 + ((z * z) * (z * z))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -4.4e+28) or not (z <= 5.5e+43): tmp = x + (y / 0.31942702700572795) else: tmp = x + ((y * (b + (z * a))) / (0.607771387771 + ((z * z) * (z * z)))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -4.4e+28) || !(z <= 5.5e+43)) tmp = Float64(x + Float64(y / 0.31942702700572795)); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * a))) / Float64(0.607771387771 + Float64(Float64(z * z) * Float64(z * z))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -4.4e+28) || ~((z <= 5.5e+43))) tmp = x + (y / 0.31942702700572795); else tmp = x + ((y * (b + (z * a))) / (0.607771387771 + ((z * z) * (z * z)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -4.4e+28], N[Not[LessEqual[z, 5.5e+43]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(N[(z * z), $MachinePrecision] * N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.4 \cdot 10^{+28} \lor \neg \left(z \leq 5.5 \cdot 10^{+43}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + \left(z \cdot z\right) \cdot \left(z \cdot z\right)}\\
\end{array}
\end{array}
if z < -4.39999999999999973e28 or 5.49999999999999989e43 < z Initial program 5.0%
associate-/l*8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
fma-def8.4%
Simplified8.4%
Taylor expanded in z around inf 92.1%
if -4.39999999999999973e28 < z < 5.49999999999999989e43Initial program 98.5%
Taylor expanded in z around 0 90.4%
associate-*r*84.7%
*-commutative84.7%
associate-*r*90.4%
distribute-lft-out92.5%
*-commutative92.5%
Simplified92.5%
Taylor expanded in z around inf 92.5%
sqr-pow92.4%
metadata-eval92.4%
pow292.4%
metadata-eval92.4%
pow292.4%
Applied egg-rr92.4%
Final simplification92.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -58000000000.0) (not (<= z 1.2e+45))) (+ x (/ y 0.31942702700572795)) (+ x (/ (* y (+ b (* z a))) 0.607771387771))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -58000000000.0) || !(z <= 1.2e+45)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + ((y * (b + (z * a))) / 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 <= (-58000000000.0d0)) .or. (.not. (z <= 1.2d+45))) then
tmp = x + (y / 0.31942702700572795d0)
else
tmp = x + ((y * (b + (z * a))) / 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 <= -58000000000.0) || !(z <= 1.2e+45)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + ((y * (b + (z * a))) / 0.607771387771);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -58000000000.0) or not (z <= 1.2e+45): tmp = x + (y / 0.31942702700572795) else: tmp = x + ((y * (b + (z * a))) / 0.607771387771) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -58000000000.0) || !(z <= 1.2e+45)) tmp = Float64(x + Float64(y / 0.31942702700572795)); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * a))) / 0.607771387771)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -58000000000.0) || ~((z <= 1.2e+45))) tmp = x + (y / 0.31942702700572795); else tmp = x + ((y * (b + (z * a))) / 0.607771387771); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -58000000000.0], N[Not[LessEqual[z, 1.2e+45]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / 0.607771387771), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -58000000000 \lor \neg \left(z \leq 1.2 \cdot 10^{+45}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771}\\
\end{array}
\end{array}
if z < -5.8e10 or 1.19999999999999995e45 < z Initial program 8.3%
associate-/l*11.6%
fma-def11.6%
fma-def11.6%
fma-def11.6%
fma-def11.6%
fma-def11.6%
fma-def11.6%
fma-def11.6%
Simplified11.6%
Taylor expanded in z around inf 90.7%
if -5.8e10 < z < 1.19999999999999995e45Initial program 98.5%
Taylor expanded in z around 0 90.3%
associate-*r*84.4%
*-commutative84.4%
associate-*r*90.3%
distribute-lft-out92.4%
*-commutative92.4%
Simplified92.4%
Taylor expanded in z around inf 92.4%
Taylor expanded in z around 0 91.1%
Final simplification90.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.8e-15)
(+ x (/ y (+ 0.31942702700572795 (/ 3.7269864963038164 z))))
(if (<= z 9.2e+19)
(+ x (* (+ (* z -32.324150453290734) 1.6453555072203998) (* y b)))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.8e-15) {
tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
} else if (z <= 9.2e+19) {
tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.8d-15)) then
tmp = x + (y / (0.31942702700572795d0 + (3.7269864963038164d0 / z)))
else if (z <= 9.2d+19) then
tmp = x + (((z * (-32.324150453290734d0)) + 1.6453555072203998d0) * (y * b))
else
tmp = x + (y / 0.31942702700572795d0)
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.8e-15) {
tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
} else if (z <= 9.2e+19) {
tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -3.8e-15: tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z))) elif z <= 9.2e+19: tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b)) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.8e-15) tmp = Float64(x + Float64(y / Float64(0.31942702700572795 + Float64(3.7269864963038164 / z)))); elseif (z <= 9.2e+19) tmp = Float64(x + Float64(Float64(Float64(z * -32.324150453290734) + 1.6453555072203998) * Float64(y * b))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -3.8e-15) tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z))); elseif (z <= 9.2e+19) tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b)); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.8e-15], N[(x + N[(y / N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.2e+19], N[(x + N[(N[(N[(z * -32.324150453290734), $MachinePrecision] + 1.6453555072203998), $MachinePrecision] * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.8 \cdot 10^{-15}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\
\mathbf{elif}\;z \leq 9.2 \cdot 10^{+19}:\\
\;\;\;\;x + \left(z \cdot -32.324150453290734 + 1.6453555072203998\right) \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -3.8000000000000002e-15Initial program 15.4%
associate-/l*19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
Simplified19.1%
Taylor expanded in z around inf 81.9%
associate-*r/81.9%
metadata-eval81.9%
Simplified81.9%
if -3.8000000000000002e-15 < z < 9.2e19Initial program 99.8%
associate-*l/99.0%
*-commutative99.0%
fma-def99.0%
*-commutative99.0%
fma-def99.0%
*-commutative99.0%
fma-def99.0%
*-commutative99.0%
fma-def99.0%
Simplified99.0%
Taylor expanded in z around 0 80.6%
Taylor expanded in a around 0 75.4%
Taylor expanded in y around 0 80.5%
*-commutative80.5%
+-commutative80.5%
distribute-rgt-in79.8%
associate-*r*79.8%
*-commutative79.8%
associate-*r*75.3%
associate-*r*75.3%
*-commutative75.3%
associate-*r*75.3%
*-commutative75.3%
*-commutative75.3%
associate-*r*75.3%
associate-*r*75.4%
distribute-rgt-out80.5%
*-commutative80.5%
Simplified80.5%
if 9.2e19 < z Initial program 6.7%
associate-/l*10.8%
fma-def10.8%
fma-def10.8%
fma-def10.8%
fma-def10.8%
fma-def10.8%
fma-def10.8%
fma-def10.8%
Simplified10.8%
Taylor expanded in z around inf 91.6%
Final simplification82.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.8e-15)
(+ x (/ y (+ 0.31942702700572795 (/ 3.7269864963038164 z))))
(if (<= z 2.75e-21)
(+ x (* (+ (* z -32.324150453290734) 1.6453555072203998) (* y b)))
(+ x (- (* y 3.13060547623) (/ (* y 36.52704169880642) z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.8e-15) {
tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
} else if (z <= 2.75e-21) {
tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b));
} else {
tmp = x + ((y * 3.13060547623) - ((y * 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.8d-15)) then
tmp = x + (y / (0.31942702700572795d0 + (3.7269864963038164d0 / z)))
else if (z <= 2.75d-21) then
tmp = x + (((z * (-32.324150453290734d0)) + 1.6453555072203998d0) * (y * b))
else
tmp = x + ((y * 3.13060547623d0) - ((y * 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.8e-15) {
tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
} else if (z <= 2.75e-21) {
tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b));
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -3.8e-15: tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z))) elif z <= 2.75e-21: tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b)) else: tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.8e-15) tmp = Float64(x + Float64(y / Float64(0.31942702700572795 + Float64(3.7269864963038164 / z)))); elseif (z <= 2.75e-21) tmp = Float64(x + Float64(Float64(Float64(z * -32.324150453290734) + 1.6453555072203998) * Float64(y * b))); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(Float64(y * 36.52704169880642) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -3.8e-15) tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z))); elseif (z <= 2.75e-21) tmp = x + (((z * -32.324150453290734) + 1.6453555072203998) * (y * b)); else tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.8e-15], N[(x + N[(y / N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.75e-21], N[(x + N[(N[(N[(z * -32.324150453290734), $MachinePrecision] + 1.6453555072203998), $MachinePrecision] * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(N[(y * 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.8 \cdot 10^{-15}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\
\mathbf{elif}\;z \leq 2.75 \cdot 10^{-21}:\\
\;\;\;\;x + \left(z \cdot -32.324150453290734 + 1.6453555072203998\right) \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - \frac{y \cdot 36.52704169880642}{z}\right)\\
\end{array}
\end{array}
if z < -3.8000000000000002e-15Initial program 15.4%
associate-/l*19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
Simplified19.1%
Taylor expanded in z around inf 81.9%
associate-*r/81.9%
metadata-eval81.9%
Simplified81.9%
if -3.8000000000000002e-15 < z < 2.74999999999999989e-21Initial program 99.8%
associate-*l/99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
Simplified99.7%
Taylor expanded in z around 0 82.7%
Taylor expanded in a around 0 78.7%
Taylor expanded in y around 0 84.1%
*-commutative84.1%
+-commutative84.1%
distribute-rgt-in83.3%
associate-*r*83.3%
*-commutative83.3%
associate-*r*78.7%
associate-*r*78.7%
*-commutative78.7%
associate-*r*78.6%
*-commutative78.6%
*-commutative78.6%
associate-*r*78.6%
associate-*r*78.7%
distribute-rgt-out84.1%
*-commutative84.1%
Simplified84.1%
if 2.74999999999999989e-21 < z Initial program 17.4%
associate-*l/19.2%
*-commutative19.2%
fma-def19.2%
*-commutative19.2%
fma-def19.2%
*-commutative19.2%
fma-def19.2%
*-commutative19.2%
fma-def19.2%
Simplified19.2%
Taylor expanded in z around -inf 85.3%
+-commutative85.3%
mul-1-neg85.3%
unsub-neg85.3%
*-commutative85.3%
distribute-rgt-out--85.3%
metadata-eval85.3%
Simplified85.3%
Final simplification83.7%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -6.1e+22) (not (<= z 7.2e-29))) (+ x (/ y 0.31942702700572795)) (+ x (* 1.6453555072203998 (* y b)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -6.1e+22) || !(z <= 7.2e-29)) {
tmp = x + (y / 0.31942702700572795);
} 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 <= (-6.1d+22)) .or. (.not. (z <= 7.2d-29))) then
tmp = x + (y / 0.31942702700572795d0)
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 <= -6.1e+22) || !(z <= 7.2e-29)) {
tmp = x + (y / 0.31942702700572795);
} else {
tmp = x + (1.6453555072203998 * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -6.1e+22) or not (z <= 7.2e-29): tmp = x + (y / 0.31942702700572795) else: tmp = x + (1.6453555072203998 * (y * b)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -6.1e+22) || !(z <= 7.2e-29)) tmp = Float64(x + Float64(y / 0.31942702700572795)); 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 <= -6.1e+22) || ~((z <= 7.2e-29))) tmp = x + (y / 0.31942702700572795); else tmp = x + (1.6453555072203998 * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -6.1e+22], N[Not[LessEqual[z, 7.2e-29]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.1 \cdot 10^{+22} \lor \neg \left(z \leq 7.2 \cdot 10^{-29}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\mathbf{else}:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\
\end{array}
\end{array}
if z < -6.0999999999999998e22 or 7.19999999999999948e-29 < z Initial program 12.1%
associate-/l*16.0%
fma-def16.0%
fma-def16.0%
fma-def16.0%
fma-def16.0%
fma-def16.0%
fma-def16.0%
fma-def16.0%
Simplified16.0%
Taylor expanded in z around inf 85.4%
if -6.0999999999999998e22 < z < 7.19999999999999948e-29Initial program 99.1%
associate-*l/99.0%
*-commutative99.0%
fma-def99.0%
*-commutative99.0%
fma-def99.0%
*-commutative99.0%
fma-def99.0%
*-commutative99.0%
fma-def99.0%
Simplified99.0%
Taylor expanded in z around 0 80.6%
Final simplification82.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.8e-15)
(+ x (/ y (+ 0.31942702700572795 (/ 3.7269864963038164 z))))
(if (<= z 7.2e-29)
(+ x (* 1.6453555072203998 (* y b)))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.8e-15) {
tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
} else if (z <= 7.2e-29) {
tmp = x + (1.6453555072203998 * (y * b));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.8d-15)) then
tmp = x + (y / (0.31942702700572795d0 + (3.7269864963038164d0 / z)))
else if (z <= 7.2d-29) then
tmp = x + (1.6453555072203998d0 * (y * b))
else
tmp = x + (y / 0.31942702700572795d0)
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.8e-15) {
tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
} else if (z <= 7.2e-29) {
tmp = x + (1.6453555072203998 * (y * b));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -3.8e-15: tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z))) elif z <= 7.2e-29: tmp = x + (1.6453555072203998 * (y * b)) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.8e-15) tmp = Float64(x + Float64(y / Float64(0.31942702700572795 + Float64(3.7269864963038164 / z)))); elseif (z <= 7.2e-29) tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -3.8e-15) tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z))); elseif (z <= 7.2e-29) tmp = x + (1.6453555072203998 * (y * b)); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.8e-15], N[(x + N[(y / N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.2e-29], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.8 \cdot 10^{-15}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\
\mathbf{elif}\;z \leq 7.2 \cdot 10^{-29}:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -3.8000000000000002e-15Initial program 15.4%
associate-/l*19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
fma-def19.1%
Simplified19.1%
Taylor expanded in z around inf 81.9%
associate-*r/81.9%
metadata-eval81.9%
Simplified81.9%
if -3.8000000000000002e-15 < z < 7.19999999999999948e-29Initial program 99.8%
associate-*l/99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
Simplified99.7%
Taylor expanded in z around 0 84.6%
if 7.19999999999999948e-29 < z Initial program 20.5%
associate-/l*23.9%
fma-def23.9%
fma-def23.9%
fma-def23.9%
fma-def23.9%
fma-def23.9%
fma-def23.9%
fma-def23.9%
Simplified23.9%
Taylor expanded in z around inf 80.3%
Final simplification82.9%
(FPCore (x y z t a b) :precision binary64 (+ x (/ y 0.31942702700572795)))
double code(double x, double y, double z, double t, double a, double b) {
return x + (y / 0.31942702700572795);
}
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 / 0.31942702700572795d0)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + (y / 0.31942702700572795);
}
def code(x, y, z, t, a, b): return x + (y / 0.31942702700572795)
function code(x, y, z, t, a, b) return Float64(x + Float64(y / 0.31942702700572795)) end
function tmp = code(x, y, z, t, a, b) tmp = x + (y / 0.31942702700572795); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y}{0.31942702700572795}
\end{array}
Initial program 58.7%
associate-/l*60.5%
fma-def60.5%
fma-def60.5%
fma-def60.5%
fma-def60.5%
fma-def60.5%
fma-def60.5%
fma-def60.5%
Simplified60.5%
Taylor expanded in z around inf 63.1%
Final simplification63.1%
(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.7%
Taylor expanded in z around 0 69.3%
associate-*r*66.9%
*-commutative66.9%
associate-*r*67.0%
distribute-lft-out68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in z around 0 60.9%
*-commutative60.9%
*-commutative60.9%
Simplified60.9%
Taylor expanded in x around inf 49.3%
Final simplification49.3%
(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 2023274
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
:precision binary64
:herbie-target
(if (< z -6.499344996252632e+53) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0))) (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)))) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0)))))
(+ 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))))