1 - \frac{x}{\left(y - z\right) \cdot \left(y - t\right)}1 - \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{y - z} \cdot \frac{\sqrt[3]{x}}{y - t}(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)))))
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)));
}










Bits error versus x










Bits error versus y










Bits error versus z










Bits error versus t
Results
| Alternative 1 | |
|---|---|
| Error | 1.2 |
| Cost | 704 |
| Alternative 2 | |
|---|---|
| Error | 5.7 |
| Cost | 904 |
| Alternative 3 | |
|---|---|
| Error | 5.2 |
| Cost | 904 |
| Alternative 4 | |
|---|---|
| Error | 5.1 |
| Cost | 904 |
| Alternative 5 | |
|---|---|
| Error | 7.9 |
| Cost | 1218 |
| Alternative 6 | |
|---|---|
| Error | 10.0 |
| Cost | 1090 |
| Alternative 7 | |
|---|---|
| Error | 13.6 |
| Cost | 64 |

Initial program 0.7
rmApplied add-cube-cbrt_binary64_76150.9
Applied times-frac_binary64_75860.7
Simplified0.7
Final simplification0.7
herbie shell --seed 2021044
(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)))))