\[x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
\]
↓
\[\begin{array}{l}
\mathbf{if}\;z \leq -6.5 \cdot 10^{+122} \lor \neg \left(z \leq 3.1 \cdot 10^{+133}\right):\\
\;\;\;\;x \cdot x - z \cdot \left(z \cdot \left(4 \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot x + \left(4 \cdot y\right) \cdot \left(t - z \cdot z\right)\\
\end{array}
\]
(FPCore (x y z t) :precision binary64 (- (* x x) (* (* y 4.0) (- (* z z) t))))
↓
(FPCore (x y z t)
:precision binary64
(if (or (<= z -6.5e+122) (not (<= z 3.1e+133)))
(- (* x x) (* z (* z (* 4.0 y))))
(+ (* x x) (* (* 4.0 y) (- t (* z z))))))
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 = (x * x) - ((y * 4.0d0) * ((z * z) - 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
real(8) :: tmp
if ((z <= (-6.5d+122)) .or. (.not. (z <= 3.1d+133))) then
tmp = (x * x) - (z * (z * (4.0d0 * y)))
else
tmp = (x * x) + ((4.0d0 * y) * (t - (z * z)))
end if
code = tmp
end function
herbie shell --seed 2023151
(FPCore (x y z t)
:name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1, B"
:precision binary64
:herbie-target
(- (* x x) (* 4.0 (* y (- (* z z) t))))
(- (* x x) (* (* y 4.0) (- (* z z) t))))