
(FPCore (x y z) :precision binary64 (/ (* x y) (* (* z z) (+ z 1.0))))
double code(double x, double y, double z) {
return (x * y) / ((z * z) * (z + 1.0));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x * y) / ((z * z) * (z + 1.0d0))
end function
public static double code(double x, double y, double z) {
return (x * y) / ((z * z) * (z + 1.0));
}
def code(x, y, z): return (x * y) / ((z * z) * (z + 1.0))
function code(x, y, z) return Float64(Float64(x * y) / Float64(Float64(z * z) * Float64(z + 1.0))) end
function tmp = code(x, y, z) tmp = (x * y) / ((z * z) * (z + 1.0)); end
code[x_, y_, z_] := N[(N[(x * y), $MachinePrecision] / N[(N[(z * z), $MachinePrecision] * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot y}{\left(z \cdot z\right) \cdot \left(z + 1\right)}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 14 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (/ (* x y) (* (* z z) (+ z 1.0))))
double code(double x, double y, double z) {
return (x * y) / ((z * z) * (z + 1.0));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x * y) / ((z * z) * (z + 1.0d0))
end function
public static double code(double x, double y, double z) {
return (x * y) / ((z * z) * (z + 1.0));
}
def code(x, y, z): return (x * y) / ((z * z) * (z + 1.0))
function code(x, y, z) return Float64(Float64(x * y) / Float64(Float64(z * z) * Float64(z + 1.0))) end
function tmp = code(x, y, z) tmp = (x * y) / ((z * z) * (z + 1.0)); end
code[x_, y_, z_] := N[(N[(x * y), $MachinePrecision] / N[(N[(z * z), $MachinePrecision] * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot y}{\left(z \cdot z\right) \cdot \left(z + 1\right)}
\end{array}
(FPCore (x y z) :precision binary64 (/ (* (/ x z) (/ y z)) (+ z 1.0)))
double code(double x, double y, double z) {
return ((x / z) * (y / z)) / (z + 1.0);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((x / z) * (y / z)) / (z + 1.0d0)
end function
public static double code(double x, double y, double z) {
return ((x / z) * (y / z)) / (z + 1.0);
}
def code(x, y, z): return ((x / z) * (y / z)) / (z + 1.0)
function code(x, y, z) return Float64(Float64(Float64(x / z) * Float64(y / z)) / Float64(z + 1.0)) end
function tmp = code(x, y, z) tmp = ((x / z) * (y / z)) / (z + 1.0); end
code[x_, y_, z_] := N[(N[(N[(x / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision] / N[(z + 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\frac{x}{z} \cdot \frac{y}{z}}{z + 1}
\end{array}
Initial program 86.5%
associate-*l*86.5%
times-frac95.5%
distribute-lft-in95.5%
fma-def95.5%
*-rgt-identity95.5%
Simplified95.5%
fma-udef95.5%
*-rgt-identity95.5%
distribute-lft-in95.5%
times-frac86.5%
associate-*l*86.5%
associate-/r*89.7%
times-frac97.6%
Applied egg-rr97.6%
Final simplification97.6%
(FPCore (x y z)
:precision binary64
(let* ((t_0 (* (+ z 1.0) (* z z))))
(if (<= t_0 -2e+27)
(* (/ x z) (/ (/ y z) z))
(if (<= t_0 5e-115)
(/ (/ x z) (/ z y))
(* (/ x (* z z)) (/ y (+ z 1.0)))))))
double code(double x, double y, double z) {
double t_0 = (z + 1.0) * (z * z);
double tmp;
if (t_0 <= -2e+27) {
tmp = (x / z) * ((y / z) / z);
} else if (t_0 <= 5e-115) {
tmp = (x / z) / (z / y);
} else {
tmp = (x / (z * z)) * (y / (z + 1.0));
}
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 + 1.0d0) * (z * z)
if (t_0 <= (-2d+27)) then
tmp = (x / z) * ((y / z) / z)
else if (t_0 <= 5d-115) then
tmp = (x / z) / (z / y)
else
tmp = (x / (z * z)) * (y / (z + 1.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = (z + 1.0) * (z * z);
double tmp;
if (t_0 <= -2e+27) {
tmp = (x / z) * ((y / z) / z);
} else if (t_0 <= 5e-115) {
tmp = (x / z) / (z / y);
} else {
tmp = (x / (z * z)) * (y / (z + 1.0));
}
return tmp;
}
def code(x, y, z): t_0 = (z + 1.0) * (z * z) tmp = 0 if t_0 <= -2e+27: tmp = (x / z) * ((y / z) / z) elif t_0 <= 5e-115: tmp = (x / z) / (z / y) else: tmp = (x / (z * z)) * (y / (z + 1.0)) return tmp
function code(x, y, z) t_0 = Float64(Float64(z + 1.0) * Float64(z * z)) tmp = 0.0 if (t_0 <= -2e+27) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) / z)); elseif (t_0 <= 5e-115) tmp = Float64(Float64(x / z) / Float64(z / y)); else tmp = Float64(Float64(x / Float64(z * z)) * Float64(y / Float64(z + 1.0))); end return tmp end
function tmp_2 = code(x, y, z) t_0 = (z + 1.0) * (z * z); tmp = 0.0; if (t_0 <= -2e+27) tmp = (x / z) * ((y / z) / z); elseif (t_0 <= 5e-115) tmp = (x / z) / (z / y); else tmp = (x / (z * z)) * (y / (z + 1.0)); end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[(N[(z + 1.0), $MachinePrecision] * N[(z * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, -2e+27], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$0, 5e-115], N[(N[(x / z), $MachinePrecision] / N[(z / y), $MachinePrecision]), $MachinePrecision], N[(N[(x / N[(z * z), $MachinePrecision]), $MachinePrecision] * N[(y / N[(z + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(z + 1\right) \cdot \left(z \cdot z\right)\\
\mathbf{if}\;t_0 \leq -2 \cdot 10^{+27}:\\
\;\;\;\;\frac{x}{z} \cdot \frac{\frac{y}{z}}{z}\\
\mathbf{elif}\;t_0 \leq 5 \cdot 10^{-115}:\\
\;\;\;\;\frac{\frac{x}{z}}{\frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z \cdot z} \cdot \frac{y}{z + 1}\\
\end{array}
\end{array}
if (*.f64 (*.f64 z z) (+.f64 z 1)) < -2e27Initial program 91.0%
associate-*l*91.0%
times-frac95.0%
distribute-lft-in95.0%
fma-def95.0%
*-rgt-identity95.0%
Simplified95.0%
Taylor expanded in z around inf 93.9%
unpow293.9%
associate-/r*96.3%
Simplified96.3%
if -2e27 < (*.f64 (*.f64 z z) (+.f64 z 1)) < 5.0000000000000003e-115Initial program 84.3%
associate-*l*84.3%
times-frac98.8%
distribute-lft-in98.8%
fma-def98.8%
*-rgt-identity98.8%
Simplified98.8%
Taylor expanded in z around 0 98.8%
clear-num98.8%
un-div-inv98.8%
Applied egg-rr98.8%
if 5.0000000000000003e-115 < (*.f64 (*.f64 z z) (+.f64 z 1)) Initial program 84.9%
times-frac92.9%
Simplified92.9%
Final simplification96.2%
(FPCore (x y z) :precision binary64 (if (or (<= z -1.0) (not (<= z 0.75))) (* (/ x z) (/ y (* z z))) (* (/ x z) (- (/ y z) y))))
double code(double x, double y, double z) {
double tmp;
if ((z <= -1.0) || !(z <= 0.75)) {
tmp = (x / z) * (y / (z * z));
} else {
tmp = (x / z) * ((y / z) - y);
}
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 ((z <= (-1.0d0)) .or. (.not. (z <= 0.75d0))) then
tmp = (x / z) * (y / (z * z))
else
tmp = (x / z) * ((y / z) - y)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((z <= -1.0) || !(z <= 0.75)) {
tmp = (x / z) * (y / (z * z));
} else {
tmp = (x / z) * ((y / z) - y);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (z <= -1.0) or not (z <= 0.75): tmp = (x / z) * (y / (z * z)) else: tmp = (x / z) * ((y / z) - y) return tmp
function code(x, y, z) tmp = 0.0 if ((z <= -1.0) || !(z <= 0.75)) tmp = Float64(Float64(x / z) * Float64(y / Float64(z * z))); else tmp = Float64(Float64(x / z) * Float64(Float64(y / z) - y)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((z <= -1.0) || ~((z <= 0.75))) tmp = (x / z) * (y / (z * z)); else tmp = (x / z) * ((y / z) - y); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[z, -1.0], N[Not[LessEqual[z, 0.75]], $MachinePrecision]], N[(N[(x / z), $MachinePrecision] * N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1 \lor \neg \left(z \leq 0.75\right):\\
\;\;\;\;\frac{x}{z} \cdot \frac{y}{z \cdot z}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \left(\frac{y}{z} - y\right)\\
\end{array}
\end{array}
if z < -1 or 0.75 < z Initial program 85.8%
associate-*l*85.8%
times-frac93.0%
distribute-lft-in93.0%
fma-def93.0%
*-rgt-identity93.0%
Simplified93.0%
Taylor expanded in z around inf 91.3%
unpow291.3%
Simplified91.3%
if -1 < z < 0.75Initial program 87.3%
associate-*l*87.3%
times-frac98.2%
distribute-lft-in98.2%
fma-def98.2%
*-rgt-identity98.2%
Simplified98.2%
Taylor expanded in z around 0 97.6%
neg-mul-197.6%
+-commutative97.6%
unsub-neg97.6%
Simplified97.6%
Final simplification94.3%
(FPCore (x y z) :precision binary64 (if (or (<= z -1.0) (not (<= z 0.75))) (* (/ x z) (/ (/ y z) z)) (* (/ x z) (- (/ y z) y))))
double code(double x, double y, double z) {
double tmp;
if ((z <= -1.0) || !(z <= 0.75)) {
tmp = (x / z) * ((y / z) / z);
} else {
tmp = (x / z) * ((y / z) - y);
}
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 ((z <= (-1.0d0)) .or. (.not. (z <= 0.75d0))) then
tmp = (x / z) * ((y / z) / z)
else
tmp = (x / z) * ((y / z) - y)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((z <= -1.0) || !(z <= 0.75)) {
tmp = (x / z) * ((y / z) / z);
} else {
tmp = (x / z) * ((y / z) - y);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (z <= -1.0) or not (z <= 0.75): tmp = (x / z) * ((y / z) / z) else: tmp = (x / z) * ((y / z) - y) return tmp
function code(x, y, z) tmp = 0.0 if ((z <= -1.0) || !(z <= 0.75)) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) / z)); else tmp = Float64(Float64(x / z) * Float64(Float64(y / z) - y)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((z <= -1.0) || ~((z <= 0.75))) tmp = (x / z) * ((y / z) / z); else tmp = (x / z) * ((y / z) - y); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[z, -1.0], N[Not[LessEqual[z, 0.75]], $MachinePrecision]], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1 \lor \neg \left(z \leq 0.75\right):\\
\;\;\;\;\frac{x}{z} \cdot \frac{\frac{y}{z}}{z}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \left(\frac{y}{z} - y\right)\\
\end{array}
\end{array}
if z < -1 or 0.75 < z Initial program 85.8%
associate-*l*85.8%
times-frac93.0%
distribute-lft-in93.0%
fma-def93.0%
*-rgt-identity93.0%
Simplified93.0%
Taylor expanded in z around inf 91.3%
unpow291.3%
associate-/r*93.4%
Simplified93.4%
if -1 < z < 0.75Initial program 87.3%
associate-*l*87.3%
times-frac98.2%
distribute-lft-in98.2%
fma-def98.2%
*-rgt-identity98.2%
Simplified98.2%
Taylor expanded in z around 0 97.6%
neg-mul-197.6%
+-commutative97.6%
unsub-neg97.6%
Simplified97.6%
Final simplification95.4%
(FPCore (x y z) :precision binary64 (if (<= z -1.0) (* (/ x z) (/ (/ y z) z)) (if (<= z 0.75) (* (/ x z) (- (/ y z) y)) (* (/ y z) (/ x (* z z))))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (x / z) * ((y / z) - y);
} else {
tmp = (y / z) * (x / (z * z));
}
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 (z <= (-1.0d0)) then
tmp = (x / z) * ((y / z) / z)
else if (z <= 0.75d0) then
tmp = (x / z) * ((y / z) - y)
else
tmp = (y / z) * (x / (z * z))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (x / z) * ((y / z) - y);
} else {
tmp = (y / z) * (x / (z * z));
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.0: tmp = (x / z) * ((y / z) / z) elif z <= 0.75: tmp = (x / z) * ((y / z) - y) else: tmp = (y / z) * (x / (z * z)) return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.0) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) / z)); elseif (z <= 0.75) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) - y)); else tmp = Float64(Float64(y / z) * Float64(x / Float64(z * z))); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.0) tmp = (x / z) * ((y / z) / z); elseif (z <= 0.75) tmp = (x / z) * ((y / z) - y); else tmp = (y / z) * (x / (z * z)); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.0], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.75], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision], N[(N[(y / z), $MachinePrecision] * N[(x / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1:\\
\;\;\;\;\frac{x}{z} \cdot \frac{\frac{y}{z}}{z}\\
\mathbf{elif}\;z \leq 0.75:\\
\;\;\;\;\frac{x}{z} \cdot \left(\frac{y}{z} - y\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y}{z} \cdot \frac{x}{z \cdot z}\\
\end{array}
\end{array}
if z < -1Initial program 91.0%
associate-*l*91.0%
times-frac95.0%
distribute-lft-in95.0%
fma-def95.0%
*-rgt-identity95.0%
Simplified95.0%
Taylor expanded in z around inf 93.9%
unpow293.9%
associate-/r*96.3%
Simplified96.3%
if -1 < z < 0.75Initial program 87.3%
associate-*l*87.3%
times-frac98.2%
distribute-lft-in98.2%
fma-def98.2%
*-rgt-identity98.2%
Simplified98.2%
Taylor expanded in z around 0 97.6%
neg-mul-197.6%
+-commutative97.6%
unsub-neg97.6%
Simplified97.6%
if 0.75 < z Initial program 78.6%
associate-*l*78.6%
times-frac90.2%
distribute-lft-in90.2%
fma-def90.2%
*-rgt-identity90.2%
Simplified90.2%
Taylor expanded in z around inf 87.7%
unpow287.7%
associate-/r*89.2%
Simplified89.2%
*-commutative89.2%
clear-num89.1%
frac-times84.2%
*-un-lft-identity84.2%
div-inv84.2%
clear-num84.2%
Applied egg-rr84.2%
associate-/l/89.1%
*-commutative89.1%
*-un-lft-identity89.1%
times-frac90.8%
clear-num90.8%
associate-/l/89.2%
Applied egg-rr89.2%
Final simplification95.4%
(FPCore (x y z) :precision binary64 (if (<= z -1.0) (* (/ x z) (/ (/ y z) z)) (if (<= z 0.75) (* (/ x z) (- (/ y z) y)) (/ (* y (/ x (* z z))) z))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (x / z) * ((y / z) - y);
} else {
tmp = (y * (x / (z * z))) / z;
}
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 (z <= (-1.0d0)) then
tmp = (x / z) * ((y / z) / z)
else if (z <= 0.75d0) then
tmp = (x / z) * ((y / z) - y)
else
tmp = (y * (x / (z * z))) / z
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (x / z) * ((y / z) - y);
} else {
tmp = (y * (x / (z * z))) / z;
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.0: tmp = (x / z) * ((y / z) / z) elif z <= 0.75: tmp = (x / z) * ((y / z) - y) else: tmp = (y * (x / (z * z))) / z return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.0) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) / z)); elseif (z <= 0.75) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) - y)); else tmp = Float64(Float64(y * Float64(x / Float64(z * z))) / z); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.0) tmp = (x / z) * ((y / z) / z); elseif (z <= 0.75) tmp = (x / z) * ((y / z) - y); else tmp = (y * (x / (z * z))) / z; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.0], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.75], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision], N[(N[(y * N[(x / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1:\\
\;\;\;\;\frac{x}{z} \cdot \frac{\frac{y}{z}}{z}\\
\mathbf{elif}\;z \leq 0.75:\\
\;\;\;\;\frac{x}{z} \cdot \left(\frac{y}{z} - y\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \frac{x}{z \cdot z}}{z}\\
\end{array}
\end{array}
if z < -1Initial program 91.0%
associate-*l*91.0%
times-frac95.0%
distribute-lft-in95.0%
fma-def95.0%
*-rgt-identity95.0%
Simplified95.0%
Taylor expanded in z around inf 93.9%
unpow293.9%
associate-/r*96.3%
Simplified96.3%
if -1 < z < 0.75Initial program 87.3%
associate-*l*87.3%
times-frac98.2%
distribute-lft-in98.2%
fma-def98.2%
*-rgt-identity98.2%
Simplified98.2%
Taylor expanded in z around 0 97.6%
neg-mul-197.6%
+-commutative97.6%
unsub-neg97.6%
Simplified97.6%
if 0.75 < z Initial program 78.6%
associate-*l*78.6%
times-frac90.2%
distribute-lft-in90.2%
fma-def90.2%
*-rgt-identity90.2%
Simplified90.2%
Taylor expanded in z around inf 87.7%
unpow287.7%
associate-/r*89.2%
Simplified89.2%
*-commutative89.2%
associate-*l/94.1%
div-inv94.0%
associate-*l*94.0%
times-frac92.4%
*-un-lft-identity92.4%
Applied egg-rr92.4%
Final simplification96.1%
(FPCore (x y z) :precision binary64 (if (<= z -1.0) (* (/ x z) (/ (/ y z) z)) (if (<= z 0.75) (* (/ x z) (- (/ y z) y)) (/ (/ y z) (* z (/ z x))))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (x / z) * ((y / z) - y);
} else {
tmp = (y / z) / (z * (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 (z <= (-1.0d0)) then
tmp = (x / z) * ((y / z) / z)
else if (z <= 0.75d0) then
tmp = (x / z) * ((y / z) - y)
else
tmp = (y / z) / (z * (z / x))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (x / z) * ((y / z) - y);
} else {
tmp = (y / z) / (z * (z / x));
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.0: tmp = (x / z) * ((y / z) / z) elif z <= 0.75: tmp = (x / z) * ((y / z) - y) else: tmp = (y / z) / (z * (z / x)) return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.0) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) / z)); elseif (z <= 0.75) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) - y)); else tmp = Float64(Float64(y / z) / Float64(z * Float64(z / x))); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.0) tmp = (x / z) * ((y / z) / z); elseif (z <= 0.75) tmp = (x / z) * ((y / z) - y); else tmp = (y / z) / (z * (z / x)); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.0], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.75], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision], N[(N[(y / z), $MachinePrecision] / N[(z * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1:\\
\;\;\;\;\frac{x}{z} \cdot \frac{\frac{y}{z}}{z}\\
\mathbf{elif}\;z \leq 0.75:\\
\;\;\;\;\frac{x}{z} \cdot \left(\frac{y}{z} - y\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{y}{z}}{z \cdot \frac{z}{x}}\\
\end{array}
\end{array}
if z < -1Initial program 91.0%
associate-*l*91.0%
times-frac95.0%
distribute-lft-in95.0%
fma-def95.0%
*-rgt-identity95.0%
Simplified95.0%
Taylor expanded in z around inf 93.9%
unpow293.9%
associate-/r*96.3%
Simplified96.3%
if -1 < z < 0.75Initial program 87.3%
associate-*l*87.3%
times-frac98.2%
distribute-lft-in98.2%
fma-def98.2%
*-rgt-identity98.2%
Simplified98.2%
Taylor expanded in z around 0 97.6%
neg-mul-197.6%
+-commutative97.6%
unsub-neg97.6%
Simplified97.6%
if 0.75 < z Initial program 78.6%
associate-*l*78.6%
times-frac90.2%
distribute-lft-in90.2%
fma-def90.2%
*-rgt-identity90.2%
Simplified90.2%
Taylor expanded in z around inf 87.7%
unpow287.7%
associate-/r*89.2%
Simplified89.2%
clear-num89.2%
frac-times90.9%
*-un-lft-identity90.9%
*-commutative90.9%
Applied egg-rr90.9%
Final simplification95.7%
(FPCore (x y z) :precision binary64 (if (<= z -1.0) (* (/ x z) (/ (/ y z) z)) (if (<= z 0.75) (* (/ y z) (- (/ x z) x)) (/ (/ y z) (* z (/ z x))))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (y / z) * ((x / z) - x);
} else {
tmp = (y / z) / (z * (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 (z <= (-1.0d0)) then
tmp = (x / z) * ((y / z) / z)
else if (z <= 0.75d0) then
tmp = (y / z) * ((x / z) - x)
else
tmp = (y / z) / (z * (z / x))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = (x / z) * ((y / z) / z);
} else if (z <= 0.75) {
tmp = (y / z) * ((x / z) - x);
} else {
tmp = (y / z) / (z * (z / x));
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.0: tmp = (x / z) * ((y / z) / z) elif z <= 0.75: tmp = (y / z) * ((x / z) - x) else: tmp = (y / z) / (z * (z / x)) return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.0) tmp = Float64(Float64(x / z) * Float64(Float64(y / z) / z)); elseif (z <= 0.75) tmp = Float64(Float64(y / z) * Float64(Float64(x / z) - x)); else tmp = Float64(Float64(y / z) / Float64(z * Float64(z / x))); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.0) tmp = (x / z) * ((y / z) / z); elseif (z <= 0.75) tmp = (y / z) * ((x / z) - x); else tmp = (y / z) / (z * (z / x)); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.0], N[(N[(x / z), $MachinePrecision] * N[(N[(y / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.75], N[(N[(y / z), $MachinePrecision] * N[(N[(x / z), $MachinePrecision] - x), $MachinePrecision]), $MachinePrecision], N[(N[(y / z), $MachinePrecision] / N[(z * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1:\\
\;\;\;\;\frac{x}{z} \cdot \frac{\frac{y}{z}}{z}\\
\mathbf{elif}\;z \leq 0.75:\\
\;\;\;\;\frac{y}{z} \cdot \left(\frac{x}{z} - x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{y}{z}}{z \cdot \frac{z}{x}}\\
\end{array}
\end{array}
if z < -1Initial program 91.0%
associate-*l*91.0%
times-frac95.0%
distribute-lft-in95.0%
fma-def95.0%
*-rgt-identity95.0%
Simplified95.0%
Taylor expanded in z around inf 93.9%
unpow293.9%
associate-/r*96.3%
Simplified96.3%
if -1 < z < 0.75Initial program 87.3%
associate-*l*87.3%
times-frac98.2%
distribute-lft-in98.2%
fma-def98.2%
*-rgt-identity98.2%
Simplified98.2%
fma-udef98.2%
*-rgt-identity98.2%
distribute-lft-in98.2%
times-frac87.3%
associate-*l*87.3%
associate-/r*87.3%
clear-num87.3%
times-frac98.1%
Applied egg-rr98.1%
Taylor expanded in z around 0 69.7%
+-commutative69.7%
mul-1-neg69.7%
associate-/l*66.4%
associate-/r/67.2%
distribute-rgt-neg-out67.2%
unpow267.2%
associate-/l*66.6%
associate-/l*72.4%
associate-/r/78.1%
distribute-lft-out97.6%
Simplified97.6%
if 0.75 < z Initial program 78.6%
associate-*l*78.6%
times-frac90.2%
distribute-lft-in90.2%
fma-def90.2%
*-rgt-identity90.2%
Simplified90.2%
Taylor expanded in z around inf 87.7%
unpow287.7%
associate-/r*89.2%
Simplified89.2%
clear-num89.2%
frac-times90.9%
*-un-lft-identity90.9%
*-commutative90.9%
Applied egg-rr90.9%
Final simplification95.8%
(FPCore (x y z) :precision binary64 (if (<= z -5e-136) (* y (/ x (* z z))) (* (/ x z) (/ y z))))
double code(double x, double y, double z) {
double tmp;
if (z <= -5e-136) {
tmp = y * (x / (z * z));
} else {
tmp = (x / z) * (y / z);
}
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 (z <= (-5d-136)) then
tmp = y * (x / (z * z))
else
tmp = (x / z) * (y / z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -5e-136) {
tmp = y * (x / (z * z));
} else {
tmp = (x / z) * (y / z);
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -5e-136: tmp = y * (x / (z * z)) else: tmp = (x / z) * (y / z) return tmp
function code(x, y, z) tmp = 0.0 if (z <= -5e-136) tmp = Float64(y * Float64(x / Float64(z * z))); else tmp = Float64(Float64(x / z) * Float64(y / z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -5e-136) tmp = y * (x / (z * z)); else tmp = (x / z) * (y / z); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -5e-136], N[(y * N[(x / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5 \cdot 10^{-136}:\\
\;\;\;\;y \cdot \frac{x}{z \cdot z}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \frac{y}{z}\\
\end{array}
\end{array}
if z < -5.0000000000000002e-136Initial program 91.6%
times-frac97.1%
Simplified97.1%
Taylor expanded in z around 0 74.9%
if -5.0000000000000002e-136 < z Initial program 82.9%
associate-*l*82.9%
times-frac94.9%
distribute-lft-in94.9%
fma-def94.9%
*-rgt-identity94.9%
Simplified94.9%
Taylor expanded in z around 0 81.2%
Final simplification78.6%
(FPCore (x y z) :precision binary64 (if (<= x -1.55e-10) (* x (/ y (* z z))) (* (/ x z) (/ y z))))
double code(double x, double y, double z) {
double tmp;
if (x <= -1.55e-10) {
tmp = x * (y / (z * z));
} else {
tmp = (x / z) * (y / z);
}
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.55d-10)) then
tmp = x * (y / (z * z))
else
tmp = (x / z) * (y / z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= -1.55e-10) {
tmp = x * (y / (z * z));
} else {
tmp = (x / z) * (y / z);
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= -1.55e-10: tmp = x * (y / (z * z)) else: tmp = (x / z) * (y / z) return tmp
function code(x, y, z) tmp = 0.0 if (x <= -1.55e-10) tmp = Float64(x * Float64(y / Float64(z * z))); else tmp = Float64(Float64(x / z) * Float64(y / z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= -1.55e-10) tmp = x * (y / (z * z)); else tmp = (x / z) * (y / z); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, -1.55e-10], N[(x * N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.55 \cdot 10^{-10}:\\
\;\;\;\;x \cdot \frac{y}{z \cdot z}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \frac{y}{z}\\
\end{array}
\end{array}
if x < -1.55000000000000008e-10Initial program 86.5%
associate-*l*86.5%
times-frac92.6%
distribute-lft-in92.6%
fma-def92.6%
*-rgt-identity92.6%
Simplified92.6%
Taylor expanded in z around 0 74.0%
unpow274.0%
associate-/l*71.2%
Simplified71.2%
associate-/r/75.9%
Applied egg-rr75.9%
if -1.55000000000000008e-10 < x Initial program 86.5%
associate-*l*86.5%
times-frac96.4%
distribute-lft-in96.4%
fma-def96.4%
*-rgt-identity96.4%
Simplified96.4%
Taylor expanded in z around 0 78.5%
Final simplification77.8%
(FPCore (x y z) :precision binary64 (if (<= x -1.45e-88) (/ x (* z (/ z y))) (* (/ x z) (/ y z))))
double code(double x, double y, double z) {
double tmp;
if (x <= -1.45e-88) {
tmp = x / (z * (z / y));
} else {
tmp = (x / z) * (y / z);
}
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.45d-88)) then
tmp = x / (z * (z / y))
else
tmp = (x / z) * (y / z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= -1.45e-88) {
tmp = x / (z * (z / y));
} else {
tmp = (x / z) * (y / z);
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= -1.45e-88: tmp = x / (z * (z / y)) else: tmp = (x / z) * (y / z) return tmp
function code(x, y, z) tmp = 0.0 if (x <= -1.45e-88) tmp = Float64(x / Float64(z * Float64(z / y))); else tmp = Float64(Float64(x / z) * Float64(y / z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= -1.45e-88) tmp = x / (z * (z / y)); else tmp = (x / z) * (y / z); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, -1.45e-88], N[(x / N[(z * N[(z / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.45 \cdot 10^{-88}:\\
\;\;\;\;\frac{x}{z \cdot \frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \frac{y}{z}\\
\end{array}
\end{array}
if x < -1.4500000000000001e-88Initial program 86.4%
/-rgt-identity86.4%
associate-/l*86.4%
associate-/l/90.1%
associate-*l*90.9%
associate-*r/91.0%
*-rgt-identity91.0%
associate-*l*94.4%
associate-*r/92.1%
distribute-lft-in92.2%
fma-def92.2%
*-rgt-identity92.2%
Simplified92.2%
Taylor expanded in z around 0 74.6%
if -1.4500000000000001e-88 < x Initial program 86.6%
associate-*l*86.6%
times-frac96.6%
distribute-lft-in96.6%
fma-def96.6%
*-rgt-identity96.6%
Simplified96.6%
Taylor expanded in z around 0 78.3%
Final simplification77.1%
(FPCore (x y z) :precision binary64 (if (<= x -1.2e-88) (/ x (* z (/ z y))) (/ y (* z (/ z x)))))
double code(double x, double y, double z) {
double tmp;
if (x <= -1.2e-88) {
tmp = x / (z * (z / y));
} else {
tmp = y / (z * (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 <= (-1.2d-88)) then
tmp = x / (z * (z / y))
else
tmp = y / (z * (z / x))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= -1.2e-88) {
tmp = x / (z * (z / y));
} else {
tmp = y / (z * (z / x));
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= -1.2e-88: tmp = x / (z * (z / y)) else: tmp = y / (z * (z / x)) return tmp
function code(x, y, z) tmp = 0.0 if (x <= -1.2e-88) tmp = Float64(x / Float64(z * Float64(z / y))); else tmp = Float64(y / Float64(z * Float64(z / x))); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= -1.2e-88) tmp = x / (z * (z / y)); else tmp = y / (z * (z / x)); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, -1.2e-88], N[(x / N[(z * N[(z / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y / N[(z * N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.2 \cdot 10^{-88}:\\
\;\;\;\;\frac{x}{z \cdot \frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;\frac{y}{z \cdot \frac{z}{x}}\\
\end{array}
\end{array}
if x < -1.2e-88Initial program 86.4%
/-rgt-identity86.4%
associate-/l*86.4%
associate-/l/90.1%
associate-*l*90.9%
associate-*r/91.0%
*-rgt-identity91.0%
associate-*l*94.4%
associate-*r/92.1%
distribute-lft-in92.2%
fma-def92.2%
*-rgt-identity92.2%
Simplified92.2%
Taylor expanded in z around 0 74.6%
if -1.2e-88 < x Initial program 86.6%
associate-*l*86.6%
times-frac96.6%
distribute-lft-in96.6%
fma-def96.6%
*-rgt-identity96.6%
Simplified96.6%
Taylor expanded in z around 0 71.7%
unpow271.7%
associate-/l*74.5%
associate-/l*78.6%
associate-/r/78.6%
Simplified78.6%
Final simplification77.3%
(FPCore (x y z) :precision binary64 (* (/ x z) (/ y z)))
double code(double x, double y, double z) {
return (x / z) * (y / z);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x / z) * (y / z)
end function
public static double code(double x, double y, double z) {
return (x / z) * (y / z);
}
def code(x, y, z): return (x / z) * (y / z)
function code(x, y, z) return Float64(Float64(x / z) * Float64(y / z)) end
function tmp = code(x, y, z) tmp = (x / z) * (y / z); end
code[x_, y_, z_] := N[(N[(x / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{z} \cdot \frac{y}{z}
\end{array}
Initial program 86.5%
associate-*l*86.5%
times-frac95.5%
distribute-lft-in95.5%
fma-def95.5%
*-rgt-identity95.5%
Simplified95.5%
Taylor expanded in z around 0 75.6%
Final simplification75.6%
(FPCore (x y z) :precision binary64 (* (/ x z) (- y)))
double code(double x, double y, double z) {
return (x / z) * -y;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x / z) * -y
end function
public static double code(double x, double y, double z) {
return (x / z) * -y;
}
def code(x, y, z): return (x / z) * -y
function code(x, y, z) return Float64(Float64(x / z) * Float64(-y)) end
function tmp = code(x, y, z) tmp = (x / z) * -y; end
code[x_, y_, z_] := N[(N[(x / z), $MachinePrecision] * (-y)), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{z} \cdot \left(-y\right)
\end{array}
Initial program 86.5%
associate-*l*86.5%
times-frac95.5%
distribute-lft-in95.5%
fma-def95.5%
*-rgt-identity95.5%
Simplified95.5%
Taylor expanded in z around 0 65.0%
neg-mul-165.0%
+-commutative65.0%
unsub-neg65.0%
Simplified65.0%
Taylor expanded in z around inf 24.0%
mul-1-neg24.0%
*-commutative24.0%
associate-*l/29.0%
distribute-rgt-neg-out29.0%
Simplified29.0%
Final simplification29.0%
(FPCore (x y z) :precision binary64 (if (< z 249.6182814532307) (/ (* y (/ x z)) (+ z (* z z))) (/ (* (/ (/ y z) (+ 1.0 z)) x) z)))
double code(double x, double y, double z) {
double tmp;
if (z < 249.6182814532307) {
tmp = (y * (x / z)) / (z + (z * z));
} else {
tmp = (((y / z) / (1.0 + z)) * x) / z;
}
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 (z < 249.6182814532307d0) then
tmp = (y * (x / z)) / (z + (z * z))
else
tmp = (((y / z) / (1.0d0 + z)) * x) / z
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z < 249.6182814532307) {
tmp = (y * (x / z)) / (z + (z * z));
} else {
tmp = (((y / z) / (1.0 + z)) * x) / z;
}
return tmp;
}
def code(x, y, z): tmp = 0 if z < 249.6182814532307: tmp = (y * (x / z)) / (z + (z * z)) else: tmp = (((y / z) / (1.0 + z)) * x) / z return tmp
function code(x, y, z) tmp = 0.0 if (z < 249.6182814532307) tmp = Float64(Float64(y * Float64(x / z)) / Float64(z + Float64(z * z))); else tmp = Float64(Float64(Float64(Float64(y / z) / Float64(1.0 + z)) * x) / z); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z < 249.6182814532307) tmp = (y * (x / z)) / (z + (z * z)); else tmp = (((y / z) / (1.0 + z)) * x) / z; end tmp_2 = tmp; end
code[x_, y_, z_] := If[Less[z, 249.6182814532307], N[(N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision] / N[(z + N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(y / z), $MachinePrecision] / N[(1.0 + z), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z < 249.6182814532307:\\
\;\;\;\;\frac{y \cdot \frac{x}{z}}{z + z \cdot z}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{\frac{y}{z}}{1 + z} \cdot x}{z}\\
\end{array}
\end{array}
herbie shell --seed 2023223
(FPCore (x y z)
:name "Statistics.Distribution.Beta:$cvariance from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(if (< z 249.6182814532307) (/ (* y (/ x z)) (+ z (* z z))) (/ (* (/ (/ y z) (+ 1.0 z)) x) z))
(/ (* x y) (* (* z z) (+ z 1.0))))