
(FPCore (x y z) :precision binary64 (- (* (* x 3.0) y) z))
double code(double x, double y, double z) {
return ((x * 3.0) * 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 * 3.0d0) * y) - z
end function
public static double code(double x, double y, double z) {
return ((x * 3.0) * y) - z;
}
def code(x, y, z): return ((x * 3.0) * y) - z
function code(x, y, z) return Float64(Float64(Float64(x * 3.0) * y) - z) end
function tmp = code(x, y, z) tmp = ((x * 3.0) * y) - z; end
code[x_, y_, z_] := N[(N[(N[(x * 3.0), $MachinePrecision] * y), $MachinePrecision] - z), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot 3\right) \cdot y - z
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (- (* (* x 3.0) y) z))
double code(double x, double y, double z) {
return ((x * 3.0) * 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 * 3.0d0) * y) - z
end function
public static double code(double x, double y, double z) {
return ((x * 3.0) * y) - z;
}
def code(x, y, z): return ((x * 3.0) * y) - z
function code(x, y, z) return Float64(Float64(Float64(x * 3.0) * y) - z) end
function tmp = code(x, y, z) tmp = ((x * 3.0) * y) - z; end
code[x_, y_, z_] := N[(N[(N[(x * 3.0), $MachinePrecision] * y), $MachinePrecision] - z), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot 3\right) \cdot y - z
\end{array}
NOTE: x and y should be sorted in increasing order before calling this function. (FPCore (x y z) :precision binary64 (- (* y (* x 3.0)) z))
assert(x < y);
double code(double x, double y, double z) {
return (y * (x * 3.0)) - z;
}
NOTE: x and y should be sorted in increasing order before calling this function.
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (y * (x * 3.0d0)) - z
end function
assert x < y;
public static double code(double x, double y, double z) {
return (y * (x * 3.0)) - z;
}
[x, y] = sort([x, y]) def code(x, y, z): return (y * (x * 3.0)) - z
x, y = sort([x, y]) function code(x, y, z) return Float64(Float64(y * Float64(x * 3.0)) - z) end
x, y = num2cell(sort([x, y])){:}
function tmp = code(x, y, z)
tmp = (y * (x * 3.0)) - z;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := N[(N[(y * N[(x * 3.0), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
y \cdot \left(x \cdot 3\right) - z
\end{array}
Initial program 99.8%
Final simplification99.8%
NOTE: x and y should be sorted in increasing order before calling this function.
(FPCore (x y z)
:precision binary64
(if (or (<= z -1.36e+47)
(and (not (<= z -3.7e-134))
(or (<= z -4.2e-158) (not (<= z 1.46e+99)))))
(- z)
(* 3.0 (* x y))))assert(x < y);
double code(double x, double y, double z) {
double tmp;
if ((z <= -1.36e+47) || (!(z <= -3.7e-134) && ((z <= -4.2e-158) || !(z <= 1.46e+99)))) {
tmp = -z;
} else {
tmp = 3.0 * (x * y);
}
return tmp;
}
NOTE: x and y should be sorted in increasing order before calling this function.
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.36d+47)) .or. (.not. (z <= (-3.7d-134))) .and. (z <= (-4.2d-158)) .or. (.not. (z <= 1.46d+99))) then
tmp = -z
else
tmp = 3.0d0 * (x * y)
end if
code = tmp
end function
assert x < y;
public static double code(double x, double y, double z) {
double tmp;
if ((z <= -1.36e+47) || (!(z <= -3.7e-134) && ((z <= -4.2e-158) || !(z <= 1.46e+99)))) {
tmp = -z;
} else {
tmp = 3.0 * (x * y);
}
return tmp;
}
[x, y] = sort([x, y]) def code(x, y, z): tmp = 0 if (z <= -1.36e+47) or (not (z <= -3.7e-134) and ((z <= -4.2e-158) or not (z <= 1.46e+99))): tmp = -z else: tmp = 3.0 * (x * y) return tmp
x, y = sort([x, y]) function code(x, y, z) tmp = 0.0 if ((z <= -1.36e+47) || (!(z <= -3.7e-134) && ((z <= -4.2e-158) || !(z <= 1.46e+99)))) tmp = Float64(-z); else tmp = Float64(3.0 * Float64(x * y)); end return tmp end
x, y = num2cell(sort([x, y])){:}
function tmp_2 = code(x, y, z)
tmp = 0.0;
if ((z <= -1.36e+47) || (~((z <= -3.7e-134)) && ((z <= -4.2e-158) || ~((z <= 1.46e+99)))))
tmp = -z;
else
tmp = 3.0 * (x * y);
end
tmp_2 = tmp;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := If[Or[LessEqual[z, -1.36e+47], And[N[Not[LessEqual[z, -3.7e-134]], $MachinePrecision], Or[LessEqual[z, -4.2e-158], N[Not[LessEqual[z, 1.46e+99]], $MachinePrecision]]]], (-z), N[(3.0 * N[(x * y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.36 \cdot 10^{+47} \lor \neg \left(z \leq -3.7 \cdot 10^{-134}\right) \land \left(z \leq -4.2 \cdot 10^{-158} \lor \neg \left(z \leq 1.46 \cdot 10^{+99}\right)\right):\\
\;\;\;\;-z\\
\mathbf{else}:\\
\;\;\;\;3 \cdot \left(x \cdot y\right)\\
\end{array}
\end{array}
if z < -1.3599999999999999e47 or -3.7e-134 < z < -4.19999999999999983e-158 or 1.4600000000000001e99 < z Initial program 99.9%
associate-*l*100.0%
Simplified100.0%
Taylor expanded in x around 0 79.2%
mul-1-neg79.2%
Simplified79.2%
if -1.3599999999999999e47 < z < -3.7e-134 or -4.19999999999999983e-158 < z < 1.4600000000000001e99Initial program 99.7%
associate-*l*99.7%
Simplified99.7%
associate-*r*99.7%
*-commutative99.7%
associate-*r*99.7%
fma-neg99.7%
add-sqr-sqrt44.0%
sqrt-unprod83.0%
sqr-neg83.0%
sqrt-unprod41.9%
add-sqr-sqrt75.4%
Applied egg-rr75.4%
Taylor expanded in y around inf 76.1%
Final simplification77.3%
NOTE: x and y should be sorted in increasing order before calling this function.
(FPCore (x y z)
:precision binary64
(if (<= z -2.55e+48)
(- z)
(if (<= z -3.7e-134)
(* 3.0 (* x y))
(if (or (<= z -4.2e-158) (not (<= z 1.46e+99))) (- z) (* x (* 3.0 y))))))assert(x < y);
double code(double x, double y, double z) {
double tmp;
if (z <= -2.55e+48) {
tmp = -z;
} else if (z <= -3.7e-134) {
tmp = 3.0 * (x * y);
} else if ((z <= -4.2e-158) || !(z <= 1.46e+99)) {
tmp = -z;
} else {
tmp = x * (3.0 * y);
}
return tmp;
}
NOTE: x and y should be sorted in increasing order before calling this function.
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 <= (-2.55d+48)) then
tmp = -z
else if (z <= (-3.7d-134)) then
tmp = 3.0d0 * (x * y)
else if ((z <= (-4.2d-158)) .or. (.not. (z <= 1.46d+99))) then
tmp = -z
else
tmp = x * (3.0d0 * y)
end if
code = tmp
end function
assert x < y;
public static double code(double x, double y, double z) {
double tmp;
if (z <= -2.55e+48) {
tmp = -z;
} else if (z <= -3.7e-134) {
tmp = 3.0 * (x * y);
} else if ((z <= -4.2e-158) || !(z <= 1.46e+99)) {
tmp = -z;
} else {
tmp = x * (3.0 * y);
}
return tmp;
}
[x, y] = sort([x, y]) def code(x, y, z): tmp = 0 if z <= -2.55e+48: tmp = -z elif z <= -3.7e-134: tmp = 3.0 * (x * y) elif (z <= -4.2e-158) or not (z <= 1.46e+99): tmp = -z else: tmp = x * (3.0 * y) return tmp
x, y = sort([x, y]) function code(x, y, z) tmp = 0.0 if (z <= -2.55e+48) tmp = Float64(-z); elseif (z <= -3.7e-134) tmp = Float64(3.0 * Float64(x * y)); elseif ((z <= -4.2e-158) || !(z <= 1.46e+99)) tmp = Float64(-z); else tmp = Float64(x * Float64(3.0 * y)); end return tmp end
x, y = num2cell(sort([x, y])){:}
function tmp_2 = code(x, y, z)
tmp = 0.0;
if (z <= -2.55e+48)
tmp = -z;
elseif (z <= -3.7e-134)
tmp = 3.0 * (x * y);
elseif ((z <= -4.2e-158) || ~((z <= 1.46e+99)))
tmp = -z;
else
tmp = x * (3.0 * y);
end
tmp_2 = tmp;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := If[LessEqual[z, -2.55e+48], (-z), If[LessEqual[z, -3.7e-134], N[(3.0 * N[(x * y), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[z, -4.2e-158], N[Not[LessEqual[z, 1.46e+99]], $MachinePrecision]], (-z), N[(x * N[(3.0 * y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.55 \cdot 10^{+48}:\\
\;\;\;\;-z\\
\mathbf{elif}\;z \leq -3.7 \cdot 10^{-134}:\\
\;\;\;\;3 \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;z \leq -4.2 \cdot 10^{-158} \lor \neg \left(z \leq 1.46 \cdot 10^{+99}\right):\\
\;\;\;\;-z\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(3 \cdot y\right)\\
\end{array}
\end{array}
if z < -2.5499999999999999e48 or -3.7e-134 < z < -4.19999999999999983e-158 or 1.4600000000000001e99 < z Initial program 99.9%
associate-*l*100.0%
Simplified100.0%
Taylor expanded in x around 0 79.2%
mul-1-neg79.2%
Simplified79.2%
if -2.5499999999999999e48 < z < -3.7e-134Initial program 99.8%
associate-*l*99.7%
Simplified99.7%
associate-*r*99.8%
*-commutative99.8%
associate-*r*99.8%
fma-neg99.8%
add-sqr-sqrt99.6%
sqrt-unprod99.8%
sqr-neg99.8%
sqrt-unprod0.0%
add-sqr-sqrt61.8%
Applied egg-rr61.8%
Taylor expanded in y around inf 63.0%
if -4.19999999999999983e-158 < z < 1.4600000000000001e99Initial program 99.7%
associate-*l*99.7%
Simplified99.7%
associate-*r*99.7%
*-commutative99.7%
associate-*r*99.7%
fma-neg99.6%
add-sqr-sqrt30.2%
sqrt-unprod78.8%
sqr-neg78.8%
sqrt-unprod52.3%
add-sqr-sqrt78.7%
Applied egg-rr78.7%
Taylor expanded in y around inf 79.4%
*-commutative79.4%
associate-*l*79.4%
*-commutative79.4%
Simplified79.4%
Final simplification77.3%
NOTE: x and y should be sorted in increasing order before calling this function.
(FPCore (x y z)
:precision binary64
(if (<= z -1.45e+48)
(- z)
(if (<= z -3.7e-134)
(* y (* x 3.0))
(if (or (<= z -4.2e-158) (not (<= z 1.5e+99))) (- z) (* x (* 3.0 y))))))assert(x < y);
double code(double x, double y, double z) {
double tmp;
if (z <= -1.45e+48) {
tmp = -z;
} else if (z <= -3.7e-134) {
tmp = y * (x * 3.0);
} else if ((z <= -4.2e-158) || !(z <= 1.5e+99)) {
tmp = -z;
} else {
tmp = x * (3.0 * y);
}
return tmp;
}
NOTE: x and y should be sorted in increasing order before calling this function.
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.45d+48)) then
tmp = -z
else if (z <= (-3.7d-134)) then
tmp = y * (x * 3.0d0)
else if ((z <= (-4.2d-158)) .or. (.not. (z <= 1.5d+99))) then
tmp = -z
else
tmp = x * (3.0d0 * y)
end if
code = tmp
end function
assert x < y;
public static double code(double x, double y, double z) {
double tmp;
if (z <= -1.45e+48) {
tmp = -z;
} else if (z <= -3.7e-134) {
tmp = y * (x * 3.0);
} else if ((z <= -4.2e-158) || !(z <= 1.5e+99)) {
tmp = -z;
} else {
tmp = x * (3.0 * y);
}
return tmp;
}
[x, y] = sort([x, y]) def code(x, y, z): tmp = 0 if z <= -1.45e+48: tmp = -z elif z <= -3.7e-134: tmp = y * (x * 3.0) elif (z <= -4.2e-158) or not (z <= 1.5e+99): tmp = -z else: tmp = x * (3.0 * y) return tmp
x, y = sort([x, y]) function code(x, y, z) tmp = 0.0 if (z <= -1.45e+48) tmp = Float64(-z); elseif (z <= -3.7e-134) tmp = Float64(y * Float64(x * 3.0)); elseif ((z <= -4.2e-158) || !(z <= 1.5e+99)) tmp = Float64(-z); else tmp = Float64(x * Float64(3.0 * y)); end return tmp end
x, y = num2cell(sort([x, y])){:}
function tmp_2 = code(x, y, z)
tmp = 0.0;
if (z <= -1.45e+48)
tmp = -z;
elseif (z <= -3.7e-134)
tmp = y * (x * 3.0);
elseif ((z <= -4.2e-158) || ~((z <= 1.5e+99)))
tmp = -z;
else
tmp = x * (3.0 * y);
end
tmp_2 = tmp;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := If[LessEqual[z, -1.45e+48], (-z), If[LessEqual[z, -3.7e-134], N[(y * N[(x * 3.0), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[z, -4.2e-158], N[Not[LessEqual[z, 1.5e+99]], $MachinePrecision]], (-z), N[(x * N[(3.0 * y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.45 \cdot 10^{+48}:\\
\;\;\;\;-z\\
\mathbf{elif}\;z \leq -3.7 \cdot 10^{-134}:\\
\;\;\;\;y \cdot \left(x \cdot 3\right)\\
\mathbf{elif}\;z \leq -4.2 \cdot 10^{-158} \lor \neg \left(z \leq 1.5 \cdot 10^{+99}\right):\\
\;\;\;\;-z\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(3 \cdot y\right)\\
\end{array}
\end{array}
if z < -1.4499999999999999e48 or -3.7e-134 < z < -4.19999999999999983e-158 or 1.50000000000000007e99 < z Initial program 99.9%
associate-*l*100.0%
Simplified100.0%
Taylor expanded in x around 0 79.2%
mul-1-neg79.2%
Simplified79.2%
if -1.4499999999999999e48 < z < -3.7e-134Initial program 99.8%
associate-*l*99.7%
Simplified99.7%
associate-*r*99.8%
*-commutative99.8%
associate-*r*99.8%
fma-neg99.8%
add-sqr-sqrt99.6%
sqrt-unprod99.8%
sqr-neg99.8%
sqrt-unprod0.0%
add-sqr-sqrt61.8%
Applied egg-rr61.8%
Taylor expanded in y around inf 63.0%
add-cube-cbrt62.5%
pow362.6%
associate-*r*62.9%
*-commutative62.9%
Applied egg-rr62.9%
rem-cube-cbrt63.1%
*-commutative63.1%
Applied egg-rr63.1%
if -4.19999999999999983e-158 < z < 1.50000000000000007e99Initial program 99.7%
associate-*l*99.7%
Simplified99.7%
associate-*r*99.7%
*-commutative99.7%
associate-*r*99.7%
fma-neg99.6%
add-sqr-sqrt30.2%
sqrt-unprod78.8%
sqr-neg78.8%
sqrt-unprod52.3%
add-sqr-sqrt78.7%
Applied egg-rr78.7%
Taylor expanded in y around inf 79.4%
*-commutative79.4%
associate-*l*79.4%
*-commutative79.4%
Simplified79.4%
Final simplification77.3%
NOTE: x and y should be sorted in increasing order before calling this function. (FPCore (x y z) :precision binary64 (- (* 3.0 (* x y)) z))
assert(x < y);
double code(double x, double y, double z) {
return (3.0 * (x * y)) - z;
}
NOTE: x and y should be sorted in increasing order before calling this function.
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (3.0d0 * (x * y)) - z
end function
assert x < y;
public static double code(double x, double y, double z) {
return (3.0 * (x * y)) - z;
}
[x, y] = sort([x, y]) def code(x, y, z): return (3.0 * (x * y)) - z
x, y = sort([x, y]) function code(x, y, z) return Float64(Float64(3.0 * Float64(x * y)) - z) end
x, y = num2cell(sort([x, y])){:}
function tmp = code(x, y, z)
tmp = (3.0 * (x * y)) - z;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := N[(N[(3.0 * N[(x * y), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
3 \cdot \left(x \cdot y\right) - z
\end{array}
Initial program 99.8%
associate-*l*99.8%
Simplified99.8%
Taylor expanded in x around 0 99.8%
Final simplification99.8%
NOTE: x and y should be sorted in increasing order before calling this function. (FPCore (x y z) :precision binary64 (- (* x (* 3.0 y)) z))
assert(x < y);
double code(double x, double y, double z) {
return (x * (3.0 * y)) - z;
}
NOTE: x and y should be sorted in increasing order before calling this function.
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x * (3.0d0 * y)) - z
end function
assert x < y;
public static double code(double x, double y, double z) {
return (x * (3.0 * y)) - z;
}
[x, y] = sort([x, y]) def code(x, y, z): return (x * (3.0 * y)) - z
x, y = sort([x, y]) function code(x, y, z) return Float64(Float64(x * Float64(3.0 * y)) - z) end
x, y = num2cell(sort([x, y])){:}
function tmp = code(x, y, z)
tmp = (x * (3.0 * y)) - z;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := N[(N[(x * N[(3.0 * y), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
x \cdot \left(3 \cdot y\right) - z
\end{array}
Initial program 99.8%
associate-*l*99.8%
Simplified99.8%
Final simplification99.8%
NOTE: x and y should be sorted in increasing order before calling this function. (FPCore (x y z) :precision binary64 (- z))
assert(x < y);
double code(double x, double y, double z) {
return -z;
}
NOTE: x and y should be sorted in increasing order before calling this function.
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = -z
end function
assert x < y;
public static double code(double x, double y, double z) {
return -z;
}
[x, y] = sort([x, y]) def code(x, y, z): return -z
x, y = sort([x, y]) function code(x, y, z) return Float64(-z) end
x, y = num2cell(sort([x, y])){:}
function tmp = code(x, y, z)
tmp = -z;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := (-z)
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
-z
\end{array}
Initial program 99.8%
associate-*l*99.8%
Simplified99.8%
Taylor expanded in x around 0 46.2%
mul-1-neg46.2%
Simplified46.2%
Final simplification46.2%
NOTE: x and y should be sorted in increasing order before calling this function. (FPCore (x y z) :precision binary64 z)
assert(x < y);
double code(double x, double y, double z) {
return z;
}
NOTE: x and y should be sorted in increasing order before calling this function.
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = z
end function
assert x < y;
public static double code(double x, double y, double z) {
return z;
}
[x, y] = sort([x, y]) def code(x, y, z): return z
x, y = sort([x, y]) function code(x, y, z) return z end
x, y = num2cell(sort([x, y])){:}
function tmp = code(x, y, z)
tmp = z;
end
NOTE: x and y should be sorted in increasing order before calling this function. code[x_, y_, z_] := z
\begin{array}{l}
[x, y] = \mathsf{sort}([x, y])\\
\\
z
\end{array}
Initial program 99.8%
associate-*l*99.8%
Simplified99.8%
associate-*r*99.8%
*-commutative99.8%
associate-*r*99.8%
fma-neg99.8%
add-sqr-sqrt52.4%
sqrt-unprod65.6%
sqr-neg65.6%
sqrt-unprod29.0%
add-sqr-sqrt53.7%
Applied egg-rr53.7%
Taylor expanded in y around 0 2.1%
Final simplification2.1%
(FPCore (x y z) :precision binary64 (- (* x (* 3.0 y)) z))
double code(double x, double y, double z) {
return (x * (3.0 * 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 * (3.0d0 * y)) - z
end function
public static double code(double x, double y, double z) {
return (x * (3.0 * y)) - z;
}
def code(x, y, z): return (x * (3.0 * y)) - z
function code(x, y, z) return Float64(Float64(x * Float64(3.0 * y)) - z) end
function tmp = code(x, y, z) tmp = (x * (3.0 * y)) - z; end
code[x_, y_, z_] := N[(N[(x * N[(3.0 * y), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(3 \cdot y\right) - z
\end{array}
herbie shell --seed 2023318
(FPCore (x y z)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, B"
:precision binary64
:herbie-target
(- (* x (* 3.0 y)) z)
(- (* (* x 3.0) y) z))