
(FPCore (x y) :precision binary64 (+ x (* (- 1.0 x) (- 1.0 y))))
double code(double x, double y) {
return x + ((1.0 - x) * (1.0 - y));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = x + ((1.0d0 - x) * (1.0d0 - y))
end function
public static double code(double x, double y) {
return x + ((1.0 - x) * (1.0 - y));
}
def code(x, y): return x + ((1.0 - x) * (1.0 - y))
function code(x, y) return Float64(x + Float64(Float64(1.0 - x) * Float64(1.0 - y))) end
function tmp = code(x, y) tmp = x + ((1.0 - x) * (1.0 - y)); end
code[x_, y_] := N[(x + N[(N[(1.0 - x), $MachinePrecision] * N[(1.0 - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(1 - x\right) \cdot \left(1 - y\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 7 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y) :precision binary64 (+ x (* (- 1.0 x) (- 1.0 y))))
double code(double x, double y) {
return x + ((1.0 - x) * (1.0 - y));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = x + ((1.0d0 - x) * (1.0d0 - y))
end function
public static double code(double x, double y) {
return x + ((1.0 - x) * (1.0 - y));
}
def code(x, y): return x + ((1.0 - x) * (1.0 - y))
function code(x, y) return Float64(x + Float64(Float64(1.0 - x) * Float64(1.0 - y))) end
function tmp = code(x, y) tmp = x + ((1.0 - x) * (1.0 - y)); end
code[x_, y_] := N[(x + N[(N[(1.0 - x), $MachinePrecision] * N[(1.0 - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(1 - x\right) \cdot \left(1 - y\right)
\end{array}
(FPCore (x y) :precision binary64 (- 1.0 (* (- 1.0 x) y)))
double code(double x, double y) {
return 1.0 - ((1.0 - x) * y);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0 - ((1.0d0 - x) * y)
end function
public static double code(double x, double y) {
return 1.0 - ((1.0 - x) * y);
}
def code(x, y): return 1.0 - ((1.0 - x) * y)
function code(x, y) return Float64(1.0 - Float64(Float64(1.0 - x) * y)) end
function tmp = code(x, y) tmp = 1.0 - ((1.0 - x) * y); end
code[x_, y_] := N[(1.0 - N[(N[(1.0 - x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
1 - \left(1 - x\right) \cdot y
\end{array}
Initial program 81.7%
+-commutative81.7%
sub-neg81.7%
distribute-rgt-in81.7%
*-lft-identity81.7%
associate-+l+81.7%
+-commutative81.7%
distribute-lft-neg-out81.7%
sub-neg81.7%
associate--l+91.6%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Final simplification100.0%
(FPCore (x y)
:precision binary64
(if (<= y -7.5e+109)
(- y)
(if (<= y -2.25e+46)
(* x y)
(if (<= y -220000.0)
(- y)
(if (<= y -1.25e-24)
(* x y)
(if (<= y 3.65e-22)
1.0
(if (or (<= y 7.8e+106) (not (<= y 4.5e+216))) (* x y) (- y))))))))
double code(double x, double y) {
double tmp;
if (y <= -7.5e+109) {
tmp = -y;
} else if (y <= -2.25e+46) {
tmp = x * y;
} else if (y <= -220000.0) {
tmp = -y;
} else if (y <= -1.25e-24) {
tmp = x * y;
} else if (y <= 3.65e-22) {
tmp = 1.0;
} else if ((y <= 7.8e+106) || !(y <= 4.5e+216)) {
tmp = x * y;
} else {
tmp = -y;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= (-7.5d+109)) then
tmp = -y
else if (y <= (-2.25d+46)) then
tmp = x * y
else if (y <= (-220000.0d0)) then
tmp = -y
else if (y <= (-1.25d-24)) then
tmp = x * y
else if (y <= 3.65d-22) then
tmp = 1.0d0
else if ((y <= 7.8d+106) .or. (.not. (y <= 4.5d+216))) then
tmp = x * y
else
tmp = -y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -7.5e+109) {
tmp = -y;
} else if (y <= -2.25e+46) {
tmp = x * y;
} else if (y <= -220000.0) {
tmp = -y;
} else if (y <= -1.25e-24) {
tmp = x * y;
} else if (y <= 3.65e-22) {
tmp = 1.0;
} else if ((y <= 7.8e+106) || !(y <= 4.5e+216)) {
tmp = x * y;
} else {
tmp = -y;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -7.5e+109: tmp = -y elif y <= -2.25e+46: tmp = x * y elif y <= -220000.0: tmp = -y elif y <= -1.25e-24: tmp = x * y elif y <= 3.65e-22: tmp = 1.0 elif (y <= 7.8e+106) or not (y <= 4.5e+216): tmp = x * y else: tmp = -y return tmp
function code(x, y) tmp = 0.0 if (y <= -7.5e+109) tmp = Float64(-y); elseif (y <= -2.25e+46) tmp = Float64(x * y); elseif (y <= -220000.0) tmp = Float64(-y); elseif (y <= -1.25e-24) tmp = Float64(x * y); elseif (y <= 3.65e-22) tmp = 1.0; elseif ((y <= 7.8e+106) || !(y <= 4.5e+216)) tmp = Float64(x * y); else tmp = Float64(-y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -7.5e+109) tmp = -y; elseif (y <= -2.25e+46) tmp = x * y; elseif (y <= -220000.0) tmp = -y; elseif (y <= -1.25e-24) tmp = x * y; elseif (y <= 3.65e-22) tmp = 1.0; elseif ((y <= 7.8e+106) || ~((y <= 4.5e+216))) tmp = x * y; else tmp = -y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -7.5e+109], (-y), If[LessEqual[y, -2.25e+46], N[(x * y), $MachinePrecision], If[LessEqual[y, -220000.0], (-y), If[LessEqual[y, -1.25e-24], N[(x * y), $MachinePrecision], If[LessEqual[y, 3.65e-22], 1.0, If[Or[LessEqual[y, 7.8e+106], N[Not[LessEqual[y, 4.5e+216]], $MachinePrecision]], N[(x * y), $MachinePrecision], (-y)]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.5 \cdot 10^{+109}:\\
\;\;\;\;-y\\
\mathbf{elif}\;y \leq -2.25 \cdot 10^{+46}:\\
\;\;\;\;x \cdot y\\
\mathbf{elif}\;y \leq -220000:\\
\;\;\;\;-y\\
\mathbf{elif}\;y \leq -1.25 \cdot 10^{-24}:\\
\;\;\;\;x \cdot y\\
\mathbf{elif}\;y \leq 3.65 \cdot 10^{-22}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 7.8 \cdot 10^{+106} \lor \neg \left(y \leq 4.5 \cdot 10^{+216}\right):\\
\;\;\;\;x \cdot y\\
\mathbf{else}:\\
\;\;\;\;-y\\
\end{array}
\end{array}
if y < -7.50000000000000018e109 or -2.25000000000000005e46 < y < -2.2e5 or 7.79999999999999937e106 < y < 4.50000000000000025e216Initial program 100.0%
+-commutative100.0%
sub-neg100.0%
distribute-rgt-in100.0%
*-lft-identity100.0%
associate-+l+100.0%
+-commutative100.0%
distribute-lft-neg-out100.0%
sub-neg100.0%
associate--l+100.0%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 99.1%
Taylor expanded in x around 0 63.9%
mul-1-neg63.9%
Simplified63.9%
if -7.50000000000000018e109 < y < -2.25000000000000005e46 or -2.2e5 < y < -1.24999999999999995e-24 or 3.65000000000000014e-22 < y < 7.79999999999999937e106 or 4.50000000000000025e216 < y Initial program 91.0%
+-commutative91.0%
sub-neg91.0%
distribute-rgt-in91.1%
*-lft-identity91.1%
associate-+l+91.1%
+-commutative91.1%
distribute-lft-neg-out91.1%
sub-neg91.1%
associate--l+100.0%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around inf 72.2%
*-commutative72.2%
Simplified72.2%
if -1.24999999999999995e-24 < y < 3.65000000000000014e-22Initial program 63.2%
+-commutative63.2%
sub-neg63.2%
distribute-rgt-in63.2%
*-lft-identity63.2%
associate-+l+63.2%
+-commutative63.2%
distribute-lft-neg-out63.2%
sub-neg63.2%
associate--l+80.6%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around 0 81.7%
Final simplification73.8%
(FPCore (x y) :precision binary64 (if (or (<= x -2.6e+20) (not (<= x 1.0))) (+ 1.0 (* x y)) (- 1.0 y)))
double code(double x, double y) {
double tmp;
if ((x <= -2.6e+20) || !(x <= 1.0)) {
tmp = 1.0 + (x * y);
} else {
tmp = 1.0 - y;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((x <= (-2.6d+20)) .or. (.not. (x <= 1.0d0))) then
tmp = 1.0d0 + (x * y)
else
tmp = 1.0d0 - y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((x <= -2.6e+20) || !(x <= 1.0)) {
tmp = 1.0 + (x * y);
} else {
tmp = 1.0 - y;
}
return tmp;
}
def code(x, y): tmp = 0 if (x <= -2.6e+20) or not (x <= 1.0): tmp = 1.0 + (x * y) else: tmp = 1.0 - y return tmp
function code(x, y) tmp = 0.0 if ((x <= -2.6e+20) || !(x <= 1.0)) tmp = Float64(1.0 + Float64(x * y)); else tmp = Float64(1.0 - y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((x <= -2.6e+20) || ~((x <= 1.0))) tmp = 1.0 + (x * y); else tmp = 1.0 - y; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[x, -2.6e+20], N[Not[LessEqual[x, 1.0]], $MachinePrecision]], N[(1.0 + N[(x * y), $MachinePrecision]), $MachinePrecision], N[(1.0 - y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.6 \cdot 10^{+20} \lor \neg \left(x \leq 1\right):\\
\;\;\;\;1 + x \cdot y\\
\mathbf{else}:\\
\;\;\;\;1 - y\\
\end{array}
\end{array}
if x < -2.6e20 or 1 < x Initial program 60.6%
+-commutative60.6%
sub-neg60.6%
distribute-rgt-in60.6%
*-lft-identity60.6%
associate-+l+60.6%
+-commutative60.6%
distribute-lft-neg-out60.6%
sub-neg60.6%
associate--l+82.3%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around inf 99.9%
mul-1-neg99.9%
distribute-rgt-neg-in99.9%
Simplified99.9%
if -2.6e20 < x < 1Initial program 99.3%
+-commutative99.3%
sub-neg99.3%
distribute-rgt-in99.3%
*-lft-identity99.3%
associate-+l+99.3%
+-commutative99.3%
distribute-lft-neg-out99.3%
sub-neg99.3%
associate--l+99.3%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around 0 98.8%
Final simplification99.3%
(FPCore (x y) :precision binary64 (if (<= x -7.8e+20) (* x y) (if (<= x 1.2e-25) (- 1.0 y) (* y (+ x -1.0)))))
double code(double x, double y) {
double tmp;
if (x <= -7.8e+20) {
tmp = x * y;
} else if (x <= 1.2e-25) {
tmp = 1.0 - y;
} else {
tmp = y * (x + -1.0);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= (-7.8d+20)) then
tmp = x * y
else if (x <= 1.2d-25) then
tmp = 1.0d0 - y
else
tmp = y * (x + (-1.0d0))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= -7.8e+20) {
tmp = x * y;
} else if (x <= 1.2e-25) {
tmp = 1.0 - y;
} else {
tmp = y * (x + -1.0);
}
return tmp;
}
def code(x, y): tmp = 0 if x <= -7.8e+20: tmp = x * y elif x <= 1.2e-25: tmp = 1.0 - y else: tmp = y * (x + -1.0) return tmp
function code(x, y) tmp = 0.0 if (x <= -7.8e+20) tmp = Float64(x * y); elseif (x <= 1.2e-25) tmp = Float64(1.0 - y); else tmp = Float64(y * Float64(x + -1.0)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= -7.8e+20) tmp = x * y; elseif (x <= 1.2e-25) tmp = 1.0 - y; else tmp = y * (x + -1.0); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, -7.8e+20], N[(x * y), $MachinePrecision], If[LessEqual[x, 1.2e-25], N[(1.0 - y), $MachinePrecision], N[(y * N[(x + -1.0), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -7.8 \cdot 10^{+20}:\\
\;\;\;\;x \cdot y\\
\mathbf{elif}\;x \leq 1.2 \cdot 10^{-25}:\\
\;\;\;\;1 - y\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(x + -1\right)\\
\end{array}
\end{array}
if x < -7.8e20Initial program 56.1%
+-commutative56.1%
sub-neg56.1%
distribute-rgt-in56.1%
*-lft-identity56.1%
associate-+l+56.1%
+-commutative56.1%
distribute-lft-neg-out56.1%
sub-neg56.1%
associate--l+88.6%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around inf 88.6%
*-commutative88.6%
Simplified88.6%
if -7.8e20 < x < 1.20000000000000005e-25Initial program 99.3%
+-commutative99.3%
sub-neg99.3%
distribute-rgt-in99.3%
*-lft-identity99.3%
associate-+l+99.3%
+-commutative99.3%
distribute-lft-neg-out99.3%
sub-neg99.3%
associate--l+99.3%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around 0 100.0%
if 1.20000000000000005e-25 < x Initial program 66.2%
+-commutative66.2%
sub-neg66.2%
distribute-rgt-in66.2%
*-lft-identity66.2%
associate-+l+66.2%
+-commutative66.2%
distribute-lft-neg-out66.2%
sub-neg66.2%
associate--l+78.6%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 77.3%
Final simplification91.6%
(FPCore (x y) :precision binary64 (if (or (<= x -2.6e+20) (not (<= x 36000000000.0))) (* x y) (- 1.0 y)))
double code(double x, double y) {
double tmp;
if ((x <= -2.6e+20) || !(x <= 36000000000.0)) {
tmp = x * y;
} else {
tmp = 1.0 - y;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((x <= (-2.6d+20)) .or. (.not. (x <= 36000000000.0d0))) then
tmp = x * y
else
tmp = 1.0d0 - y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((x <= -2.6e+20) || !(x <= 36000000000.0)) {
tmp = x * y;
} else {
tmp = 1.0 - y;
}
return tmp;
}
def code(x, y): tmp = 0 if (x <= -2.6e+20) or not (x <= 36000000000.0): tmp = x * y else: tmp = 1.0 - y return tmp
function code(x, y) tmp = 0.0 if ((x <= -2.6e+20) || !(x <= 36000000000.0)) tmp = Float64(x * y); else tmp = Float64(1.0 - y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((x <= -2.6e+20) || ~((x <= 36000000000.0))) tmp = x * y; else tmp = 1.0 - y; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[x, -2.6e+20], N[Not[LessEqual[x, 36000000000.0]], $MachinePrecision]], N[(x * y), $MachinePrecision], N[(1.0 - y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.6 \cdot 10^{+20} \lor \neg \left(x \leq 36000000000\right):\\
\;\;\;\;x \cdot y\\
\mathbf{else}:\\
\;\;\;\;1 - y\\
\end{array}
\end{array}
if x < -2.6e20 or 3.6e10 < x Initial program 60.2%
+-commutative60.2%
sub-neg60.2%
distribute-rgt-in60.2%
*-lft-identity60.2%
associate-+l+60.2%
+-commutative60.2%
distribute-lft-neg-out60.2%
sub-neg60.2%
associate--l+82.1%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around inf 82.0%
*-commutative82.0%
Simplified82.0%
if -2.6e20 < x < 3.6e10Initial program 99.3%
+-commutative99.3%
sub-neg99.3%
distribute-rgt-in99.3%
*-lft-identity99.3%
associate-+l+99.3%
+-commutative99.3%
distribute-lft-neg-out99.3%
sub-neg99.3%
associate--l+99.3%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in x around 0 98.9%
Final simplification91.3%
(FPCore (x y) :precision binary64 (if (or (<= y -1.0) (not (<= y 1.0))) (- y) 1.0))
double code(double x, double y) {
double tmp;
if ((y <= -1.0) || !(y <= 1.0)) {
tmp = -y;
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((y <= (-1.0d0)) .or. (.not. (y <= 1.0d0))) then
tmp = -y
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -1.0) || !(y <= 1.0)) {
tmp = -y;
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -1.0) or not (y <= 1.0): tmp = -y else: tmp = 1.0 return tmp
function code(x, y) tmp = 0.0 if ((y <= -1.0) || !(y <= 1.0)) tmp = Float64(-y); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -1.0) || ~((y <= 1.0))) tmp = -y; else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -1.0], N[Not[LessEqual[y, 1.0]], $MachinePrecision]], (-y), 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1 \lor \neg \left(y \leq 1\right):\\
\;\;\;\;-y\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if y < -1 or 1 < y Initial program 100.0%
+-commutative100.0%
sub-neg100.0%
distribute-rgt-in100.0%
*-lft-identity100.0%
associate-+l+100.0%
+-commutative100.0%
distribute-lft-neg-out100.0%
sub-neg100.0%
associate--l+100.0%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 98.8%
Taylor expanded in x around 0 49.4%
mul-1-neg49.4%
Simplified49.4%
if -1 < y < 1Initial program 61.4%
+-commutative61.4%
sub-neg61.4%
distribute-rgt-in61.4%
*-lft-identity61.4%
associate-+l+61.4%
+-commutative61.4%
distribute-lft-neg-out61.4%
sub-neg61.4%
associate--l+82.2%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around 0 76.9%
Final simplification62.4%
(FPCore (x y) :precision binary64 1.0)
double code(double x, double y) {
return 1.0;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0
end function
public static double code(double x, double y) {
return 1.0;
}
def code(x, y): return 1.0
function code(x, y) return 1.0 end
function tmp = code(x, y) tmp = 1.0; end
code[x_, y_] := 1.0
\begin{array}{l}
\\
1
\end{array}
Initial program 81.7%
+-commutative81.7%
sub-neg81.7%
distribute-rgt-in81.7%
*-lft-identity81.7%
associate-+l+81.7%
+-commutative81.7%
distribute-lft-neg-out81.7%
sub-neg81.7%
associate--l+91.6%
associate-+l-100.0%
+-inverses100.0%
metadata-eval100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around 0 37.9%
Final simplification37.9%
(FPCore (x y) :precision binary64 (- (* y x) (- y 1.0)))
double code(double x, double y) {
return (y * x) - (y - 1.0);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (y * x) - (y - 1.0d0)
end function
public static double code(double x, double y) {
return (y * x) - (y - 1.0);
}
def code(x, y): return (y * x) - (y - 1.0)
function code(x, y) return Float64(Float64(y * x) - Float64(y - 1.0)) end
function tmp = code(x, y) tmp = (y * x) - (y - 1.0); end
code[x_, y_] := N[(N[(y * x), $MachinePrecision] - N[(y - 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
y \cdot x - \left(y - 1\right)
\end{array}
herbie shell --seed 2023308
(FPCore (x y)
:name "Graphics.Rendering.Chart.Plot.Vectors:renderPlotVectors from Chart-1.5.3"
:precision binary64
:herbie-target
(- (* y x) (- y 1.0))
(+ x (* (- 1.0 x) (- 1.0 y))))