1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}
1 - \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\frac{y - z}{\frac{\sqrt[3]{x}}{\left(y - t\right) + t \cdot 0}}}
(FPCore (x y z t) :precision binary64 (- 1.0 (/ x (* (- y z) (- y t)))))
(FPCore (x y z t) :precision binary64 (- 1.0 (/ (* (cbrt x) (cbrt x)) (/ (- y z) (/ (cbrt x) (+ (- y t) (* t 0.0)))))))
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 - ((cbrt(x) * cbrt(x)) / ((y - z) / (cbrt(x) / ((y - t) + (t * 0.0)))));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
Initial program 0.7
Applied *-un-lft-identity_binary640.7
Applied add-cube-cbrt_binary640.8
Applied prod-diff_binary640.8
Applied distribute-rgt-in_binary640.8
Applied add-cube-cbrt_binary641.0
Applied associate-/l*_binary641.0
Simplified0.7
Final simplification0.7
herbie shell --seed 2022077
(FPCore (x y z t)
:name "Data.Random.Distribution.Triangular:triangularCDF from random-fu-0.2.6.2, A"
:precision binary64
(- 1.0 (/ x (* (- y z) (- y t)))))