
(FPCore (x y z)
:precision binary64
(+
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
(/
(+
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.083333333333333)
x)))
double code(double x, double y, double z) {
return ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + ((((((y + 0.0007936500793651d0) * z) - 0.0027777777777778d0) * z) + 0.083333333333333d0) / x)
end function
public static double code(double x, double y, double z) {
return ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x);
}
def code(x, y, z): return ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x)
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(Float64(Float64(Float64(Float64(Float64(y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x)) end
function tmp = code(x, y, z) tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x); end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(N[(N[(N[(N[(N[(y + 0.0007936500793651), $MachinePrecision] * z), $MachinePrecision] - 0.0027777777777778), $MachinePrecision] * z), $MachinePrecision] + 0.083333333333333), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \frac{\left(\left(y + 0.0007936500793651\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.083333333333333}{x}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 10 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z)
:precision binary64
(+
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
(/
(+
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.083333333333333)
x)))
double code(double x, double y, double z) {
return ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + ((((((y + 0.0007936500793651d0) * z) - 0.0027777777777778d0) * z) + 0.083333333333333d0) / x)
end function
public static double code(double x, double y, double z) {
return ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x);
}
def code(x, y, z): return ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x)
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(Float64(Float64(Float64(Float64(Float64(y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x)) end
function tmp = code(x, y, z) tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((((((y + 0.0007936500793651) * z) - 0.0027777777777778) * z) + 0.083333333333333) / x); end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(N[(N[(N[(N[(N[(y + 0.0007936500793651), $MachinePrecision] * z), $MachinePrecision] - 0.0027777777777778), $MachinePrecision] * z), $MachinePrecision] + 0.083333333333333), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \frac{\left(\left(y + 0.0007936500793651\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.083333333333333}{x}
\end{array}
(FPCore (x y z)
:precision binary64
(let* ((t_0 (+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)))
(if (<= x 1.2e-130)
(+
t_0
(+
(/ (* z (- (* z (+ 0.0007936500793651 y)) 0.0027777777777778)) x)
(/ 1.0 (/ x 0.083333333333333))))
(+
t_0
(+
(* (/ 1.0 x) 0.083333333333333)
(* z (* (+ 0.0007936500793651 y) (/ z x))))))))
double code(double x, double y, double z) {
double t_0 = (((x - 0.5) * log(x)) - x) + 0.91893853320467;
double tmp;
if (x <= 1.2e-130) {
tmp = t_0 + (((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x) + (1.0 / (x / 0.083333333333333)));
} else {
tmp = t_0 + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x))));
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = (((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0
if (x <= 1.2d-130) then
tmp = t_0 + (((z * ((z * (0.0007936500793651d0 + y)) - 0.0027777777777778d0)) / x) + (1.0d0 / (x / 0.083333333333333d0)))
else
tmp = t_0 + (((1.0d0 / x) * 0.083333333333333d0) + (z * ((0.0007936500793651d0 + y) * (z / x))))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = (((x - 0.5) * Math.log(x)) - x) + 0.91893853320467;
double tmp;
if (x <= 1.2e-130) {
tmp = t_0 + (((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x) + (1.0 / (x / 0.083333333333333)));
} else {
tmp = t_0 + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x))));
}
return tmp;
}
def code(x, y, z): t_0 = (((x - 0.5) * math.log(x)) - x) + 0.91893853320467 tmp = 0 if x <= 1.2e-130: tmp = t_0 + (((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x) + (1.0 / (x / 0.083333333333333))) else: tmp = t_0 + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))) return tmp
function code(x, y, z) t_0 = Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) tmp = 0.0 if (x <= 1.2e-130) tmp = Float64(t_0 + Float64(Float64(Float64(z * Float64(Float64(z * Float64(0.0007936500793651 + y)) - 0.0027777777777778)) / x) + Float64(1.0 / Float64(x / 0.083333333333333)))); else tmp = Float64(t_0 + Float64(Float64(Float64(1.0 / x) * 0.083333333333333) + Float64(z * Float64(Float64(0.0007936500793651 + y) * Float64(z / x))))); end return tmp end
function tmp_2 = code(x, y, z) t_0 = (((x - 0.5) * log(x)) - x) + 0.91893853320467; tmp = 0.0; if (x <= 1.2e-130) tmp = t_0 + (((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x) + (1.0 / (x / 0.083333333333333))); else tmp = t_0 + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))); end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision]}, If[LessEqual[x, 1.2e-130], N[(t$95$0 + N[(N[(N[(z * N[(N[(z * N[(0.0007936500793651 + y), $MachinePrecision]), $MachinePrecision] - 0.0027777777777778), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision] + N[(1.0 / N[(x / 0.083333333333333), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$0 + N[(N[(N[(1.0 / x), $MachinePrecision] * 0.083333333333333), $MachinePrecision] + N[(z * N[(N[(0.0007936500793651 + y), $MachinePrecision] * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\\
\mathbf{if}\;x \leq 1.2 \cdot 10^{-130}:\\
\;\;\;\;t\_0 + \left(\frac{z \cdot \left(z \cdot \left(0.0007936500793651 + y\right) - 0.0027777777777778\right)}{x} + \frac{1}{\frac{x}{0.083333333333333}}\right)\\
\mathbf{else}:\\
\;\;\;\;t\_0 + \left(\frac{1}{x} \cdot 0.083333333333333 + z \cdot \left(\left(0.0007936500793651 + y\right) \cdot \frac{z}{x}\right)\right)\\
\end{array}
\end{array}
if x < 1.19999999999999998e-130Initial program 99.7%
Taylor expanded in z around 0 87.5%
Taylor expanded in x around 0 99.7%
div-inv99.7%
clear-num99.7%
Applied egg-rr99.7%
if 1.19999999999999998e-130 < x Initial program 91.7%
Taylor expanded in z around 0 98.0%
Taylor expanded in z around inf 92.8%
unpow292.8%
associate-*l*98.0%
distribute-rgt-in96.9%
associate-*r/96.9%
metadata-eval96.9%
associate-*l/96.9%
associate-*r/96.9%
associate-*l/98.5%
associate-/l*97.4%
distribute-rgt-out99.6%
Simplified99.6%
Final simplification99.6%
(FPCore (x y z)
:precision binary64
(let* ((t_0 (* z (- (* z (+ 0.0007936500793651 y)) 0.0027777777777778))))
(if (<= t_0 2e+289)
(+ (* x (+ (log x) -1.0)) (/ (+ 0.083333333333333 t_0) x))
(+
(+
(* (/ 1.0 x) 0.083333333333333)
(* z (* (+ 0.0007936500793651 y) (/ z x))))
(+ 0.91893853320467 (* (log x) -0.5))))))
double code(double x, double y, double z) {
double t_0 = z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778);
double tmp;
if (t_0 <= 2e+289) {
tmp = (x * (log(x) + -1.0)) + ((0.083333333333333 + t_0) / x);
} else {
tmp = (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))) + (0.91893853320467 + (log(x) * -0.5));
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = z * ((z * (0.0007936500793651d0 + y)) - 0.0027777777777778d0)
if (t_0 <= 2d+289) then
tmp = (x * (log(x) + (-1.0d0))) + ((0.083333333333333d0 + t_0) / x)
else
tmp = (((1.0d0 / x) * 0.083333333333333d0) + (z * ((0.0007936500793651d0 + y) * (z / x)))) + (0.91893853320467d0 + (log(x) * (-0.5d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778);
double tmp;
if (t_0 <= 2e+289) {
tmp = (x * (Math.log(x) + -1.0)) + ((0.083333333333333 + t_0) / x);
} else {
tmp = (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))) + (0.91893853320467 + (Math.log(x) * -0.5));
}
return tmp;
}
def code(x, y, z): t_0 = z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778) tmp = 0 if t_0 <= 2e+289: tmp = (x * (math.log(x) + -1.0)) + ((0.083333333333333 + t_0) / x) else: tmp = (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))) + (0.91893853320467 + (math.log(x) * -0.5)) return tmp
function code(x, y, z) t_0 = Float64(z * Float64(Float64(z * Float64(0.0007936500793651 + y)) - 0.0027777777777778)) tmp = 0.0 if (t_0 <= 2e+289) tmp = Float64(Float64(x * Float64(log(x) + -1.0)) + Float64(Float64(0.083333333333333 + t_0) / x)); else tmp = Float64(Float64(Float64(Float64(1.0 / x) * 0.083333333333333) + Float64(z * Float64(Float64(0.0007936500793651 + y) * Float64(z / x)))) + Float64(0.91893853320467 + Float64(log(x) * -0.5))); end return tmp end
function tmp_2 = code(x, y, z) t_0 = z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778); tmp = 0.0; if (t_0 <= 2e+289) tmp = (x * (log(x) + -1.0)) + ((0.083333333333333 + t_0) / x); else tmp = (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))) + (0.91893853320467 + (log(x) * -0.5)); end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[(z * N[(N[(z * N[(0.0007936500793651 + y), $MachinePrecision]), $MachinePrecision] - 0.0027777777777778), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, 2e+289], N[(N[(x * N[(N[Log[x], $MachinePrecision] + -1.0), $MachinePrecision]), $MachinePrecision] + N[(N[(0.083333333333333 + t$95$0), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(1.0 / x), $MachinePrecision] * 0.083333333333333), $MachinePrecision] + N[(z * N[(N[(0.0007936500793651 + y), $MachinePrecision] * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(0.91893853320467 + N[(N[Log[x], $MachinePrecision] * -0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := z \cdot \left(z \cdot \left(0.0007936500793651 + y\right) - 0.0027777777777778\right)\\
\mathbf{if}\;t\_0 \leq 2 \cdot 10^{+289}:\\
\;\;\;\;x \cdot \left(\log x + -1\right) + \frac{0.083333333333333 + t\_0}{x}\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{1}{x} \cdot 0.083333333333333 + z \cdot \left(\left(0.0007936500793651 + y\right) \cdot \frac{z}{x}\right)\right) + \left(0.91893853320467 + \log x \cdot -0.5\right)\\
\end{array}
\end{array}
if (*.f64 (-.f64 (*.f64 (+.f64 y #s(literal 7936500793651/10000000000000000 binary64)) z) #s(literal 13888888888889/5000000000000000 binary64)) z) < 2.0000000000000001e289Initial program 98.1%
Taylor expanded in x around inf 97.2%
sub-neg64.2%
mul-1-neg64.2%
log-rec64.2%
remove-double-neg64.2%
metadata-eval64.2%
+-commutative64.2%
Simplified97.2%
if 2.0000000000000001e289 < (*.f64 (-.f64 (*.f64 (+.f64 y #s(literal 7936500793651/10000000000000000 binary64)) z) #s(literal 13888888888889/5000000000000000 binary64)) z) Initial program 79.8%
Taylor expanded in z around 0 99.8%
Taylor expanded in z around inf 83.2%
unpow283.2%
associate-*l*99.8%
distribute-rgt-in99.8%
associate-*r/99.8%
metadata-eval99.8%
associate-*l/99.8%
associate-*r/99.9%
associate-*l/99.9%
associate-/l*94.4%
distribute-rgt-out99.9%
Simplified99.9%
Taylor expanded in x around 0 91.3%
Final simplification95.9%
(FPCore (x y z)
:precision binary64
(+
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
(+
(*
z
(+ (/ (* z (+ 0.0007936500793651 y)) x) (* 0.0027777777777778 (/ -1.0 x))))
(* (/ 1.0 x) 0.083333333333333))))
double code(double x, double y, double z) {
return ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((z * (((z * (0.0007936500793651 + y)) / x) + (0.0027777777777778 * (-1.0 / x)))) + ((1.0 / x) * 0.083333333333333));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + ((z * (((z * (0.0007936500793651d0 + y)) / x) + (0.0027777777777778d0 * ((-1.0d0) / x)))) + ((1.0d0 / x) * 0.083333333333333d0))
end function
public static double code(double x, double y, double z) {
return ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + ((z * (((z * (0.0007936500793651 + y)) / x) + (0.0027777777777778 * (-1.0 / x)))) + ((1.0 / x) * 0.083333333333333));
}
def code(x, y, z): return ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + ((z * (((z * (0.0007936500793651 + y)) / x) + (0.0027777777777778 * (-1.0 / x)))) + ((1.0 / x) * 0.083333333333333))
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(Float64(z * Float64(Float64(Float64(z * Float64(0.0007936500793651 + y)) / x) + Float64(0.0027777777777778 * Float64(-1.0 / x)))) + Float64(Float64(1.0 / x) * 0.083333333333333))) end
function tmp = code(x, y, z) tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((z * (((z * (0.0007936500793651 + y)) / x) + (0.0027777777777778 * (-1.0 / x)))) + ((1.0 / x) * 0.083333333333333)); end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(N[(z * N[(N[(N[(z * N[(0.0007936500793651 + y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision] + N[(0.0027777777777778 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(1.0 / x), $MachinePrecision] * 0.083333333333333), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \left(z \cdot \left(\frac{z \cdot \left(0.0007936500793651 + y\right)}{x} + 0.0027777777777778 \cdot \frac{-1}{x}\right) + \frac{1}{x} \cdot 0.083333333333333\right)
\end{array}
Initial program 94.1%
Taylor expanded in z around 0 94.8%
Taylor expanded in x around 0 98.2%
Final simplification98.2%
(FPCore (x y z)
:precision binary64
(if (<= x 4e-60)
(+
(* x (+ (log x) -1.0))
(/
(+
0.083333333333333
(* z (- (* z (+ 0.0007936500793651 y)) 0.0027777777777778)))
x))
(+
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
(+
(* (/ 1.0 x) 0.083333333333333)
(* z (* (+ 0.0007936500793651 y) (/ z x)))))))
double code(double x, double y, double z) {
double tmp;
if (x <= 4e-60) {
tmp = (x * (log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x);
} else {
tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x))));
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if (x <= 4d-60) then
tmp = (x * (log(x) + (-1.0d0))) + ((0.083333333333333d0 + (z * ((z * (0.0007936500793651d0 + y)) - 0.0027777777777778d0))) / x)
else
tmp = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + (((1.0d0 / x) * 0.083333333333333d0) + (z * ((0.0007936500793651d0 + y) * (z / x))))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= 4e-60) {
tmp = (x * (Math.log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x);
} else {
tmp = ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x))));
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= 4e-60: tmp = (x * (math.log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x) else: tmp = ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))) return tmp
function code(x, y, z) tmp = 0.0 if (x <= 4e-60) tmp = Float64(Float64(x * Float64(log(x) + -1.0)) + Float64(Float64(0.083333333333333 + Float64(z * Float64(Float64(z * Float64(0.0007936500793651 + y)) - 0.0027777777777778))) / x)); else tmp = Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(Float64(Float64(1.0 / x) * 0.083333333333333) + Float64(z * Float64(Float64(0.0007936500793651 + y) * Float64(z / x))))); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= 4e-60) tmp = (x * (log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x); else tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + (((1.0 / x) * 0.083333333333333) + (z * ((0.0007936500793651 + y) * (z / x)))); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, 4e-60], N[(N[(x * N[(N[Log[x], $MachinePrecision] + -1.0), $MachinePrecision]), $MachinePrecision] + N[(N[(0.083333333333333 + N[(z * N[(N[(z * N[(0.0007936500793651 + y), $MachinePrecision]), $MachinePrecision] - 0.0027777777777778), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(N[(N[(1.0 / x), $MachinePrecision] * 0.083333333333333), $MachinePrecision] + N[(z * N[(N[(0.0007936500793651 + y), $MachinePrecision] * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 4 \cdot 10^{-60}:\\
\;\;\;\;x \cdot \left(\log x + -1\right) + \frac{0.083333333333333 + z \cdot \left(z \cdot \left(0.0007936500793651 + y\right) - 0.0027777777777778\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \left(\frac{1}{x} \cdot 0.083333333333333 + z \cdot \left(\left(0.0007936500793651 + y\right) \cdot \frac{z}{x}\right)\right)\\
\end{array}
\end{array}
if x < 3.9999999999999999e-60Initial program 99.7%
Taylor expanded in x around inf 99.7%
sub-neg43.0%
mul-1-neg43.0%
log-rec43.0%
remove-double-neg43.0%
metadata-eval43.0%
+-commutative43.0%
Simplified99.7%
if 3.9999999999999999e-60 < x Initial program 90.0%
Taylor expanded in z around 0 99.6%
Taylor expanded in z around inf 93.3%
unpow293.3%
associate-*l*99.6%
distribute-rgt-in99.6%
associate-*r/99.6%
metadata-eval99.6%
associate-*l/99.6%
associate-*r/99.6%
associate-*l/99.6%
associate-/l*99.6%
distribute-rgt-out99.6%
Simplified99.6%
Final simplification99.6%
(FPCore (x y z)
:precision binary64
(if (<= x 1.3e-9)
(+
(+ 0.91893853320467 (* (log x) -0.5))
(+
(* (/ 1.0 x) 0.083333333333333)
(/ (* z (- (* z (+ 0.0007936500793651 y)) 0.0027777777777778)) x)))
(+
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
(+ (* z (* (+ 0.0007936500793651 y) (/ z x))) (/ 0.083333333333333 x)))))
double code(double x, double y, double z) {
double tmp;
if (x <= 1.3e-9) {
tmp = (0.91893853320467 + (log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x));
} else {
tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((z * ((0.0007936500793651 + y) * (z / x))) + (0.083333333333333 / x));
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if (x <= 1.3d-9) then
tmp = (0.91893853320467d0 + (log(x) * (-0.5d0))) + (((1.0d0 / x) * 0.083333333333333d0) + ((z * ((z * (0.0007936500793651d0 + y)) - 0.0027777777777778d0)) / x))
else
tmp = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + ((z * ((0.0007936500793651d0 + y) * (z / x))) + (0.083333333333333d0 / x))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= 1.3e-9) {
tmp = (0.91893853320467 + (Math.log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x));
} else {
tmp = ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + ((z * ((0.0007936500793651 + y) * (z / x))) + (0.083333333333333 / x));
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= 1.3e-9: tmp = (0.91893853320467 + (math.log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x)) else: tmp = ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + ((z * ((0.0007936500793651 + y) * (z / x))) + (0.083333333333333 / x)) return tmp
function code(x, y, z) tmp = 0.0 if (x <= 1.3e-9) tmp = Float64(Float64(0.91893853320467 + Float64(log(x) * -0.5)) + Float64(Float64(Float64(1.0 / x) * 0.083333333333333) + Float64(Float64(z * Float64(Float64(z * Float64(0.0007936500793651 + y)) - 0.0027777777777778)) / x))); else tmp = Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(Float64(z * Float64(Float64(0.0007936500793651 + y) * Float64(z / x))) + Float64(0.083333333333333 / x))); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= 1.3e-9) tmp = (0.91893853320467 + (log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778)) / x)); else tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + ((z * ((0.0007936500793651 + y) * (z / x))) + (0.083333333333333 / x)); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, 1.3e-9], N[(N[(0.91893853320467 + N[(N[Log[x], $MachinePrecision] * -0.5), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(1.0 / x), $MachinePrecision] * 0.083333333333333), $MachinePrecision] + N[(N[(z * N[(N[(z * N[(0.0007936500793651 + y), $MachinePrecision]), $MachinePrecision] - 0.0027777777777778), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(N[(z * N[(N[(0.0007936500793651 + y), $MachinePrecision] * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(0.083333333333333 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 1.3 \cdot 10^{-9}:\\
\;\;\;\;\left(0.91893853320467 + \log x \cdot -0.5\right) + \left(\frac{1}{x} \cdot 0.083333333333333 + \frac{z \cdot \left(z \cdot \left(0.0007936500793651 + y\right) - 0.0027777777777778\right)}{x}\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \left(z \cdot \left(\left(0.0007936500793651 + y\right) \cdot \frac{z}{x}\right) + \frac{0.083333333333333}{x}\right)\\
\end{array}
\end{array}
if x < 1.3000000000000001e-9Initial program 99.6%
Taylor expanded in z around 0 90.6%
Taylor expanded in x around 0 99.7%
Taylor expanded in x around 0 99.7%
if 1.3000000000000001e-9 < x Initial program 87.8%
Taylor expanded in z around 0 99.6%
Taylor expanded in z around inf 91.9%
unpow291.9%
associate-*l*99.6%
distribute-rgt-in99.6%
associate-*r/99.6%
metadata-eval99.6%
associate-*l/99.6%
associate-*r/99.6%
associate-*l/99.6%
associate-/l*99.6%
distribute-rgt-out99.6%
Simplified99.6%
Taylor expanded in x around 0 99.6%
Final simplification99.6%
(FPCore (x y z)
:precision binary64
(if (<= x 0.0002)
(+
(+ 0.91893853320467 (* (log x) -0.5))
(+ (* (/ 1.0 x) 0.083333333333333) (* (/ z x) -0.0027777777777778)))
(+
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
(/ 0.083333333333333 x))))
double code(double x, double y, double z) {
double tmp;
if (x <= 0.0002) {
tmp = (0.91893853320467 + (log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z / x) * -0.0027777777777778));
} else {
tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if (x <= 0.0002d0) then
tmp = (0.91893853320467d0 + (log(x) * (-0.5d0))) + (((1.0d0 / x) * 0.083333333333333d0) + ((z / x) * (-0.0027777777777778d0)))
else
tmp = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + (0.083333333333333d0 / x)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= 0.0002) {
tmp = (0.91893853320467 + (Math.log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z / x) * -0.0027777777777778));
} else {
tmp = ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x);
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= 0.0002: tmp = (0.91893853320467 + (math.log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z / x) * -0.0027777777777778)) else: tmp = ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x) return tmp
function code(x, y, z) tmp = 0.0 if (x <= 0.0002) tmp = Float64(Float64(0.91893853320467 + Float64(log(x) * -0.5)) + Float64(Float64(Float64(1.0 / x) * 0.083333333333333) + Float64(Float64(z / x) * -0.0027777777777778))); else tmp = Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(0.083333333333333 / x)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= 0.0002) tmp = (0.91893853320467 + (log(x) * -0.5)) + (((1.0 / x) * 0.083333333333333) + ((z / x) * -0.0027777777777778)); else tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, 0.0002], N[(N[(0.91893853320467 + N[(N[Log[x], $MachinePrecision] * -0.5), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(1.0 / x), $MachinePrecision] * 0.083333333333333), $MachinePrecision] + N[(N[(z / x), $MachinePrecision] * -0.0027777777777778), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(0.083333333333333 / x), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 0.0002:\\
\;\;\;\;\left(0.91893853320467 + \log x \cdot -0.5\right) + \left(\frac{1}{x} \cdot 0.083333333333333 + \frac{z}{x} \cdot -0.0027777777777778\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \frac{0.083333333333333}{x}\\
\end{array}
\end{array}
if x < 2.0000000000000001e-4Initial program 99.6%
Taylor expanded in z around -inf 65.5%
+-commutative65.5%
mul-1-neg65.5%
unsub-neg65.5%
associate-*r/65.5%
metadata-eval65.5%
sub-neg65.5%
associate-*r/65.5%
metadata-eval65.5%
associate-*r/65.5%
metadata-eval65.5%
distribute-neg-frac65.5%
metadata-eval65.5%
*-commutative65.5%
Simplified65.5%
Taylor expanded in x around 0 65.5%
Taylor expanded in z around 0 54.6%
if 2.0000000000000001e-4 < x Initial program 87.6%
Taylor expanded in z around 0 68.8%
Final simplification61.1%
(FPCore (x y z)
:precision binary64
(+
(* x (+ (log x) -1.0))
(/
(+
0.083333333333333
(* z (- (* z (+ 0.0007936500793651 y)) 0.0027777777777778)))
x)))
double code(double x, double y, double z) {
return (x * (log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x * (log(x) + (-1.0d0))) + ((0.083333333333333d0 + (z * ((z * (0.0007936500793651d0 + y)) - 0.0027777777777778d0))) / x)
end function
public static double code(double x, double y, double z) {
return (x * (Math.log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x);
}
def code(x, y, z): return (x * (math.log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x)
function code(x, y, z) return Float64(Float64(x * Float64(log(x) + -1.0)) + Float64(Float64(0.083333333333333 + Float64(z * Float64(Float64(z * Float64(0.0007936500793651 + y)) - 0.0027777777777778))) / x)) end
function tmp = code(x, y, z) tmp = (x * (log(x) + -1.0)) + ((0.083333333333333 + (z * ((z * (0.0007936500793651 + y)) - 0.0027777777777778))) / x); end
code[x_, y_, z_] := N[(N[(x * N[(N[Log[x], $MachinePrecision] + -1.0), $MachinePrecision]), $MachinePrecision] + N[(N[(0.083333333333333 + N[(z * N[(N[(z * N[(0.0007936500793651 + y), $MachinePrecision]), $MachinePrecision] - 0.0027777777777778), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(\log x + -1\right) + \frac{0.083333333333333 + z \cdot \left(z \cdot \left(0.0007936500793651 + y\right) - 0.0027777777777778\right)}{x}
\end{array}
Initial program 94.1%
Taylor expanded in x around inf 93.5%
sub-neg53.4%
mul-1-neg53.4%
log-rec53.4%
remove-double-neg53.4%
metadata-eval53.4%
+-commutative53.4%
Simplified93.5%
Final simplification93.5%
(FPCore (x y z) :precision binary64 (+ (+ (- (* (- x 0.5) (log x)) x) 0.91893853320467) (/ 0.083333333333333 x)))
double code(double x, double y, double z) {
return ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x - 0.5d0) * log(x)) - x) + 0.91893853320467d0) + (0.083333333333333d0 / x)
end function
public static double code(double x, double y, double z) {
return ((((x - 0.5) * Math.log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x);
}
def code(x, y, z): return ((((x - 0.5) * math.log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x)
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) - x) + 0.91893853320467) + Float64(0.083333333333333 / x)) end
function tmp = code(x, y, z) tmp = ((((x - 0.5) * log(x)) - x) + 0.91893853320467) + (0.083333333333333 / x); end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision] + 0.91893853320467), $MachinePrecision] + N[(0.083333333333333 / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467\right) + \frac{0.083333333333333}{x}
\end{array}
Initial program 94.1%
Taylor expanded in z around 0 54.0%
Final simplification54.0%
(FPCore (x y z) :precision binary64 (+ (* x (+ (log x) -1.0)) (/ 0.083333333333333 x)))
double code(double x, double y, double z) {
return (x * (log(x) + -1.0)) + (0.083333333333333 / x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x * (log(x) + (-1.0d0))) + (0.083333333333333d0 / x)
end function
public static double code(double x, double y, double z) {
return (x * (Math.log(x) + -1.0)) + (0.083333333333333 / x);
}
def code(x, y, z): return (x * (math.log(x) + -1.0)) + (0.083333333333333 / x)
function code(x, y, z) return Float64(Float64(x * Float64(log(x) + -1.0)) + Float64(0.083333333333333 / x)) end
function tmp = code(x, y, z) tmp = (x * (log(x) + -1.0)) + (0.083333333333333 / x); end
code[x_, y_, z_] := N[(N[(x * N[(N[Log[x], $MachinePrecision] + -1.0), $MachinePrecision]), $MachinePrecision] + N[(0.083333333333333 / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(\log x + -1\right) + \frac{0.083333333333333}{x}
\end{array}
Initial program 94.1%
Taylor expanded in z around 0 54.0%
Taylor expanded in x around inf 53.4%
sub-neg53.4%
mul-1-neg53.4%
log-rec53.4%
remove-double-neg53.4%
metadata-eval53.4%
+-commutative53.4%
Simplified53.4%
Final simplification53.4%
(FPCore (x y z) :precision binary64 (/ 0.083333333333333 x))
double code(double x, double y, double z) {
return 0.083333333333333 / x;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = 0.083333333333333d0 / x
end function
public static double code(double x, double y, double z) {
return 0.083333333333333 / x;
}
def code(x, y, z): return 0.083333333333333 / x
function code(x, y, z) return Float64(0.083333333333333 / x) end
function tmp = code(x, y, z) tmp = 0.083333333333333 / x; end
code[x_, y_, z_] := N[(0.083333333333333 / x), $MachinePrecision]
\begin{array}{l}
\\
\frac{0.083333333333333}{x}
\end{array}
Initial program 94.1%
Taylor expanded in z around 0 54.0%
Taylor expanded in x around inf 53.4%
sub-neg53.4%
mul-1-neg53.4%
log-rec53.4%
remove-double-neg53.4%
metadata-eval53.4%
+-commutative53.4%
Simplified53.4%
Taylor expanded in x around 0 24.0%
Final simplification24.0%
(FPCore (x y z) :precision binary64 (+ (+ (+ (* (- x 0.5) (log x)) (- 0.91893853320467 x)) (/ 0.083333333333333 x)) (* (/ z x) (- (* z (+ y 0.0007936500793651)) 0.0027777777777778))))
double code(double x, double y, double z) {
return ((((x - 0.5) * log(x)) + (0.91893853320467 - x)) + (0.083333333333333 / x)) + ((z / x) * ((z * (y + 0.0007936500793651)) - 0.0027777777777778));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((((x - 0.5d0) * log(x)) + (0.91893853320467d0 - x)) + (0.083333333333333d0 / x)) + ((z / x) * ((z * (y + 0.0007936500793651d0)) - 0.0027777777777778d0))
end function
public static double code(double x, double y, double z) {
return ((((x - 0.5) * Math.log(x)) + (0.91893853320467 - x)) + (0.083333333333333 / x)) + ((z / x) * ((z * (y + 0.0007936500793651)) - 0.0027777777777778));
}
def code(x, y, z): return ((((x - 0.5) * math.log(x)) + (0.91893853320467 - x)) + (0.083333333333333 / x)) + ((z / x) * ((z * (y + 0.0007936500793651)) - 0.0027777777777778))
function code(x, y, z) return Float64(Float64(Float64(Float64(Float64(x - 0.5) * log(x)) + Float64(0.91893853320467 - x)) + Float64(0.083333333333333 / x)) + Float64(Float64(z / x) * Float64(Float64(z * Float64(y + 0.0007936500793651)) - 0.0027777777777778))) end
function tmp = code(x, y, z) tmp = ((((x - 0.5) * log(x)) + (0.91893853320467 - x)) + (0.083333333333333 / x)) + ((z / x) * ((z * (y + 0.0007936500793651)) - 0.0027777777777778)); end
code[x_, y_, z_] := N[(N[(N[(N[(N[(x - 0.5), $MachinePrecision] * N[Log[x], $MachinePrecision]), $MachinePrecision] + N[(0.91893853320467 - x), $MachinePrecision]), $MachinePrecision] + N[(0.083333333333333 / x), $MachinePrecision]), $MachinePrecision] + N[(N[(z / x), $MachinePrecision] * N[(N[(z * N[(y + 0.0007936500793651), $MachinePrecision]), $MachinePrecision] - 0.0027777777777778), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x - 0.5\right) \cdot \log x + \left(0.91893853320467 - x\right)\right) + \frac{0.083333333333333}{x}\right) + \frac{z}{x} \cdot \left(z \cdot \left(y + 0.0007936500793651\right) - 0.0027777777777778\right)
\end{array}
herbie shell --seed 2024079
(FPCore (x y z)
:name "Numeric.SpecFunctions:$slogFactorial from math-functions-0.1.5.2, B"
:precision binary64
:alt
(+ (+ (+ (* (- x 0.5) (log x)) (- 0.91893853320467 x)) (/ 0.083333333333333 x)) (* (/ z x) (- (* z (+ y 0.0007936500793651)) 0.0027777777777778)))
(+ (+ (- (* (- x 0.5) (log x)) x) 0.91893853320467) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)))