\[ \begin{array}{c}[z, t] = \mathsf{sort}([z, t])\\ \end{array} \]
Math FPCore C Fortran Java Python Julia MATLAB Wolfram TeX \[1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
\]
↓
\[1 + \frac{\frac{-1}{y - z}}{\frac{y - t}{x}}
\]
(FPCore (x y z t) :precision binary64 (- 1.0 (/ x (* (- y z) (- y t))))) ↓
(FPCore (x y z t)
:precision binary64
(+ 1.0 (/ (/ -1.0 (- y z)) (/ (- y t) x)))) double code(double x, double y, double z, double t) {
return 1.0 - (x / ((y - z) * (y - t)));
}
↓
double code(double x, double y, double z, double t) {
return 1.0 + ((-1.0 / (y - z)) / ((y - t) / x));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = 1.0d0 - (x / ((y - z) * (y - t)))
end function
↓
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = 1.0d0 + (((-1.0d0) / (y - z)) / ((y - t) / x))
end function
public static double code(double x, double y, double z, double t) {
return 1.0 - (x / ((y - z) * (y - t)));
}
↓
public static double code(double x, double y, double z, double t) {
return 1.0 + ((-1.0 / (y - z)) / ((y - t) / x));
}
def code(x, y, z, t):
return 1.0 - (x / ((y - z) * (y - t)))
↓
def code(x, y, z, t):
return 1.0 + ((-1.0 / (y - z)) / ((y - t) / x))
function code(x, y, z, t)
return Float64(1.0 - Float64(x / Float64(Float64(y - z) * Float64(y - t))))
end
↓
function code(x, y, z, t)
return Float64(1.0 + Float64(Float64(-1.0 / Float64(y - z)) / Float64(Float64(y - t) / x)))
end
function tmp = code(x, y, z, t)
tmp = 1.0 - (x / ((y - z) * (y - t)));
end
↓
function tmp = code(x, y, z, t)
tmp = 1.0 + ((-1.0 / (y - z)) / ((y - t) / x));
end
code[x_, y_, z_, t_] := N[(1.0 - N[(x / N[(N[(y - z), $MachinePrecision] * N[(y - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_, t_] := N[(1.0 + N[(N[(-1.0 / N[(y - z), $MachinePrecision]), $MachinePrecision] / N[(N[(y - t), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
↓
1 + \frac{\frac{-1}{y - z}}{\frac{y - t}{x}}
Alternatives Alternative 1 Error 6.8 Cost 968
\[\begin{array}{l}
\mathbf{if}\;y \leq -9 \cdot 10^{-36}:\\
\;\;\;\;1 - \frac{x}{y \cdot \left(y - z\right)}\\
\mathbf{elif}\;y \leq 1.25 \cdot 10^{-60}:\\
\;\;\;\;1 - \frac{\frac{x}{z}}{t - y}\\
\mathbf{else}:\\
\;\;\;\;1 + x \cdot \frac{\frac{-1}{y - t}}{y}\\
\end{array}
\]
Alternative 2 Error 9.3 Cost 841
\[\begin{array}{l}
\mathbf{if}\;y \leq -3.1 \cdot 10^{-50} \lor \neg \left(y \leq 7.6 \cdot 10^{-100}\right):\\
\;\;\;\;1 - \frac{x}{y \cdot \left(y - z\right)}\\
\mathbf{else}:\\
\;\;\;\;1 + \frac{x}{t} \cdot \frac{-1}{z}\\
\end{array}
\]
Alternative 3 Error 10.2 Cost 840
\[\begin{array}{l}
\mathbf{if}\;y \leq -2.4 \cdot 10^{-121}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{-114}:\\
\;\;\;\;1 + \frac{x}{t} \cdot \frac{-1}{z}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 4 Error 9.0 Cost 840
\[\begin{array}{l}
\mathbf{if}\;y \leq -2.8 \cdot 10^{-50}:\\
\;\;\;\;1 - \frac{x}{y \cdot \left(y - z\right)}\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{-86}:\\
\;\;\;\;1 + \frac{x}{t} \cdot \frac{-1}{z}\\
\mathbf{else}:\\
\;\;\;\;1 - \frac{x}{y \cdot \left(y - t\right)}\\
\end{array}
\]
Alternative 5 Error 9.1 Cost 840
\[\begin{array}{l}
\mathbf{if}\;y \leq -2.9 \cdot 10^{-50}:\\
\;\;\;\;1 - \frac{x}{y \cdot \left(y - z\right)}\\
\mathbf{elif}\;y \leq 5.8 \cdot 10^{-86}:\\
\;\;\;\;1 + \frac{x}{t} \cdot \frac{-1}{z}\\
\mathbf{else}:\\
\;\;\;\;1 - \frac{\frac{x}{y}}{y - t}\\
\end{array}
\]
Alternative 6 Error 6.9 Cost 840
\[\begin{array}{l}
\mathbf{if}\;y \leq -4.8 \cdot 10^{-36}:\\
\;\;\;\;1 - \frac{x}{y \cdot \left(y - z\right)}\\
\mathbf{elif}\;y \leq 2.1 \cdot 10^{-62}:\\
\;\;\;\;1 - \frac{\frac{x}{z}}{t - y}\\
\mathbf{else}:\\
\;\;\;\;1 - \frac{\frac{x}{y}}{y - t}\\
\end{array}
\]
Alternative 7 Error 1.1 Cost 832
\[1 + \frac{x}{y - t} \cdot \frac{-1}{y - z}
\]
Alternative 8 Error 9.9 Cost 712
\[\begin{array}{l}
\mathbf{if}\;y \leq -6.8 \cdot 10^{-121}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 5 \cdot 10^{-113}:\\
\;\;\;\;1 - \frac{x}{z \cdot t}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 9 Error 10.2 Cost 712
\[\begin{array}{l}
\mathbf{if}\;y \leq -2.9 \cdot 10^{-121}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 6.6 \cdot 10^{-114}:\\
\;\;\;\;1 - \frac{\frac{x}{t}}{z}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 10 Error 0.7 Cost 704
\[1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
\]
Alternative 11 Error 13.9 Cost 580
\[\begin{array}{l}
\mathbf{if}\;z \leq 2.9 \cdot 10^{-307}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;1 + \frac{x}{y \cdot t}\\
\end{array}
\]
Alternative 12 Error 13.3 Cost 64
\[1
\]