
(FPCore (x y z) :precision binary64 (* (+ x y) (+ z 1.0)))
double code(double x, double y, double z) {
return (x + y) * (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 + 1.0d0)
end function
public static double code(double x, double y, double z) {
return (x + y) * (z + 1.0);
}
def code(x, y, z): return (x + y) * (z + 1.0)
function code(x, y, z) return Float64(Float64(x + y) * Float64(z + 1.0)) end
function tmp = code(x, y, z) tmp = (x + y) * (z + 1.0); end
code[x_, y_, z_] := N[(N[(x + y), $MachinePrecision] * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + y\right) \cdot \left(z + 1\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 10 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (* (+ x y) (+ z 1.0)))
double code(double x, double y, double z) {
return (x + y) * (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 + 1.0d0)
end function
public static double code(double x, double y, double z) {
return (x + y) * (z + 1.0);
}
def code(x, y, z): return (x + y) * (z + 1.0)
function code(x, y, z) return Float64(Float64(x + y) * Float64(z + 1.0)) end
function tmp = code(x, y, z) tmp = (x + y) * (z + 1.0); end
code[x_, y_, z_] := N[(N[(x + y), $MachinePrecision] * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + y\right) \cdot \left(z + 1\right)
\end{array}
(FPCore (x y z) :precision binary64 (+ (+ x y) (* (+ x y) z)))
double code(double x, double y, double z) {
return (x + y) + ((x + 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 + y) + ((x + y) * z)
end function
public static double code(double x, double y, double z) {
return (x + y) + ((x + y) * z);
}
def code(x, y, z): return (x + y) + ((x + y) * z)
function code(x, y, z) return Float64(Float64(x + y) + Float64(Float64(x + y) * z)) end
function tmp = code(x, y, z) tmp = (x + y) + ((x + y) * z); end
code[x_, y_, z_] := N[(N[(x + y), $MachinePrecision] + N[(N[(x + y), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + y\right) + \left(x + y\right) \cdot z
\end{array}
Initial program 100.0%
+-commutative100.0%
distribute-lft-in100.0%
*-rgt-identity100.0%
Applied egg-rr100.0%
(FPCore (x y z)
:precision binary64
(if (<= (+ z 1.0) 0.99998)
(* x (+ z 1.0))
(if (<= (+ z 1.0) 2e+14)
(+ x y)
(if (<= (+ z 1.0) 2e+156) (* x z) (* y z)))))
double code(double x, double y, double z) {
double tmp;
if ((z + 1.0) <= 0.99998) {
tmp = x * (z + 1.0);
} else if ((z + 1.0) <= 2e+14) {
tmp = x + y;
} else if ((z + 1.0) <= 2e+156) {
tmp = x * z;
} else {
tmp = 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 + 1.0d0) <= 0.99998d0) then
tmp = x * (z + 1.0d0)
else if ((z + 1.0d0) <= 2d+14) then
tmp = x + y
else if ((z + 1.0d0) <= 2d+156) then
tmp = x * z
else
tmp = y * z
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((z + 1.0) <= 0.99998) {
tmp = x * (z + 1.0);
} else if ((z + 1.0) <= 2e+14) {
tmp = x + y;
} else if ((z + 1.0) <= 2e+156) {
tmp = x * z;
} else {
tmp = y * z;
}
return tmp;
}
def code(x, y, z): tmp = 0 if (z + 1.0) <= 0.99998: tmp = x * (z + 1.0) elif (z + 1.0) <= 2e+14: tmp = x + y elif (z + 1.0) <= 2e+156: tmp = x * z else: tmp = y * z return tmp
function code(x, y, z) tmp = 0.0 if (Float64(z + 1.0) <= 0.99998) tmp = Float64(x * Float64(z + 1.0)); elseif (Float64(z + 1.0) <= 2e+14) tmp = Float64(x + y); elseif (Float64(z + 1.0) <= 2e+156) tmp = Float64(x * z); else tmp = Float64(y * z); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((z + 1.0) <= 0.99998) tmp = x * (z + 1.0); elseif ((z + 1.0) <= 2e+14) tmp = x + y; elseif ((z + 1.0) <= 2e+156) tmp = x * z; else tmp = y * z; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[N[(z + 1.0), $MachinePrecision], 0.99998], N[(x * N[(z + 1.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(z + 1.0), $MachinePrecision], 2e+14], N[(x + y), $MachinePrecision], If[LessEqual[N[(z + 1.0), $MachinePrecision], 2e+156], N[(x * z), $MachinePrecision], N[(y * z), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z + 1 \leq 0.99998:\\
\;\;\;\;x \cdot \left(z + 1\right)\\
\mathbf{elif}\;z + 1 \leq 2 \cdot 10^{+14}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;z + 1 \leq 2 \cdot 10^{+156}:\\
\;\;\;\;x \cdot z\\
\mathbf{else}:\\
\;\;\;\;y \cdot z\\
\end{array}
\end{array}
if (+.f64 z #s(literal 1 binary64)) < 0.99997999999999998Initial program 99.9%
Taylor expanded in x around inf 58.9%
if 0.99997999999999998 < (+.f64 z #s(literal 1 binary64)) < 2e14Initial program 100.0%
Taylor expanded in z around 0 96.8%
+-commutative96.8%
Simplified96.8%
if 2e14 < (+.f64 z #s(literal 1 binary64)) < 2e156Initial program 100.0%
Taylor expanded in z around inf 100.0%
Taylor expanded in x around inf 35.2%
*-commutative35.2%
Simplified35.2%
if 2e156 < (+.f64 z #s(literal 1 binary64)) Initial program 99.9%
Taylor expanded in z around inf 99.9%
Taylor expanded in x around 0 33.9%
Final simplification77.9%
(FPCore (x y z)
:precision binary64
(if (<= z -1.0)
(* x z)
(if (<= z 1.35e-45)
x
(if (<= z 1.02e+14) y (if (<= z 6.2e+163) (* x z) (* y z))))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = x * z;
} else if (z <= 1.35e-45) {
tmp = x;
} else if (z <= 1.02e+14) {
tmp = y;
} else if (z <= 6.2e+163) {
tmp = x * z;
} else {
tmp = 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 <= (-1.0d0)) then
tmp = x * z
else if (z <= 1.35d-45) then
tmp = x
else if (z <= 1.02d+14) then
tmp = y
else if (z <= 6.2d+163) then
tmp = x * z
else
tmp = y * 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;
} else if (z <= 1.35e-45) {
tmp = x;
} else if (z <= 1.02e+14) {
tmp = y;
} else if (z <= 6.2e+163) {
tmp = x * z;
} else {
tmp = y * z;
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.0: tmp = x * z elif z <= 1.35e-45: tmp = x elif z <= 1.02e+14: tmp = y elif z <= 6.2e+163: tmp = x * z else: tmp = y * z return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.0) tmp = Float64(x * z); elseif (z <= 1.35e-45) tmp = x; elseif (z <= 1.02e+14) tmp = y; elseif (z <= 6.2e+163) tmp = Float64(x * z); else tmp = Float64(y * z); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.0) tmp = x * z; elseif (z <= 1.35e-45) tmp = x; elseif (z <= 1.02e+14) tmp = y; elseif (z <= 6.2e+163) tmp = x * z; else tmp = y * z; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.0], N[(x * z), $MachinePrecision], If[LessEqual[z, 1.35e-45], x, If[LessEqual[z, 1.02e+14], y, If[LessEqual[z, 6.2e+163], N[(x * z), $MachinePrecision], N[(y * z), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1:\\
\;\;\;\;x \cdot z\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{-45}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 1.02 \cdot 10^{+14}:\\
\;\;\;\;y\\
\mathbf{elif}\;z \leq 6.2 \cdot 10^{+163}:\\
\;\;\;\;x \cdot z\\
\mathbf{else}:\\
\;\;\;\;y \cdot z\\
\end{array}
\end{array}
if z < -1 or 1.02e14 < z < 6.20000000000000057e163Initial program 100.0%
Taylor expanded in z around inf 99.9%
Taylor expanded in x around inf 52.8%
*-commutative52.8%
Simplified52.8%
if -1 < z < 1.34999999999999992e-45Initial program 100.0%
Taylor expanded in z around 0 98.1%
+-commutative98.1%
Simplified98.1%
Taylor expanded in y around 0 47.9%
if 1.34999999999999992e-45 < z < 1.02e14Initial program 99.8%
Taylor expanded in z around 0 70.5%
+-commutative70.5%
Simplified70.5%
Taylor expanded in y around inf 47.1%
if 6.20000000000000057e163 < z Initial program 99.9%
Taylor expanded in z around inf 99.9%
Taylor expanded in x around 0 33.9%
Final simplification47.8%
(FPCore (x y z) :precision binary64 (if (<= z -1.0) (* x z) (if (<= z 1.02e+14) (+ x y) (if (<= z 3.3e+171) (* x z) (* y z)))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.0) {
tmp = x * z;
} else if (z <= 1.02e+14) {
tmp = x + y;
} else if (z <= 3.3e+171) {
tmp = x * z;
} else {
tmp = 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 <= (-1.0d0)) then
tmp = x * z
else if (z <= 1.02d+14) then
tmp = x + y
else if (z <= 3.3d+171) then
tmp = x * z
else
tmp = y * 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;
} else if (z <= 1.02e+14) {
tmp = x + y;
} else if (z <= 3.3e+171) {
tmp = x * z;
} else {
tmp = y * z;
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.0: tmp = x * z elif z <= 1.02e+14: tmp = x + y elif z <= 3.3e+171: tmp = x * z else: tmp = y * z return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.0) tmp = Float64(x * z); elseif (z <= 1.02e+14) tmp = Float64(x + y); elseif (z <= 3.3e+171) tmp = Float64(x * z); else tmp = Float64(y * z); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.0) tmp = x * z; elseif (z <= 1.02e+14) tmp = x + y; elseif (z <= 3.3e+171) tmp = x * z; else tmp = y * z; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.0], N[(x * z), $MachinePrecision], If[LessEqual[z, 1.02e+14], N[(x + y), $MachinePrecision], If[LessEqual[z, 3.3e+171], N[(x * z), $MachinePrecision], N[(y * z), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1:\\
\;\;\;\;x \cdot z\\
\mathbf{elif}\;z \leq 1.02 \cdot 10^{+14}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;z \leq 3.3 \cdot 10^{+171}:\\
\;\;\;\;x \cdot z\\
\mathbf{else}:\\
\;\;\;\;y \cdot z\\
\end{array}
\end{array}
if z < -1 or 1.02e14 < z < 3.29999999999999991e171Initial program 100.0%
Taylor expanded in z around inf 99.9%
Taylor expanded in x around inf 52.8%
*-commutative52.8%
Simplified52.8%
if -1 < z < 1.02e14Initial program 100.0%
Taylor expanded in z around 0 95.7%
+-commutative95.7%
Simplified95.7%
if 3.29999999999999991e171 < z Initial program 99.9%
Taylor expanded in z around inf 99.9%
Taylor expanded in x around 0 33.9%
Final simplification77.9%
(FPCore (x y z) :precision binary64 (if (<= (+ x y) -5e-282) (+ x (* x z)) (+ y (* y z))))
double code(double x, double y, double z) {
double tmp;
if ((x + y) <= -5e-282) {
tmp = x + (x * z);
} else {
tmp = y + (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 + y) <= (-5d-282)) then
tmp = x + (x * z)
else
tmp = y + (y * z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x + y) <= -5e-282) {
tmp = x + (x * z);
} else {
tmp = y + (y * z);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x + y) <= -5e-282: tmp = x + (x * z) else: tmp = y + (y * z) return tmp
function code(x, y, z) tmp = 0.0 if (Float64(x + y) <= -5e-282) tmp = Float64(x + Float64(x * z)); else tmp = Float64(y + Float64(y * z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x + y) <= -5e-282) tmp = x + (x * z); else tmp = y + (y * z); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[N[(x + y), $MachinePrecision], -5e-282], N[(x + N[(x * z), $MachinePrecision]), $MachinePrecision], N[(y + N[(y * z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x + y \leq -5 \cdot 10^{-282}:\\
\;\;\;\;x + x \cdot z\\
\mathbf{else}:\\
\;\;\;\;y + y \cdot z\\
\end{array}
\end{array}
if (+.f64 x y) < -5.0000000000000001e-282Initial program 100.0%
Taylor expanded in x around inf 49.0%
distribute-lft-in49.0%
*-rgt-identity49.0%
Applied egg-rr49.0%
if -5.0000000000000001e-282 < (+.f64 x y) Initial program 99.9%
Taylor expanded in x around 0 47.7%
distribute-lft-in47.7%
*-rgt-identity47.7%
Applied egg-rr47.7%
Final simplification48.4%
(FPCore (x y z) :precision binary64 (if (<= (+ x y) -5e-282) (+ x (* x z)) (* y (+ z 1.0))))
double code(double x, double y, double z) {
double tmp;
if ((x + y) <= -5e-282) {
tmp = x + (x * z);
} else {
tmp = 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) :: tmp
if ((x + y) <= (-5d-282)) then
tmp = x + (x * z)
else
tmp = y * (z + 1.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x + y) <= -5e-282) {
tmp = x + (x * z);
} else {
tmp = y * (z + 1.0);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x + y) <= -5e-282: tmp = x + (x * z) else: tmp = y * (z + 1.0) return tmp
function code(x, y, z) tmp = 0.0 if (Float64(x + y) <= -5e-282) tmp = Float64(x + Float64(x * z)); else tmp = Float64(y * Float64(z + 1.0)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x + y) <= -5e-282) tmp = x + (x * z); else tmp = y * (z + 1.0); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[N[(x + y), $MachinePrecision], -5e-282], N[(x + N[(x * z), $MachinePrecision]), $MachinePrecision], N[(y * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x + y \leq -5 \cdot 10^{-282}:\\
\;\;\;\;x + x \cdot z\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(z + 1\right)\\
\end{array}
\end{array}
if (+.f64 x y) < -5.0000000000000001e-282Initial program 100.0%
Taylor expanded in x around inf 49.0%
distribute-lft-in49.0%
*-rgt-identity49.0%
Applied egg-rr49.0%
if -5.0000000000000001e-282 < (+.f64 x y) Initial program 99.9%
Taylor expanded in x around 0 47.7%
Final simplification48.4%
(FPCore (x y z) :precision binary64 (if (<= (+ x y) -5e-282) (* x (+ z 1.0)) (* y (+ z 1.0))))
double code(double x, double y, double z) {
double tmp;
if ((x + y) <= -5e-282) {
tmp = x * (z + 1.0);
} else {
tmp = 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) :: tmp
if ((x + y) <= (-5d-282)) then
tmp = x * (z + 1.0d0)
else
tmp = y * (z + 1.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x + y) <= -5e-282) {
tmp = x * (z + 1.0);
} else {
tmp = y * (z + 1.0);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x + y) <= -5e-282: tmp = x * (z + 1.0) else: tmp = y * (z + 1.0) return tmp
function code(x, y, z) tmp = 0.0 if (Float64(x + y) <= -5e-282) tmp = Float64(x * Float64(z + 1.0)); else tmp = Float64(y * Float64(z + 1.0)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x + y) <= -5e-282) tmp = x * (z + 1.0); else tmp = y * (z + 1.0); end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[N[(x + y), $MachinePrecision], -5e-282], N[(x * N[(z + 1.0), $MachinePrecision]), $MachinePrecision], N[(y * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x + y \leq -5 \cdot 10^{-282}:\\
\;\;\;\;x \cdot \left(z + 1\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(z + 1\right)\\
\end{array}
\end{array}
if (+.f64 x y) < -5.0000000000000001e-282Initial program 100.0%
Taylor expanded in x around inf 49.0%
if -5.0000000000000001e-282 < (+.f64 x y) Initial program 99.9%
Taylor expanded in x around 0 47.7%
(FPCore (x y z) :precision binary64 (* (+ x y) (+ z 1.0)))
double code(double x, double y, double z) {
return (x + y) * (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 + 1.0d0)
end function
public static double code(double x, double y, double z) {
return (x + y) * (z + 1.0);
}
def code(x, y, z): return (x + y) * (z + 1.0)
function code(x, y, z) return Float64(Float64(x + y) * Float64(z + 1.0)) end
function tmp = code(x, y, z) tmp = (x + y) * (z + 1.0); end
code[x_, y_, z_] := N[(N[(x + y), $MachinePrecision] * N[(z + 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + y\right) \cdot \left(z + 1\right)
\end{array}
Initial program 100.0%
(FPCore (x y z) :precision binary64 (if (<= x -3.4e-69) x y))
double code(double x, double y, double z) {
double tmp;
if (x <= -3.4e-69) {
tmp = x;
} else {
tmp = 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 (x <= (-3.4d-69)) then
tmp = x
else
tmp = y
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= -3.4e-69) {
tmp = x;
} else {
tmp = y;
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= -3.4e-69: tmp = x else: tmp = y return tmp
function code(x, y, z) tmp = 0.0 if (x <= -3.4e-69) tmp = x; else tmp = y; end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= -3.4e-69) tmp = x; else tmp = y; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, -3.4e-69], x, y]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.4 \cdot 10^{-69}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if x < -3.40000000000000008e-69Initial program 100.0%
Taylor expanded in z around 0 61.7%
+-commutative61.7%
Simplified61.7%
Taylor expanded in y around 0 45.2%
if -3.40000000000000008e-69 < x Initial program 99.9%
Taylor expanded in z around 0 61.4%
+-commutative61.4%
Simplified61.4%
Taylor expanded in y around inf 41.6%
(FPCore (x y z) :precision binary64 x)
double code(double x, double y, double z) {
return 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
end function
public static double code(double x, double y, double z) {
return x;
}
def code(x, y, z): return x
function code(x, y, z) return x end
function tmp = code(x, y, z) tmp = x; end
code[x_, y_, z_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 100.0%
Taylor expanded in z around 0 61.5%
+-commutative61.5%
Simplified61.5%
Taylor expanded in y around 0 30.0%
herbie shell --seed 2024170
(FPCore (x y z)
:name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, G"
:precision binary64
(* (+ x y) (+ z 1.0)))