(FPCore (x y z) :precision binary64 (/ (* x (- y z)) y))
↓
(FPCore (x y z)
:precision binary64
(let* ((t_0 (- x (* z (/ x y)))))
(if (<= z -1e+90)
t_0
(if (<= z 4e-146)
(* x (- 1.0 (/ z y)))
(if (<= z 2.1e+274) t_0 (/ (- x) (/ y z)))))))
double code(double x, double y, double z) {
double t_0 = x - (z * (x / y));
double tmp;
if (z <= -1e+90) {
tmp = t_0;
} else if (z <= 4e-146) {
tmp = x * (1.0 - (z / y));
} else if (z <= 2.1e+274) {
tmp = t_0;
} else {
tmp = -x / (y / z);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x * (y - z)) / y
end function
↓
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = x - (z * (x / y))
if (z <= (-1d+90)) then
tmp = t_0
else if (z <= 4d-146) then
tmp = x * (1.0d0 - (z / y))
else if (z <= 2.1d+274) then
tmp = t_0
else
tmp = -x / (y / z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return (x * (y - z)) / y;
}
↓
public static double code(double x, double y, double z) {
double t_0 = x - (z * (x / y));
double tmp;
if (z <= -1e+90) {
tmp = t_0;
} else if (z <= 4e-146) {
tmp = x * (1.0 - (z / y));
} else if (z <= 2.1e+274) {
tmp = t_0;
} else {
tmp = -x / (y / z);
}
return tmp;
}
def code(x, y, z):
return (x * (y - z)) / y
↓
def code(x, y, z):
t_0 = x - (z * (x / y))
tmp = 0
if z <= -1e+90:
tmp = t_0
elif z <= 4e-146:
tmp = x * (1.0 - (z / y))
elif z <= 2.1e+274:
tmp = t_0
else:
tmp = -x / (y / z)
return tmp
function code(x, y, z)
return Float64(Float64(x * Float64(y - z)) / y)
end
↓
function code(x, y, z)
t_0 = Float64(x - Float64(z * Float64(x / y)))
tmp = 0.0
if (z <= -1e+90)
tmp = t_0;
elseif (z <= 4e-146)
tmp = Float64(x * Float64(1.0 - Float64(z / y)));
elseif (z <= 2.1e+274)
tmp = t_0;
else
tmp = Float64(Float64(-x) / Float64(y / z));
end
return tmp
end
function tmp = code(x, y, z)
tmp = (x * (y - z)) / y;
end
↓
function tmp_2 = code(x, y, z)
t_0 = x - (z * (x / y));
tmp = 0.0;
if (z <= -1e+90)
tmp = t_0;
elseif (z <= 4e-146)
tmp = x * (1.0 - (z / y));
elseif (z <= 2.1e+274)
tmp = t_0;
else
tmp = -x / (y / z);
end
tmp_2 = tmp;
end
herbie shell --seed 2022318
(FPCore (x y z)
:name "Diagrams.Backend.Cairo.Internal:setTexture from diagrams-cairo-1.3.0.3"
:precision binary64
:herbie-target
(if (< z -2.060202331921739e+104) (- x (/ (* z x) y)) (if (< z 1.6939766013828526e+213) (/ x (/ y (- y z))) (* (- y z) (/ x y))))
(/ (* x (- y z)) y))