(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) (- z a))))
↓
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* y (- z t)) (- z a))))
(if (or (<= t_1 (- INFINITY)) (not (<= t_1 2e+115)))
(+ x (/ y (/ (- z a) (- z t))))
(+ t_1 x))))
double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / (z - a));
}
↓
double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (z - a);
double tmp;
if ((t_1 <= -((double) INFINITY)) || !(t_1 <= 2e+115)) {
tmp = x + (y / ((z - a) / (z - t)));
} else {
tmp = t_1 + x;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / (z - a));
}
↓
public static double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (z - a);
double tmp;
if ((t_1 <= -Double.POSITIVE_INFINITY) || !(t_1 <= 2e+115)) {
tmp = x + (y / ((z - a) / (z - t)));
} else {
tmp = t_1 + x;
}
return tmp;
}
def code(x, y, z, t, a):
return x + ((y * (z - t)) / (z - a))
↓
def code(x, y, z, t, a):
t_1 = (y * (z - t)) / (z - a)
tmp = 0
if (t_1 <= -math.inf) or not (t_1 <= 2e+115):
tmp = x + (y / ((z - a) / (z - t)))
else:
tmp = t_1 + x
return tmp
function code(x, y, z, t, a)
return Float64(x + Float64(Float64(y * Float64(z - t)) / Float64(z - a)))
end
↓
function code(x, y, z, t, a)
t_1 = Float64(Float64(y * Float64(z - t)) / Float64(z - a))
tmp = 0.0
if ((t_1 <= Float64(-Inf)) || !(t_1 <= 2e+115))
tmp = Float64(x + Float64(y / Float64(Float64(z - a) / Float64(z - t))));
else
tmp = Float64(t_1 + x);
end
return tmp
end
function tmp = code(x, y, z, t, a)
tmp = x + ((y * (z - t)) / (z - a));
end
↓
function tmp_2 = code(x, y, z, t, a)
t_1 = (y * (z - t)) / (z - a);
tmp = 0.0;
if ((t_1 <= -Inf) || ~((t_1 <= 2e+115)))
tmp = x + (y / ((z - a) / (z - t)));
else
tmp = t_1 + x;
end
tmp_2 = tmp;
end
herbie shell --seed 2023125
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, A"
:precision binary64
:herbie-target
(+ x (/ y (/ (- z a) (- z t))))
(+ x (/ (* y (- z t)) (- z a))))