
(FPCore (x y z t a) :precision binary64 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
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 = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a): return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 18 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
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 = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a): return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}
(FPCore (x y z t a) :precision binary64 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
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 = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a): return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}
(FPCore (x y z t a)
:precision binary64
(if (<= z -1.75e+50)
(+ (* a 120.0) (* -60.0 (/ y z)))
(if (<= z -2.5e-108)
(* (- x y) (/ 60.0 (- z t)))
(if (<= z 1.32e-83)
(+ (* a 120.0) (/ (* x -60.0) t))
(if (<= z 4.1e+54)
(* 60.0 (/ (- x y) (- z t)))
(+ (* a 120.0) (/ y (/ z -60.0))))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.75e+50) {
tmp = (a * 120.0) + (-60.0 * (y / z));
} else if (z <= -2.5e-108) {
tmp = (x - y) * (60.0 / (z - t));
} else if (z <= 1.32e-83) {
tmp = (a * 120.0) + ((x * -60.0) / t);
} else if (z <= 4.1e+54) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = (a * 120.0) + (y / (z / -60.0));
}
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 (z <= (-1.75d+50)) then
tmp = (a * 120.0d0) + ((-60.0d0) * (y / z))
else if (z <= (-2.5d-108)) then
tmp = (x - y) * (60.0d0 / (z - t))
else if (z <= 1.32d-83) then
tmp = (a * 120.0d0) + ((x * (-60.0d0)) / t)
else if (z <= 4.1d+54) then
tmp = 60.0d0 * ((x - y) / (z - t))
else
tmp = (a * 120.0d0) + (y / (z / (-60.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.75e+50) {
tmp = (a * 120.0) + (-60.0 * (y / z));
} else if (z <= -2.5e-108) {
tmp = (x - y) * (60.0 / (z - t));
} else if (z <= 1.32e-83) {
tmp = (a * 120.0) + ((x * -60.0) / t);
} else if (z <= 4.1e+54) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = (a * 120.0) + (y / (z / -60.0));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -1.75e+50: tmp = (a * 120.0) + (-60.0 * (y / z)) elif z <= -2.5e-108: tmp = (x - y) * (60.0 / (z - t)) elif z <= 1.32e-83: tmp = (a * 120.0) + ((x * -60.0) / t) elif z <= 4.1e+54: tmp = 60.0 * ((x - y) / (z - t)) else: tmp = (a * 120.0) + (y / (z / -60.0)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -1.75e+50) tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(y / z))); elseif (z <= -2.5e-108) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); elseif (z <= 1.32e-83) tmp = Float64(Float64(a * 120.0) + Float64(Float64(x * -60.0) / t)); elseif (z <= 4.1e+54) tmp = Float64(60.0 * Float64(Float64(x - y) / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(y / Float64(z / -60.0))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -1.75e+50) tmp = (a * 120.0) + (-60.0 * (y / z)); elseif (z <= -2.5e-108) tmp = (x - y) * (60.0 / (z - t)); elseif (z <= 1.32e-83) tmp = (a * 120.0) + ((x * -60.0) / t); elseif (z <= 4.1e+54) tmp = 60.0 * ((x - y) / (z - t)); else tmp = (a * 120.0) + (y / (z / -60.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -1.75e+50], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.5e-108], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.32e-83], N[(N[(a * 120.0), $MachinePrecision] + N[(N[(x * -60.0), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.1e+54], N[(60.0 * N[(N[(x - y), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(y / N[(z / -60.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.75 \cdot 10^{+50}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{y}{z}\\
\mathbf{elif}\;z \leq -2.5 \cdot 10^{-108}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{elif}\;z \leq 1.32 \cdot 10^{-83}:\\
\;\;\;\;a \cdot 120 + \frac{x \cdot -60}{t}\\
\mathbf{elif}\;z \leq 4.1 \cdot 10^{+54}:\\
\;\;\;\;60 \cdot \frac{x - y}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + \frac{y}{\frac{z}{-60}}\\
\end{array}
\end{array}
(FPCore (x y z t a)
:precision binary64
(if (<= z -1.2e+54)
(+ (* a 120.0) (/ (* 60.0 x) z))
(if (<= z -1.7e-109)
(* (- x y) (/ 60.0 (- z t)))
(if (<= z 1.95e-81)
(+ (* a 120.0) (/ (* x -60.0) t))
(if (<= z 1.6e+56)
(* 60.0 (/ (- x y) (- z t)))
(+ (* a 120.0) (/ y (/ z -60.0))))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.2e+54) {
tmp = (a * 120.0) + ((60.0 * x) / z);
} else if (z <= -1.7e-109) {
tmp = (x - y) * (60.0 / (z - t));
} else if (z <= 1.95e-81) {
tmp = (a * 120.0) + ((x * -60.0) / t);
} else if (z <= 1.6e+56) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = (a * 120.0) + (y / (z / -60.0));
}
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 (z <= (-1.2d+54)) then
tmp = (a * 120.0d0) + ((60.0d0 * x) / z)
else if (z <= (-1.7d-109)) then
tmp = (x - y) * (60.0d0 / (z - t))
else if (z <= 1.95d-81) then
tmp = (a * 120.0d0) + ((x * (-60.0d0)) / t)
else if (z <= 1.6d+56) then
tmp = 60.0d0 * ((x - y) / (z - t))
else
tmp = (a * 120.0d0) + (y / (z / (-60.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.2e+54) {
tmp = (a * 120.0) + ((60.0 * x) / z);
} else if (z <= -1.7e-109) {
tmp = (x - y) * (60.0 / (z - t));
} else if (z <= 1.95e-81) {
tmp = (a * 120.0) + ((x * -60.0) / t);
} else if (z <= 1.6e+56) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = (a * 120.0) + (y / (z / -60.0));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -1.2e+54: tmp = (a * 120.0) + ((60.0 * x) / z) elif z <= -1.7e-109: tmp = (x - y) * (60.0 / (z - t)) elif z <= 1.95e-81: tmp = (a * 120.0) + ((x * -60.0) / t) elif z <= 1.6e+56: tmp = 60.0 * ((x - y) / (z - t)) else: tmp = (a * 120.0) + (y / (z / -60.0)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -1.2e+54) tmp = Float64(Float64(a * 120.0) + Float64(Float64(60.0 * x) / z)); elseif (z <= -1.7e-109) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); elseif (z <= 1.95e-81) tmp = Float64(Float64(a * 120.0) + Float64(Float64(x * -60.0) / t)); elseif (z <= 1.6e+56) tmp = Float64(60.0 * Float64(Float64(x - y) / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(y / Float64(z / -60.0))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -1.2e+54) tmp = (a * 120.0) + ((60.0 * x) / z); elseif (z <= -1.7e-109) tmp = (x - y) * (60.0 / (z - t)); elseif (z <= 1.95e-81) tmp = (a * 120.0) + ((x * -60.0) / t); elseif (z <= 1.6e+56) tmp = 60.0 * ((x - y) / (z - t)); else tmp = (a * 120.0) + (y / (z / -60.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -1.2e+54], N[(N[(a * 120.0), $MachinePrecision] + N[(N[(60.0 * x), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.7e-109], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.95e-81], N[(N[(a * 120.0), $MachinePrecision] + N[(N[(x * -60.0), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.6e+56], N[(60.0 * N[(N[(x - y), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(y / N[(z / -60.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.2 \cdot 10^{+54}:\\
\;\;\;\;a \cdot 120 + \frac{60 \cdot x}{z}\\
\mathbf{elif}\;z \leq -1.7 \cdot 10^{-109}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{elif}\;z \leq 1.95 \cdot 10^{-81}:\\
\;\;\;\;a \cdot 120 + \frac{x \cdot -60}{t}\\
\mathbf{elif}\;z \leq 1.6 \cdot 10^{+56}:\\
\;\;\;\;60 \cdot \frac{x - y}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + \frac{y}{\frac{z}{-60}}\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (or (<= (- z t) -1e+136) (not (<= (- z t) 5e+154))) (* a 120.0) (* 60.0 (/ (- x y) (- z t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (((z - t) <= -1e+136) || !((z - t) <= 5e+154)) {
tmp = a * 120.0;
} else {
tmp = 60.0 * ((x - y) / (z - t));
}
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 (((z - t) <= (-1d+136)) .or. (.not. ((z - t) <= 5d+154))) then
tmp = a * 120.0d0
else
tmp = 60.0d0 * ((x - y) / (z - t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (((z - t) <= -1e+136) || !((z - t) <= 5e+154)) {
tmp = a * 120.0;
} else {
tmp = 60.0 * ((x - y) / (z - t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if ((z - t) <= -1e+136) or not ((z - t) <= 5e+154): tmp = a * 120.0 else: tmp = 60.0 * ((x - y) / (z - t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((Float64(z - t) <= -1e+136) || !(Float64(z - t) <= 5e+154)) tmp = Float64(a * 120.0); else tmp = Float64(60.0 * Float64(Float64(x - y) / Float64(z - t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (((z - t) <= -1e+136) || ~(((z - t) <= 5e+154))) tmp = a * 120.0; else tmp = 60.0 * ((x - y) / (z - t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[N[(z - t), $MachinePrecision], -1e+136], N[Not[LessEqual[N[(z - t), $MachinePrecision], 5e+154]], $MachinePrecision]], N[(a * 120.0), $MachinePrecision], N[(60.0 * N[(N[(x - y), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z - t \leq -1 \cdot 10^{+136} \lor \neg \left(z - t \leq 5 \cdot 10^{+154}\right):\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;60 \cdot \frac{x - y}{z - t}\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (or (<= (- z t) -1e+136) (not (<= (- z t) 5e+154))) (* a 120.0) (* (- x y) (/ 60.0 (- z t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (((z - t) <= -1e+136) || !((z - t) <= 5e+154)) {
tmp = a * 120.0;
} else {
tmp = (x - y) * (60.0 / (z - t));
}
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 (((z - t) <= (-1d+136)) .or. (.not. ((z - t) <= 5d+154))) then
tmp = a * 120.0d0
else
tmp = (x - y) * (60.0d0 / (z - t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (((z - t) <= -1e+136) || !((z - t) <= 5e+154)) {
tmp = a * 120.0;
} else {
tmp = (x - y) * (60.0 / (z - t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if ((z - t) <= -1e+136) or not ((z - t) <= 5e+154): tmp = a * 120.0 else: tmp = (x - y) * (60.0 / (z - t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((Float64(z - t) <= -1e+136) || !(Float64(z - t) <= 5e+154)) tmp = Float64(a * 120.0); else tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (((z - t) <= -1e+136) || ~(((z - t) <= 5e+154))) tmp = a * 120.0; else tmp = (x - y) * (60.0 / (z - t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[N[(z - t), $MachinePrecision], -1e+136], N[Not[LessEqual[N[(z - t), $MachinePrecision], 5e+154]], $MachinePrecision]], N[(a * 120.0), $MachinePrecision], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z - t \leq -1 \cdot 10^{+136} \lor \neg \left(z - t \leq 5 \cdot 10^{+154}\right):\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\end{array}
\end{array}
(FPCore (x y z t a)
:precision binary64
(if (<= (* a 120.0) -1e-131)
(* a 120.0)
(if (<= (* a 120.0) 2e+23)
(* (- x y) (/ 60.0 (- z t)))
(+ (* a 120.0) (* -60.0 (/ y z))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a * 120.0) <= -1e-131) {
tmp = a * 120.0;
} else if ((a * 120.0) <= 2e+23) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (a * 120.0) + (-60.0 * (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 ((a * 120.0d0) <= (-1d-131)) then
tmp = a * 120.0d0
else if ((a * 120.0d0) <= 2d+23) then
tmp = (x - y) * (60.0d0 / (z - t))
else
tmp = (a * 120.0d0) + ((-60.0d0) * (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 ((a * 120.0) <= -1e-131) {
tmp = a * 120.0;
} else if ((a * 120.0) <= 2e+23) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (a * 120.0) + (-60.0 * (y / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a * 120.0) <= -1e-131: tmp = a * 120.0 elif (a * 120.0) <= 2e+23: tmp = (x - y) * (60.0 / (z - t)) else: tmp = (a * 120.0) + (-60.0 * (y / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (Float64(a * 120.0) <= -1e-131) tmp = Float64(a * 120.0); elseif (Float64(a * 120.0) <= 2e+23) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(y / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a * 120.0) <= -1e-131) tmp = a * 120.0; elseif ((a * 120.0) <= 2e+23) tmp = (x - y) * (60.0 / (z - t)); else tmp = (a * 120.0) + (-60.0 * (y / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[N[(a * 120.0), $MachinePrecision], -1e-131], N[(a * 120.0), $MachinePrecision], If[LessEqual[N[(a * 120.0), $MachinePrecision], 2e+23], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot 120 \leq -1 \cdot 10^{-131}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;a \cdot 120 \leq 2 \cdot 10^{+23}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{y}{z}\\
\end{array}
\end{array}
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* 60.0 (/ x (- z t)))))
(if (<= x -1.55e+90)
t_1
(if (<= x -4.2e-68)
(* a 120.0)
(if (<= x -1.9e-87)
(* -60.0 (/ y (- z t)))
(if (<= x 2.35e+152) (* a 120.0) t_1))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = 60.0 * (x / (z - t));
double tmp;
if (x <= -1.55e+90) {
tmp = t_1;
} else if (x <= -4.2e-68) {
tmp = a * 120.0;
} else if (x <= -1.9e-87) {
tmp = -60.0 * (y / (z - t));
} else if (x <= 2.35e+152) {
tmp = a * 120.0;
} 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 = 60.0d0 * (x / (z - t))
if (x <= (-1.55d+90)) then
tmp = t_1
else if (x <= (-4.2d-68)) then
tmp = a * 120.0d0
else if (x <= (-1.9d-87)) then
tmp = (-60.0d0) * (y / (z - t))
else if (x <= 2.35d+152) then
tmp = a * 120.0d0
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 = 60.0 * (x / (z - t));
double tmp;
if (x <= -1.55e+90) {
tmp = t_1;
} else if (x <= -4.2e-68) {
tmp = a * 120.0;
} else if (x <= -1.9e-87) {
tmp = -60.0 * (y / (z - t));
} else if (x <= 2.35e+152) {
tmp = a * 120.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = 60.0 * (x / (z - t)) tmp = 0 if x <= -1.55e+90: tmp = t_1 elif x <= -4.2e-68: tmp = a * 120.0 elif x <= -1.9e-87: tmp = -60.0 * (y / (z - t)) elif x <= 2.35e+152: tmp = a * 120.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(60.0 * Float64(x / Float64(z - t))) tmp = 0.0 if (x <= -1.55e+90) tmp = t_1; elseif (x <= -4.2e-68) tmp = Float64(a * 120.0); elseif (x <= -1.9e-87) tmp = Float64(-60.0 * Float64(y / Float64(z - t))); elseif (x <= 2.35e+152) tmp = Float64(a * 120.0); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = 60.0 * (x / (z - t)); tmp = 0.0; if (x <= -1.55e+90) tmp = t_1; elseif (x <= -4.2e-68) tmp = a * 120.0; elseif (x <= -1.9e-87) tmp = -60.0 * (y / (z - t)); elseif (x <= 2.35e+152) tmp = a * 120.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(60.0 * N[(x / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.55e+90], t$95$1, If[LessEqual[x, -4.2e-68], N[(a * 120.0), $MachinePrecision], If[LessEqual[x, -1.9e-87], N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.35e+152], N[(a * 120.0), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 60 \cdot \frac{x}{z - t}\\
\mathbf{if}\;x \leq -1.55 \cdot 10^{+90}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -4.2 \cdot 10^{-68}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;x \leq -1.9 \cdot 10^{-87}:\\
\;\;\;\;-60 \cdot \frac{y}{z - t}\\
\mathbf{elif}\;x \leq 2.35 \cdot 10^{+152}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
(FPCore (x y z t a)
:precision binary64
(if (<= x -4.1e+90)
(* 60.0 (/ x (- z t)))
(if (<= x -2.6e-74)
(* a 120.0)
(if (<= x -1.9e-87)
(* -60.0 (/ y (- z t)))
(if (<= x 2.8e+151) (* a 120.0) (/ 60.0 (/ (- z t) x)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -4.1e+90) {
tmp = 60.0 * (x / (z - t));
} else if (x <= -2.6e-74) {
tmp = a * 120.0;
} else if (x <= -1.9e-87) {
tmp = -60.0 * (y / (z - t));
} else if (x <= 2.8e+151) {
tmp = a * 120.0;
} else {
tmp = 60.0 / ((z - t) / x);
}
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 <= (-4.1d+90)) then
tmp = 60.0d0 * (x / (z - t))
else if (x <= (-2.6d-74)) then
tmp = a * 120.0d0
else if (x <= (-1.9d-87)) then
tmp = (-60.0d0) * (y / (z - t))
else if (x <= 2.8d+151) then
tmp = a * 120.0d0
else
tmp = 60.0d0 / ((z - t) / x)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -4.1e+90) {
tmp = 60.0 * (x / (z - t));
} else if (x <= -2.6e-74) {
tmp = a * 120.0;
} else if (x <= -1.9e-87) {
tmp = -60.0 * (y / (z - t));
} else if (x <= 2.8e+151) {
tmp = a * 120.0;
} else {
tmp = 60.0 / ((z - t) / x);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= -4.1e+90: tmp = 60.0 * (x / (z - t)) elif x <= -2.6e-74: tmp = a * 120.0 elif x <= -1.9e-87: tmp = -60.0 * (y / (z - t)) elif x <= 2.8e+151: tmp = a * 120.0 else: tmp = 60.0 / ((z - t) / x) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= -4.1e+90) tmp = Float64(60.0 * Float64(x / Float64(z - t))); elseif (x <= -2.6e-74) tmp = Float64(a * 120.0); elseif (x <= -1.9e-87) tmp = Float64(-60.0 * Float64(y / Float64(z - t))); elseif (x <= 2.8e+151) tmp = Float64(a * 120.0); else tmp = Float64(60.0 / Float64(Float64(z - t) / x)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= -4.1e+90) tmp = 60.0 * (x / (z - t)); elseif (x <= -2.6e-74) tmp = a * 120.0; elseif (x <= -1.9e-87) tmp = -60.0 * (y / (z - t)); elseif (x <= 2.8e+151) tmp = a * 120.0; else tmp = 60.0 / ((z - t) / x); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, -4.1e+90], N[(60.0 * N[(x / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.6e-74], N[(a * 120.0), $MachinePrecision], If[LessEqual[x, -1.9e-87], N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.8e+151], N[(a * 120.0), $MachinePrecision], N[(60.0 / N[(N[(z - t), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.1 \cdot 10^{+90}:\\
\;\;\;\;60 \cdot \frac{x}{z - t}\\
\mathbf{elif}\;x \leq -2.6 \cdot 10^{-74}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;x \leq -1.9 \cdot 10^{-87}:\\
\;\;\;\;-60 \cdot \frac{y}{z - t}\\
\mathbf{elif}\;x \leq 2.8 \cdot 10^{+151}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{60}{\frac{z - t}{x}}\\
\end{array}
\end{array}
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* 60.0 x) (- z t))))
(if (<= x -2.15e+92)
t_1
(if (<= x -3.3e-72)
(* a 120.0)
(if (<= x -1.9e-87)
(* -60.0 (/ y (- z t)))
(if (<= x 2.45e+138) (* a 120.0) t_1))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (60.0 * x) / (z - t);
double tmp;
if (x <= -2.15e+92) {
tmp = t_1;
} else if (x <= -3.3e-72) {
tmp = a * 120.0;
} else if (x <= -1.9e-87) {
tmp = -60.0 * (y / (z - t));
} else if (x <= 2.45e+138) {
tmp = a * 120.0;
} 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 = (60.0d0 * x) / (z - t)
if (x <= (-2.15d+92)) then
tmp = t_1
else if (x <= (-3.3d-72)) then
tmp = a * 120.0d0
else if (x <= (-1.9d-87)) then
tmp = (-60.0d0) * (y / (z - t))
else if (x <= 2.45d+138) then
tmp = a * 120.0d0
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 = (60.0 * x) / (z - t);
double tmp;
if (x <= -2.15e+92) {
tmp = t_1;
} else if (x <= -3.3e-72) {
tmp = a * 120.0;
} else if (x <= -1.9e-87) {
tmp = -60.0 * (y / (z - t));
} else if (x <= 2.45e+138) {
tmp = a * 120.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (60.0 * x) / (z - t) tmp = 0 if x <= -2.15e+92: tmp = t_1 elif x <= -3.3e-72: tmp = a * 120.0 elif x <= -1.9e-87: tmp = -60.0 * (y / (z - t)) elif x <= 2.45e+138: tmp = a * 120.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(60.0 * x) / Float64(z - t)) tmp = 0.0 if (x <= -2.15e+92) tmp = t_1; elseif (x <= -3.3e-72) tmp = Float64(a * 120.0); elseif (x <= -1.9e-87) tmp = Float64(-60.0 * Float64(y / Float64(z - t))); elseif (x <= 2.45e+138) tmp = Float64(a * 120.0); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (60.0 * x) / (z - t); tmp = 0.0; if (x <= -2.15e+92) tmp = t_1; elseif (x <= -3.3e-72) tmp = a * 120.0; elseif (x <= -1.9e-87) tmp = -60.0 * (y / (z - t)); elseif (x <= 2.45e+138) tmp = a * 120.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(60.0 * x), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.15e+92], t$95$1, If[LessEqual[x, -3.3e-72], N[(a * 120.0), $MachinePrecision], If[LessEqual[x, -1.9e-87], N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.45e+138], N[(a * 120.0), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{60 \cdot x}{z - t}\\
\mathbf{if}\;x \leq -2.15 \cdot 10^{+92}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -3.3 \cdot 10^{-72}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;x \leq -1.9 \cdot 10^{-87}:\\
\;\;\;\;-60 \cdot \frac{y}{z - t}\\
\mathbf{elif}\;x \leq 2.45 \cdot 10^{+138}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (or (<= x -1.15e+92) (not (<= x 1.7e+130))) (* 60.0 (/ (- x y) (- z t))) (+ (* a 120.0) (* -60.0 (/ y (- z t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -1.15e+92) || !(x <= 1.7e+130)) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = (a * 120.0) + (-60.0 * (y / (z - t)));
}
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.15d+92)) .or. (.not. (x <= 1.7d+130))) then
tmp = 60.0d0 * ((x - y) / (z - t))
else
tmp = (a * 120.0d0) + ((-60.0d0) * (y / (z - t)))
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.15e+92) || !(x <= 1.7e+130)) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = (a * 120.0) + (-60.0 * (y / (z - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (x <= -1.15e+92) or not (x <= 1.7e+130): tmp = 60.0 * ((x - y) / (z - t)) else: tmp = (a * 120.0) + (-60.0 * (y / (z - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((x <= -1.15e+92) || !(x <= 1.7e+130)) tmp = Float64(60.0 * Float64(Float64(x - y) / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(y / Float64(z - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((x <= -1.15e+92) || ~((x <= 1.7e+130))) tmp = 60.0 * ((x - y) / (z - t)); else tmp = (a * 120.0) + (-60.0 * (y / (z - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[x, -1.15e+92], N[Not[LessEqual[x, 1.7e+130]], $MachinePrecision]], N[(60.0 * N[(N[(x - y), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.15 \cdot 10^{+92} \lor \neg \left(x \leq 1.7 \cdot 10^{+130}\right):\\
\;\;\;\;60 \cdot \frac{x - y}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{y}{z - t}\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (or (<= x -1.95e-28) (not (<= x 1.76e+28))) (+ (* a 120.0) (* x (/ 60.0 (- z t)))) (+ (* a 120.0) (* -60.0 (/ y (- z t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -1.95e-28) || !(x <= 1.76e+28)) {
tmp = (a * 120.0) + (x * (60.0 / (z - t)));
} else {
tmp = (a * 120.0) + (-60.0 * (y / (z - t)));
}
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.95d-28)) .or. (.not. (x <= 1.76d+28))) then
tmp = (a * 120.0d0) + (x * (60.0d0 / (z - t)))
else
tmp = (a * 120.0d0) + ((-60.0d0) * (y / (z - t)))
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.95e-28) || !(x <= 1.76e+28)) {
tmp = (a * 120.0) + (x * (60.0 / (z - t)));
} else {
tmp = (a * 120.0) + (-60.0 * (y / (z - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (x <= -1.95e-28) or not (x <= 1.76e+28): tmp = (a * 120.0) + (x * (60.0 / (z - t))) else: tmp = (a * 120.0) + (-60.0 * (y / (z - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((x <= -1.95e-28) || !(x <= 1.76e+28)) tmp = Float64(Float64(a * 120.0) + Float64(x * Float64(60.0 / Float64(z - t)))); else tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(y / Float64(z - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((x <= -1.95e-28) || ~((x <= 1.76e+28))) tmp = (a * 120.0) + (x * (60.0 / (z - t))); else tmp = (a * 120.0) + (-60.0 * (y / (z - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[x, -1.95e-28], N[Not[LessEqual[x, 1.76e+28]], $MachinePrecision]], N[(N[(a * 120.0), $MachinePrecision] + N[(x * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.95 \cdot 10^{-28} \lor \neg \left(x \leq 1.76 \cdot 10^{+28}\right):\\
\;\;\;\;a \cdot 120 + x \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{y}{z - t}\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (or (<= x -1e-30) (not (<= x 1.15e+28))) (+ (* a 120.0) (/ (* 60.0 x) (- z t))) (+ (* a 120.0) (* -60.0 (/ y (- z t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -1e-30) || !(x <= 1.15e+28)) {
tmp = (a * 120.0) + ((60.0 * x) / (z - t));
} else {
tmp = (a * 120.0) + (-60.0 * (y / (z - t)));
}
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 <= (-1d-30)) .or. (.not. (x <= 1.15d+28))) then
tmp = (a * 120.0d0) + ((60.0d0 * x) / (z - t))
else
tmp = (a * 120.0d0) + ((-60.0d0) * (y / (z - t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -1e-30) || !(x <= 1.15e+28)) {
tmp = (a * 120.0) + ((60.0 * x) / (z - t));
} else {
tmp = (a * 120.0) + (-60.0 * (y / (z - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (x <= -1e-30) or not (x <= 1.15e+28): tmp = (a * 120.0) + ((60.0 * x) / (z - t)) else: tmp = (a * 120.0) + (-60.0 * (y / (z - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((x <= -1e-30) || !(x <= 1.15e+28)) tmp = Float64(Float64(a * 120.0) + Float64(Float64(60.0 * x) / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(y / Float64(z - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((x <= -1e-30) || ~((x <= 1.15e+28))) tmp = (a * 120.0) + ((60.0 * x) / (z - t)); else tmp = (a * 120.0) + (-60.0 * (y / (z - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[x, -1e-30], N[Not[LessEqual[x, 1.15e+28]], $MachinePrecision]], N[(N[(a * 120.0), $MachinePrecision] + N[(N[(60.0 * x), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1 \cdot 10^{-30} \lor \neg \left(x \leq 1.15 \cdot 10^{+28}\right):\\
\;\;\;\;a \cdot 120 + \frac{60 \cdot x}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{y}{z - t}\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (+ (* a 120.0) (* (- x y) (/ 60.0 (- z t)))))
double code(double x, double y, double z, double t, double a) {
return (a * 120.0) + ((x - y) * (60.0 / (z - t)));
}
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 = (a * 120.0d0) + ((x - y) * (60.0d0 / (z - t)))
end function
public static double code(double x, double y, double z, double t, double a) {
return (a * 120.0) + ((x - y) * (60.0 / (z - t)));
}
def code(x, y, z, t, a): return (a * 120.0) + ((x - y) * (60.0 / (z - t)))
function code(x, y, z, t, a) return Float64(Float64(a * 120.0) + Float64(Float64(x - y) * Float64(60.0 / Float64(z - t)))) end
function tmp = code(x, y, z, t, a) tmp = (a * 120.0) + ((x - y) * (60.0 / (z - t))); end
code[x_, y_, z_, t_, a_] := N[(N[(a * 120.0), $MachinePrecision] + N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot 120 + \left(x - y\right) \cdot \frac{60}{z - t}
\end{array}
(FPCore (x y z t a) :precision binary64 (+ (* a 120.0) (/ 60.0 (/ (- z t) (- x y)))))
double code(double x, double y, double z, double t, double a) {
return (a * 120.0) + (60.0 / ((z - t) / (x - y)));
}
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 = (a * 120.0d0) + (60.0d0 / ((z - t) / (x - y)))
end function
public static double code(double x, double y, double z, double t, double a) {
return (a * 120.0) + (60.0 / ((z - t) / (x - y)));
}
def code(x, y, z, t, a): return (a * 120.0) + (60.0 / ((z - t) / (x - y)))
function code(x, y, z, t, a) return Float64(Float64(a * 120.0) + Float64(60.0 / Float64(Float64(z - t) / Float64(x - y)))) end
function tmp = code(x, y, z, t, a) tmp = (a * 120.0) + (60.0 / ((z - t) / (x - y))); end
code[x_, y_, z_, t_, a_] := N[(N[(a * 120.0), $MachinePrecision] + N[(60.0 / N[(N[(z - t), $MachinePrecision] / N[(x - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot 120 + \frac{60}{\frac{z - t}{x - y}}
\end{array}
(FPCore (x y z t a)
:precision binary64
(if (<= a -1.95e-136)
(* a 120.0)
(if (<= a 5.6e-191)
(* -60.0 (/ y (- z t)))
(if (<= a 1.22e-154) (* -60.0 (/ x t)) (* a 120.0)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -1.95e-136) {
tmp = a * 120.0;
} else if (a <= 5.6e-191) {
tmp = -60.0 * (y / (z - t));
} else if (a <= 1.22e-154) {
tmp = -60.0 * (x / t);
} else {
tmp = a * 120.0;
}
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 (a <= (-1.95d-136)) then
tmp = a * 120.0d0
else if (a <= 5.6d-191) then
tmp = (-60.0d0) * (y / (z - t))
else if (a <= 1.22d-154) then
tmp = (-60.0d0) * (x / t)
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -1.95e-136) {
tmp = a * 120.0;
} else if (a <= 5.6e-191) {
tmp = -60.0 * (y / (z - t));
} else if (a <= 1.22e-154) {
tmp = -60.0 * (x / t);
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -1.95e-136: tmp = a * 120.0 elif a <= 5.6e-191: tmp = -60.0 * (y / (z - t)) elif a <= 1.22e-154: tmp = -60.0 * (x / t) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -1.95e-136) tmp = Float64(a * 120.0); elseif (a <= 5.6e-191) tmp = Float64(-60.0 * Float64(y / Float64(z - t))); elseif (a <= 1.22e-154) tmp = Float64(-60.0 * Float64(x / t)); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -1.95e-136) tmp = a * 120.0; elseif (a <= 5.6e-191) tmp = -60.0 * (y / (z - t)); elseif (a <= 1.22e-154) tmp = -60.0 * (x / t); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -1.95e-136], N[(a * 120.0), $MachinePrecision], If[LessEqual[a, 5.6e-191], N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.22e-154], N[(-60.0 * N[(x / t), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.95 \cdot 10^{-136}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;a \leq 5.6 \cdot 10^{-191}:\\
\;\;\;\;-60 \cdot \frac{y}{z - t}\\
\mathbf{elif}\;a \leq 1.22 \cdot 10^{-154}:\\
\;\;\;\;-60 \cdot \frac{x}{t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (or (<= x -6e+91) (not (<= x 4.4e+154))) (* -60.0 (/ x t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -6e+91) || !(x <= 4.4e+154)) {
tmp = -60.0 * (x / t);
} else {
tmp = a * 120.0;
}
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 <= (-6d+91)) .or. (.not. (x <= 4.4d+154))) then
tmp = (-60.0d0) * (x / t)
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -6e+91) || !(x <= 4.4e+154)) {
tmp = -60.0 * (x / t);
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (x <= -6e+91) or not (x <= 4.4e+154): tmp = -60.0 * (x / t) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((x <= -6e+91) || !(x <= 4.4e+154)) tmp = Float64(-60.0 * Float64(x / t)); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((x <= -6e+91) || ~((x <= 4.4e+154))) tmp = -60.0 * (x / t); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[x, -6e+91], N[Not[LessEqual[x, 4.4e+154]], $MachinePrecision]], N[(-60.0 * N[(x / t), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -6 \cdot 10^{+91} \lor \neg \left(x \leq 4.4 \cdot 10^{+154}\right):\\
\;\;\;\;-60 \cdot \frac{x}{t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (if (<= x -1.7e+91) (* -60.0 (/ x t)) (if (<= x 2.9e+138) (* a 120.0) (/ (* x -60.0) t))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -1.7e+91) {
tmp = -60.0 * (x / t);
} else if (x <= 2.9e+138) {
tmp = a * 120.0;
} else {
tmp = (x * -60.0) / t;
}
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.7d+91)) then
tmp = (-60.0d0) * (x / t)
else if (x <= 2.9d+138) then
tmp = a * 120.0d0
else
tmp = (x * (-60.0d0)) / t
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.7e+91) {
tmp = -60.0 * (x / t);
} else if (x <= 2.9e+138) {
tmp = a * 120.0;
} else {
tmp = (x * -60.0) / t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= -1.7e+91: tmp = -60.0 * (x / t) elif x <= 2.9e+138: tmp = a * 120.0 else: tmp = (x * -60.0) / t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= -1.7e+91) tmp = Float64(-60.0 * Float64(x / t)); elseif (x <= 2.9e+138) tmp = Float64(a * 120.0); else tmp = Float64(Float64(x * -60.0) / t); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= -1.7e+91) tmp = -60.0 * (x / t); elseif (x <= 2.9e+138) tmp = a * 120.0; else tmp = (x * -60.0) / t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, -1.7e+91], N[(-60.0 * N[(x / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.9e+138], N[(a * 120.0), $MachinePrecision], N[(N[(x * -60.0), $MachinePrecision] / t), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.7 \cdot 10^{+91}:\\
\;\;\;\;-60 \cdot \frac{x}{t}\\
\mathbf{elif}\;x \leq 2.9 \cdot 10^{+138}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot -60}{t}\\
\end{array}
\end{array}
(FPCore (x y z t a) :precision binary64 (* a 120.0))
double code(double x, double y, double z, double t, double a) {
return a * 120.0;
}
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 = a * 120.0d0
end function
public static double code(double x, double y, double z, double t, double a) {
return a * 120.0;
}
def code(x, y, z, t, a): return a * 120.0
function code(x, y, z, t, a) return Float64(a * 120.0) end
function tmp = code(x, y, z, t, a) tmp = a * 120.0; end
code[x_, y_, z_, t_, a_] := N[(a * 120.0), $MachinePrecision]
\begin{array}{l}
\\
a \cdot 120
\end{array}
(FPCore (x y z t a) :precision binary64 (+ (/ 60.0 (/ (- z t) (- x y))) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return (60.0 / ((z - t) / (x - y))) + (a * 120.0);
}
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 = (60.0d0 / ((z - t) / (x - y))) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return (60.0 / ((z - t) / (x - y))) + (a * 120.0);
}
def code(x, y, z, t, a): return (60.0 / ((z - t) / (x - y))) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(60.0 / Float64(Float64(z - t) / Float64(x - y))) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = (60.0 / ((z - t) / (x - y))) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(60.0 / N[(N[(z - t), $MachinePrecision] / N[(x - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60}{\frac{z - t}{x - y}} + a \cdot 120
\end{array}
herbie shell --seed 2023348
(FPCore (x y z t a)
:name "Data.Colour.RGB:hslsv from colour-2.3.3, B"
:precision binary64
:herbie-target
(+ (/ 60.0 (/ (- z t) (- x y))) (* a 120.0))
(+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))