
(FPCore (x y z t a b c i) :precision binary64 (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: c
real(8), intent (in) :: i
code = ((((((((x * y) + z) * y) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
def code(x, y, z, t, a, b, c, i): return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 15 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i) :precision binary64 (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: c
real(8), intent (in) :: i
code = ((((((((x * y) + z) * y) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
def code(x, y, z, t, a, b, c, i): return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\end{array}
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (fma (fma (fma (+ a y) y b) y c) y i)))
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(fma
y
(/ (fma (fma z y 27464.7644705) y 230661.510616) t_1)
(fma x (* (/ (* y y) t_1) (* y y)) (/ t t_1)))
(- x (/ (* (- (/ a y) 1.0) z) y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = fma(fma(fma((a + y), y, b), y, c), y, i);
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = fma(y, (fma(fma(z, y, 27464.7644705), y, 230661.510616) / t_1), fma(x, (((y * y) / t_1) * (y * y)), (t / t_1)));
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) t_1 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = fma(y, Float64(fma(fma(z, y, 27464.7644705), y, 230661.510616) / t_1), fma(x, Float64(Float64(Float64(y * y) / t_1) * Float64(y * y)), Float64(t / t_1))); else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(y * N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(x * N[(N[(N[(y * y), $MachinePrecision] / t$95$1), $MachinePrecision] * N[(y * y), $MachinePrecision]), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \mathsf{fma}\left(x, \frac{y \cdot y}{t\_1} \cdot \left(y \cdot y\right), \frac{t}{t\_1}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in x around 0
+-commutativeN/A
+-commutativeN/A
associate-+l+N/A
Applied rewrites95.0%
Applied rewrites95.1%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification87.2%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (fma (fma (fma (+ a y) y b) y c) y i)))
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(fma
y
(/ (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) t_1)
(/ t t_1))
(- x (/ (* (- (/ a y) 1.0) z) y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = fma(fma(fma((a + y), y, b), y, c), y, i);
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = fma(y, (fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616) / t_1), (t / t_1));
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) t_1 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = fma(y, Float64(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616) / t_1), Float64(t / t_1)); else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(y * N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \frac{t}{t\_1}\right)\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in t around 0
+-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites92.7%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification85.9%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))))
(if (<= t_1 INFINITY) t_1 (- x (/ (* (- (/ a y) 1.0) z) y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y)) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = x - ((((a / y) - 1.0) * z) / y) return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y)); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = x - ((((a / y) - 1.0) * z) / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification85.5%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(*
(/ -1.0 (fma (fma (fma (+ a y) y b) y c) y i))
(- (fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)))
(- x (/ (* (- (/ a y) 1.0) z) y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = (-1.0 / fma(fma(fma((a + y), y, b), y, c), y, i)) * -fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t);
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(Float64(-1.0 / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)) * Float64(-fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t))); else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(-1.0 / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision] * (-N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision])), $MachinePrecision], N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
lift-/.f64N/A
frac-2negN/A
div-invN/A
lower-*.f64N/A
Applied rewrites91.9%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification85.4%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(/
(fma (fma (fma (* y x) y 27464.7644705) y 230661.510616) y t)
(fma (fma (fma (+ a y) y b) y c) y i))
(- x (/ (* (- (/ a y) 1.0) z) y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = fma(fma(fma((y * x), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma((a + y), y, b), y, c), y, i);
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(fma(fma(fma(Float64(y * x), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)); else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(N[(N[(N[(y * x), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y \cdot x, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in z around 0
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
unpow2N/A
associate-*r*N/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
+-commutativeN/A
Applied rewrites88.2%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification83.2%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(/
(fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)
(fma (fma (fma y y b) y c) y i))
(- x (/ (* (- (/ a y) 1.0) z) y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i);
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i)); else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(y * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in a around 0
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
Applied rewrites87.7%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification82.9%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(/
(fma (fma (fma z y 27464.7644705) y 230661.510616) y t)
(fma (fma (fma (+ a y) y b) y c) y i))
(- x (/ (* (- (/ a y) 1.0) z) y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma((a + y), y, b), y, c), y, i);
} else {
tmp = x - ((((a / y) - 1.0) * z) / y);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)); else tmp = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in x around 0
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites87.4%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in z around inf
Applied rewrites76.3%
Final simplification82.8%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(/ t (+ (* c y) i))
(- x (/ (* a x) y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = t / ((c * y) + i);
} else {
tmp = x - ((a * x) / y);
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= Double.POSITIVE_INFINITY) {
tmp = t / ((c * y) + i);
} else {
tmp = x - ((a * x) / y);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if ((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= math.inf: tmp = t / ((c * y) + i) else: tmp = x - ((a * x) / y) return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(t / Float64(Float64(c * y) + i)); else tmp = Float64(x - Float64(Float64(a * x) / y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= Inf) tmp = t / ((c * y) + i); else tmp = x - ((a * x) / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(t / N[(N[(c * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(a * x), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{t}{c \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{a \cdot x}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in t around inf
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower-+.f6468.8
Applied rewrites68.8%
Taylor expanded in y around 0
Applied rewrites63.1%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in x around inf
Applied rewrites52.7%
Taylor expanded in y around inf
Applied rewrites58.9%
Final simplification61.4%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(/ t i)
(- x (/ (* a x) y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = t / i;
} else {
tmp = x - ((a * x) / y);
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= Double.POSITIVE_INFINITY) {
tmp = t / i;
} else {
tmp = x - ((a * x) / y);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if ((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= math.inf: tmp = t / i else: tmp = x - ((a * x) / y) return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(t / i); else tmp = Float64(x - Float64(Float64(a * x) / y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= Inf) tmp = t / i; else tmp = x - ((a * x) / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(t / i), $MachinePrecision], N[(x - N[(N[(a * x), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{t}{i}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{a \cdot x}{y}\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in y around 0
lower-/.f6449.6
Applied rewrites49.6%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites56.3%
Taylor expanded in x around inf
Applied rewrites52.7%
Taylor expanded in y around inf
Applied rewrites58.9%
Final simplification53.5%
(FPCore (x y z t a b c i)
:precision binary64
(if (<=
(/
(+
t
(* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
(+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
INFINITY)
(/ t i)
(* (/ x t) t)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= ((double) INFINITY)) {
tmp = t / i;
} else {
tmp = (x / t) * t;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= Double.POSITIVE_INFINITY) {
tmp = t / i;
} else {
tmp = (x / t) * t;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if ((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= math.inf: tmp = t / i else: tmp = (x / t) * t return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= Inf) tmp = Float64(t / i); else tmp = Float64(Float64(x / t) * t); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= Inf) tmp = t / i; else tmp = (x / t) * t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(t / i), $MachinePrecision], N[(N[(x / t), $MachinePrecision] * t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq \infty:\\
\;\;\;\;\frac{t}{i}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{t} \cdot t\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 92.0%
Taylor expanded in y around 0
lower-/.f6449.6
Applied rewrites49.6%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites0.2%
Taylor expanded in y around inf
Applied rewrites52.1%
Final simplification50.6%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (- x (/ (* (- (/ a y) 1.0) z) y))))
(if (<= y -1.7e+25)
t_1
(if (<= y 3.8e+47)
(/ (fma 230661.510616 y t) (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = x - ((((a / y) - 1.0) * z) / y);
double tmp;
if (y <= -1.7e+25) {
tmp = t_1;
} else if (y <= 3.8e+47) {
tmp = fma(230661.510616, y, t) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) t_1 = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)) tmp = 0.0 if (y <= -1.7e+25) tmp = t_1; elseif (y <= 3.8e+47) tmp = Float64(fma(230661.510616, y, t) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.7e+25], t$95$1, If[LessEqual[y, 3.8e+47], N[(N[(230661.510616 * y + t), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\mathbf{if}\;y \leq -1.7 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{+47}:\\
\;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.69999999999999992e25 or 3.8000000000000003e47 < y Initial program 4.6%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites54.0%
Taylor expanded in z around inf
Applied rewrites71.8%
if -1.69999999999999992e25 < y < 3.8000000000000003e47Initial program 96.8%
Taylor expanded in y around 0
+-commutativeN/A
lower-fma.f6488.3
Applied rewrites88.3%
Final simplification80.6%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (- x (/ (* (- (/ a y) 1.0) z) y))))
(if (<= y -1.7e+25)
t_1
(if (<= y 3.8e+47) (/ t (fma (fma (fma (+ a y) y b) y c) y i)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = x - ((((a / y) - 1.0) * z) / y);
double tmp;
if (y <= -1.7e+25) {
tmp = t_1;
} else if (y <= 3.8e+47) {
tmp = t / fma(fma(fma((a + y), y, b), y, c), y, i);
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) t_1 = Float64(x - Float64(Float64(Float64(Float64(a / y) - 1.0) * z) / y)) tmp = 0.0 if (y <= -1.7e+25) tmp = t_1; elseif (y <= 3.8e+47) tmp = Float64(t / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x - N[(N[(N[(N[(a / y), $MachinePrecision] - 1.0), $MachinePrecision] * z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.7e+25], t$95$1, If[LessEqual[y, 3.8e+47], N[(t / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{\left(\frac{a}{y} - 1\right) \cdot z}{y}\\
\mathbf{if}\;y \leq -1.7 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{+47}:\\
\;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.69999999999999992e25 or 3.8000000000000003e47 < y Initial program 4.6%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites54.0%
Taylor expanded in z around inf
Applied rewrites71.8%
if -1.69999999999999992e25 < y < 3.8000000000000003e47Initial program 96.8%
Taylor expanded in t around inf
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower-+.f6475.1
Applied rewrites75.1%
Final simplification73.6%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (- x (/ (- (* a x) z) y))))
(if (<= y -1.7e+25)
t_1
(if (<= y 3.8e+47) (/ t (fma (fma (fma (+ a y) y b) y c) y i)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = x - (((a * x) - z) / y);
double tmp;
if (y <= -1.7e+25) {
tmp = t_1;
} else if (y <= 3.8e+47) {
tmp = t / fma(fma(fma((a + y), y, b), y, c), y, i);
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) t_1 = Float64(x - Float64(Float64(Float64(a * x) - z) / y)) tmp = 0.0 if (y <= -1.7e+25) tmp = t_1; elseif (y <= 3.8e+47) tmp = Float64(t / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x - N[(N[(N[(a * x), $MachinePrecision] - z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.7e+25], t$95$1, If[LessEqual[y, 3.8e+47], N[(t / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{a \cdot x - z}{y}\\
\mathbf{if}\;y \leq -1.7 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{+47}:\\
\;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.69999999999999992e25 or 3.8000000000000003e47 < y Initial program 4.6%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites54.0%
Taylor expanded in y around inf
Applied rewrites69.4%
if -1.69999999999999992e25 < y < 3.8000000000000003e47Initial program 96.8%
Taylor expanded in t around inf
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower-+.f6475.1
Applied rewrites75.1%
(FPCore (x y z t a b c i) :precision binary64 (let* ((t_1 (- x (/ (- (* a x) z) y)))) (if (<= y -4.2e-7) t_1 (if (<= y 1e+22) (/ t (+ (* c y) i)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = x - (((a * x) - z) / y);
double tmp;
if (y <= -4.2e-7) {
tmp = t_1;
} else if (y <= 1e+22) {
tmp = t / ((c * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: c
real(8), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = x - (((a * x) - z) / y)
if (y <= (-4.2d-7)) then
tmp = t_1
else if (y <= 1d+22) then
tmp = t / ((c * y) + i)
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 c, double i) {
double t_1 = x - (((a * x) - z) / y);
double tmp;
if (y <= -4.2e-7) {
tmp = t_1;
} else if (y <= 1e+22) {
tmp = t / ((c * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = x - (((a * x) - z) / y) tmp = 0 if y <= -4.2e-7: tmp = t_1 elif y <= 1e+22: tmp = t / ((c * y) + i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(x - Float64(Float64(Float64(a * x) - z) / y)) tmp = 0.0 if (y <= -4.2e-7) tmp = t_1; elseif (y <= 1e+22) tmp = Float64(t / Float64(Float64(c * y) + i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = x - (((a * x) - z) / y); tmp = 0.0; if (y <= -4.2e-7) tmp = t_1; elseif (y <= 1e+22) tmp = t / ((c * y) + i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x - N[(N[(N[(a * x), $MachinePrecision] - z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.2e-7], t$95$1, If[LessEqual[y, 1e+22], N[(t / N[(N[(c * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{a \cdot x - z}{y}\\
\mathbf{if}\;y \leq -4.2 \cdot 10^{-7}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 10^{+22}:\\
\;\;\;\;\frac{t}{c \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.2e-7 or 1e22 < y Initial program 7.5%
Taylor expanded in y around -inf
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-/.f64N/A
Applied rewrites50.7%
Taylor expanded in y around inf
Applied rewrites65.2%
if -4.2e-7 < y < 1e22Initial program 99.7%
Taylor expanded in t around inf
lower-/.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower-+.f6477.4
Applied rewrites77.4%
Taylor expanded in y around 0
Applied rewrites72.9%
Final simplification69.1%
(FPCore (x y z t a b c i) :precision binary64 (/ t i))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return t / i;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: c
real(8), intent (in) :: i
code = t / i
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return t / i;
}
def code(x, y, z, t, a, b, c, i): return t / i
function code(x, y, z, t, a, b, c, i) return Float64(t / i) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = t / i; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(t / i), $MachinePrecision]
\begin{array}{l}
\\
\frac{t}{i}
\end{array}
Initial program 53.6%
Taylor expanded in y around 0
lower-/.f6430.2
Applied rewrites30.2%
herbie shell --seed 2024294
(FPCore (x y z t a b c i)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
:precision binary64
(/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))