
(FPCore (x y z t a) :precision binary64 (+ x (/ (* (- y z) (- t x)) (- a z))))
double code(double x, double y, double z, double t, double a) {
return x + (((y - z) * (t - x)) / (a - z));
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (((y - z) * (t - x)) / (a - z))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (((y - z) * (t - x)) / (a - z));
}
def code(x, y, z, t, a): return x + (((y - z) * (t - x)) / (a - z))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(Float64(y - z) * Float64(t - x)) / Float64(a - z))) end
function tmp = code(x, y, z, t, a) tmp = x + (((y - z) * (t - x)) / (a - z)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{\left(y - z\right) \cdot \left(t - x\right)}{a - z}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 9 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ x (/ (* (- y z) (- t x)) (- a z))))
double code(double x, double y, double z, double t, double a) {
return x + (((y - z) * (t - x)) / (a - z));
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (((y - z) * (t - x)) / (a - z))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (((y - z) * (t - x)) / (a - z));
}
def code(x, y, z, t, a): return x + (((y - z) * (t - x)) / (a - z))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(Float64(y - z) * Float64(t - x)) / Float64(a - z))) end
function tmp = code(x, y, z, t, a) tmp = x + (((y - z) * (t - x)) / (a - z)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{\left(y - z\right) \cdot \left(t - x\right)}{a - z}
\end{array}
(FPCore (x y z t a) :precision binary64 (+ x (/ (* (- y z) (- t x)) (- a z))))
double code(double x, double y, double z, double t, double a) {
return x + (((y - z) * (t - x)) / (a - z));
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (((y - z) * (t - x)) / (a - z))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (((y - z) * (t - x)) / (a - z));
}
def code(x, y, z, t, a): return x + (((y - z) * (t - x)) / (a - z))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(Float64(y - z) * Float64(t - x)) / Float64(a - z))) end
function tmp = code(x, y, z, t, a) tmp = x + (((y - z) * (t - x)) / (a - z)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{\left(y - z\right) \cdot \left(t - x\right)}{a - z}
\end{array}
Initial program 64.7%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (+ x (/ (- y z) (- a z)))))
(if (<= a -1.7e+92)
t_1
(if (<= a 1.5e+77) (/ (* (- y z) (- t x)) (- a z)) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = x + ((y - z) / (a - z));
double tmp;
if (a <= -1.7e+92) {
tmp = t_1;
} else if (a <= 1.5e+77) {
tmp = ((y - z) * (t - x)) / (a - z);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: t_1
real(8) :: tmp
t_1 = x + ((y - z) / (a - z))
if (a <= (-1.7d+92)) then
tmp = t_1
else if (a <= 1.5d+77) then
tmp = ((y - z) * (t - x)) / (a - z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = x + ((y - z) / (a - z));
double tmp;
if (a <= -1.7e+92) {
tmp = t_1;
} else if (a <= 1.5e+77) {
tmp = ((y - z) * (t - x)) / (a - z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = x + ((y - z) / (a - z)) tmp = 0 if a <= -1.7e+92: tmp = t_1 elif a <= 1.5e+77: tmp = ((y - z) * (t - x)) / (a - z) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(x + Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (a <= -1.7e+92) tmp = t_1; elseif (a <= 1.5e+77) tmp = Float64(Float64(Float64(y - z) * Float64(t - x)) / Float64(a - z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = x + ((y - z) / (a - z)); tmp = 0.0; if (a <= -1.7e+92) tmp = t_1; elseif (a <= 1.5e+77) tmp = ((y - z) * (t - x)) / (a - z); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x + N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.7e+92], t$95$1, If[LessEqual[a, 1.5e+77], N[(N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \frac{y - z}{a - z}\\
\mathbf{if}\;a \leq -1.7 \cdot 10^{+92}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 1.5 \cdot 10^{+77}:\\
\;\;\;\;\frac{\left(y - z\right) \cdot \left(t - x\right)}{a - z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.6999999999999999e92 or 1.4999999999999999e77 < a Initial program 67.7%
Taylor expanded in x around 0
Applied rewrites52.4%
if -1.6999999999999999e92 < a < 1.4999999999999999e77Initial program 63.2%
Taylor expanded in x around 0
Applied rewrites54.8%
(FPCore (x y z t a) :precision binary64 (if (<= t -3.4e+140) (+ x (* (- y z) (- t x))) (+ x (/ (- y z) (- a z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -3.4e+140) {
tmp = x + ((y - z) * (t - x));
} else {
tmp = x + ((y - z) / (a - z));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if (t <= (-3.4d+140)) then
tmp = x + ((y - z) * (t - x))
else
tmp = x + ((y - z) / (a - z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -3.4e+140) {
tmp = x + ((y - z) * (t - x));
} else {
tmp = x + ((y - z) / (a - z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -3.4e+140: tmp = x + ((y - z) * (t - x)) else: tmp = x + ((y - z) / (a - z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -3.4e+140) tmp = Float64(x + Float64(Float64(y - z) * Float64(t - x))); else tmp = Float64(x + Float64(Float64(y - z) / Float64(a - z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -3.4e+140) tmp = x + ((y - z) * (t - x)); else tmp = x + ((y - z) / (a - z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -3.4e+140], N[(x + N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.4 \cdot 10^{+140}:\\
\;\;\;\;x + \left(y - z\right) \cdot \left(t - x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y - z}{a - z}\\
\end{array}
\end{array}
if t < -3.4e140Initial program 64.5%
Taylor expanded in x around 0
Applied rewrites24.3%
if -3.4e140 < t Initial program 64.8%
Taylor expanded in x around 0
Applied rewrites29.5%
(FPCore (x y z t a) :precision binary64 (if (<= x 1.4e+25) (+ x (* (- y z) (- t x))) (+ x (/ (- a z) (- a z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= 1.4e+25) {
tmp = x + ((y - z) * (t - x));
} else {
tmp = x + ((a - z) / (a - z));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if (x <= 1.4d+25) then
tmp = x + ((y - z) * (t - x))
else
tmp = x + ((a - z) / (a - z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= 1.4e+25) {
tmp = x + ((y - z) * (t - x));
} else {
tmp = x + ((a - z) / (a - z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= 1.4e+25: tmp = x + ((y - z) * (t - x)) else: tmp = x + ((a - z) / (a - z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= 1.4e+25) tmp = Float64(x + Float64(Float64(y - z) * Float64(t - x))); else tmp = Float64(x + Float64(Float64(a - z) / Float64(a - z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= 1.4e+25) tmp = x + ((y - z) * (t - x)); else tmp = x + ((a - z) / (a - z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, 1.4e+25], N[(x + N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(a - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 1.4 \cdot 10^{+25}:\\
\;\;\;\;x + \left(y - z\right) \cdot \left(t - x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{a - z}{a - z}\\
\end{array}
\end{array}
if x < 1.4000000000000001e25Initial program 70.6%
Taylor expanded in x around 0
Applied rewrites16.8%
if 1.4000000000000001e25 < x Initial program 50.5%
Taylor expanded in x around 0
Applied rewrites37.2%
(FPCore (x y z t a) :precision binary64 (if (<= x 3e+41) (+ x (* (- y z) (- t x))) (+ x (- y z))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= 3e+41) {
tmp = x + ((y - z) * (t - x));
} else {
tmp = x + (y - z);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if (x <= 3d+41) then
tmp = x + ((y - z) * (t - x))
else
tmp = x + (y - z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= 3e+41) {
tmp = x + ((y - z) * (t - x));
} else {
tmp = x + (y - z);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= 3e+41: tmp = x + ((y - z) * (t - x)) else: tmp = x + (y - z) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= 3e+41) tmp = Float64(x + Float64(Float64(y - z) * Float64(t - x))); else tmp = Float64(x + Float64(y - z)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= 3e+41) tmp = x + ((y - z) * (t - x)); else tmp = x + (y - z); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, 3e+41], N[(x + N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y - z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 3 \cdot 10^{+41}:\\
\;\;\;\;x + \left(y - z\right) \cdot \left(t - x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y - z\right)\\
\end{array}
\end{array}
if x < 2.9999999999999998e41Initial program 70.4%
Taylor expanded in x around 0
Applied rewrites17.0%
if 2.9999999999999998e41 < x Initial program 49.6%
Taylor expanded in x around 0
Applied rewrites23.3%
Taylor expanded in x around 0
Applied rewrites32.8%
(FPCore (x y z t a) :precision binary64 (if (<= y -3.8e+153) (* (- y z) (- y z)) (+ x (- y z))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -3.8e+153) {
tmp = (y - z) * (y - z);
} else {
tmp = x + (y - z);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if (y <= (-3.8d+153)) then
tmp = (y - z) * (y - z)
else
tmp = x + (y - z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -3.8e+153) {
tmp = (y - z) * (y - z);
} else {
tmp = x + (y - z);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -3.8e+153: tmp = (y - z) * (y - z) else: tmp = x + (y - z) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -3.8e+153) tmp = Float64(Float64(y - z) * Float64(y - z)); else tmp = Float64(x + Float64(y - z)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -3.8e+153) tmp = (y - z) * (y - z); else tmp = x + (y - z); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -3.8e+153], N[(N[(y - z), $MachinePrecision] * N[(y - z), $MachinePrecision]), $MachinePrecision], N[(x + N[(y - z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.8 \cdot 10^{+153}:\\
\;\;\;\;\left(y - z\right) \cdot \left(y - z\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y - z\right)\\
\end{array}
\end{array}
if y < -3.79999999999999966e153Initial program 64.0%
Taylor expanded in x around 0
Applied rewrites60.8%
Taylor expanded in x around 0
Applied rewrites18.0%
Taylor expanded in x around 0
Applied rewrites26.7%
if -3.79999999999999966e153 < y Initial program 64.8%
Taylor expanded in x around 0
Applied rewrites18.8%
Taylor expanded in x around 0
Applied rewrites20.0%
(FPCore (x y z t a) :precision binary64 (+ x (- y z)))
double code(double x, double y, double z, double t, double a) {
return x + (y - z);
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (y - z)
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y - z);
}
def code(x, y, z, t, a): return x + (y - z)
function code(x, y, z, t, a) return Float64(x + Float64(y - z)) end
function tmp = code(x, y, z, t, a) tmp = x + (y - z); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y - z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(y - z\right)
\end{array}
Initial program 64.7%
Taylor expanded in x around 0
Applied rewrites18.7%
Taylor expanded in x around 0
Applied rewrites18.0%
(FPCore (x y z t a) :precision binary64 (+ x (- a z)))
double code(double x, double y, double z, double t, double a) {
return x + (a - z);
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (a - z)
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (a - z);
}
def code(x, y, z, t, a): return x + (a - z)
function code(x, y, z, t, a) return Float64(x + Float64(a - z)) end
function tmp = code(x, y, z, t, a) tmp = x + (a - z); end
code[x_, y_, z_, t_, a_] := N[(x + N[(a - z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(a - z\right)
\end{array}
Initial program 64.7%
Taylor expanded in x around 0
Applied rewrites18.7%
Taylor expanded in x around 0
Applied rewrites18.0%
Taylor expanded in x around 0
Applied rewrites10.3%
(FPCore (x y z t a) :precision binary64 (- y z))
double code(double x, double y, double z, double t, double a) {
return y - z;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = y - z
end function
public static double code(double x, double y, double z, double t, double a) {
return y - z;
}
def code(x, y, z, t, a): return y - z
function code(x, y, z, t, a) return Float64(y - z) end
function tmp = code(x, y, z, t, a) tmp = y - z; end
code[x_, y_, z_, t_, a_] := N[(y - z), $MachinePrecision]
\begin{array}{l}
\\
y - z
\end{array}
Initial program 64.7%
Taylor expanded in x around 0
Applied rewrites18.7%
Taylor expanded in x around 0
Applied rewrites18.0%
Taylor expanded in x around 0
Applied rewrites3.1%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- t (* (/ y z) (- t x)))))
(if (< z -1.2536131056095036e+188)
t_1
(if (< z 4.446702369113811e+64)
(+ x (/ (- y z) (/ (- a z) (- t x))))
t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t - ((y / z) * (t - x));
double tmp;
if (z < -1.2536131056095036e+188) {
tmp = t_1;
} else if (z < 4.446702369113811e+64) {
tmp = x + ((y - z) / ((a - z) / (t - x)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: t_1
real(8) :: tmp
t_1 = t - ((y / z) * (t - x))
if (z < (-1.2536131056095036d+188)) then
tmp = t_1
else if (z < 4.446702369113811d+64) then
tmp = x + ((y - z) / ((a - z) / (t - x)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = t - ((y / z) * (t - x));
double tmp;
if (z < -1.2536131056095036e+188) {
tmp = t_1;
} else if (z < 4.446702369113811e+64) {
tmp = x + ((y - z) / ((a - z) / (t - x)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t - ((y / z) * (t - x)) tmp = 0 if z < -1.2536131056095036e+188: tmp = t_1 elif z < 4.446702369113811e+64: tmp = x + ((y - z) / ((a - z) / (t - x))) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t - Float64(Float64(y / z) * Float64(t - x))) tmp = 0.0 if (z < -1.2536131056095036e+188) tmp = t_1; elseif (z < 4.446702369113811e+64) tmp = Float64(x + Float64(Float64(y - z) / Float64(Float64(a - z) / Float64(t - x)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t - ((y / z) * (t - x)); tmp = 0.0; if (z < -1.2536131056095036e+188) tmp = t_1; elseif (z < 4.446702369113811e+64) tmp = x + ((y - z) / ((a - z) / (t - x))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t - N[(N[(y / z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -1.2536131056095036e+188], t$95$1, If[Less[z, 4.446702369113811e+64], N[(x + N[(N[(y - z), $MachinePrecision] / N[(N[(a - z), $MachinePrecision] / N[(t - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t - \frac{y}{z} \cdot \left(t - x\right)\\
\mathbf{if}\;z < -1.2536131056095036 \cdot 10^{+188}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z < 4.446702369113811 \cdot 10^{+64}:\\
\;\;\;\;x + \frac{y - z}{\frac{a - z}{t - x}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024321
(FPCore (x y z t a)
:name "Graphics.Rendering.Chart.Axis.Types:invLinMap from Chart-1.5.3"
:precision binary64
:pre (TRUE)
:alt
(! :herbie-platform default (if (< z -125361310560950360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- t (* (/ y z) (- t x))) (if (< z 44467023691138110000000000000000000000000000000000000000000000000) (+ x (/ (- y z) (/ (- a z) (- t x)))) (- t (* (/ y z) (- t x))))))
(+ x (/ (* (- y z) (- t x)) (- a z))))