Math FPCore C Fortran Java Python Julia MATLAB Wolfram TeX \[1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
\]
↓
\[1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
\]
(FPCore (x y z t) :precision binary64 (- 1.0 (/ x (* (- y z) (- y t))))) ↓
(FPCore (x y z t) :precision binary64 (- 1.0 (/ x (* (- y z) (- y t))))) 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 - (x / ((y - z) * (y - t)));
}
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 - (x / ((y - z) * (y - t)))
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 - (x / ((y - z) * (y - t)));
}
def code(x, y, z, t):
return 1.0 - (x / ((y - z) * (y - t)))
↓
def code(x, y, z, t):
return 1.0 - (x / ((y - z) * (y - t)))
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(x / Float64(Float64(y - z) * Float64(y - t))))
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 - (x / ((y - z) * (y - t)));
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[(x / N[(N[(y - z), $MachinePrecision] * N[(y - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
↓
1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
Alternatives Alternative 1 Error 8.0 Cost 1104
\[\begin{array}{l}
t_1 := 1 + \frac{x}{\left(y - z\right) \cdot t}\\
t_2 := 1 - \frac{\frac{x}{z}}{t - y}\\
\mathbf{if}\;z \leq -1.441520869788915 \cdot 10^{-49}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -4.816969106573183 \cdot 10^{-116}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.2162529392256342 \cdot 10^{-126}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 4.093663014529952 \cdot 10^{-158}:\\
\;\;\;\;1 - \frac{\frac{x}{y - t}}{y}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 2 Error 8.0 Cost 1104
\[\begin{array}{l}
t_1 := 1 + \frac{x}{\left(y - z\right) \cdot t}\\
\mathbf{if}\;z \leq -1.441520869788915 \cdot 10^{-49}:\\
\;\;\;\;1 + \frac{x \cdot \frac{-1}{z}}{t - y}\\
\mathbf{elif}\;z \leq -4.816969106573183 \cdot 10^{-116}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.2162529392256342 \cdot 10^{-126}:\\
\;\;\;\;1 - \frac{\frac{x}{z}}{t - y}\\
\mathbf{elif}\;z \leq 4.093663014529952 \cdot 10^{-158}:\\
\;\;\;\;1 - \frac{\frac{x}{y - t}}{y}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 3 Error 8.7 Cost 840
\[\begin{array}{l}
t_1 := 1 - \frac{\frac{x}{y - t}}{y}\\
\mathbf{if}\;y \leq -1 \cdot 10^{-130}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 1.2327596706202623 \cdot 10^{-92}:\\
\;\;\;\;1 - \frac{\frac{x}{t}}{z}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 4 Error 9.2 Cost 840
\[\begin{array}{l}
\mathbf{if}\;t \leq -7.405678817124688 \cdot 10^{-55}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 4.577720418147411 \cdot 10^{+32}:\\
\;\;\;\;1 - \frac{\frac{x}{y - z}}{y}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 5 Error 5.1 Cost 840
\[\begin{array}{l}
t_1 := 1 + \frac{x}{\left(y - z\right) \cdot t}\\
\mathbf{if}\;t \leq -7.405678817124688 \cdot 10^{-55}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 1.1514873540720808 \cdot 10^{+27}:\\
\;\;\;\;1 - \frac{\frac{x}{y - z}}{y}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 6 Error 10.0 Cost 712
\[\begin{array}{l}
\mathbf{if}\;y \leq -7.4 \cdot 10^{-205}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 3.978276007215539 \cdot 10^{-90}:\\
\;\;\;\;1 - \frac{x}{z \cdot t}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 7 Error 10.2 Cost 712
\[\begin{array}{l}
\mathbf{if}\;y \leq -7.4 \cdot 10^{-205}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 3.8457555110140445 \cdot 10^{-99}:\\
\;\;\;\;1 - \frac{\frac{x}{t}}{z}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 8 Error 1.0 Cost 704
\[1 + \frac{\frac{x}{y - z}}{t - y}
\]
Alternative 9 Error 13.3 Cost 64
\[1
\]