\left(\left(\left(\left(x \cdot \log y + z\right) + t\right) + a\right) + \left(b - 0.5\right) \cdot \log c\right) + y \cdot i
y \cdot i + \left(\log c \cdot \left(b - 0.5\right) + \left(a + \left(t + \left(z + \left(x \cdot \left(2 \cdot \log \left(\sqrt[3]{y}\right)\right) + \log y \cdot \left(x \cdot 0.3333333333333333\right)\right)\right)\right)\right)\right)(FPCore (x y z t a b c i) :precision binary64 (+ (+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c))) (* y i)))
(FPCore (x y z t a b c i)
:precision binary64
(+
(* y i)
(+
(* (log c) (- b 0.5))
(+
a
(+
t
(+
z
(+
(* x (* 2.0 (log (cbrt y))))
(* (log y) (* x 0.3333333333333333)))))))))double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (((((x * log(y)) + z) + t) + a) + ((b - 0.5) * log(c))) + (y * i);
}
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (y * i) + ((log(c) * (b - 0.5)) + (a + (t + (z + ((x * (2.0 * log(cbrt(y)))) + (log(y) * (x * 0.3333333333333333)))))));
}











Bits error versus x











Bits error versus y











Bits error versus z











Bits error versus t











Bits error versus a











Bits error versus b











Bits error versus c











Bits error versus i
Results
| Alternative 1 | |
|---|---|
| Error | 0.1 |
| Cost | 14016 |
| Alternative 2 | |
|---|---|
| Error | 0.3 |
| Cost | 14216 |
| Alternative 3 | |
|---|---|
| Error | 9.3 |
| Cost | 7681 |
| Alternative 4 | |
|---|---|
| Error | 37.0 |
| Cost | 8132 |
| Alternative 5 | |
|---|---|
| Error | 37.4 |
| Cost | 1925 |
| Alternative 6 | |
|---|---|
| Error | 37.4 |
| Cost | 648 |
| Alternative 7 | |
|---|---|
| Error | 44.8 |
| Cost | 320 |
| Alternative 8 | |
|---|---|
| Error | 62.4 |
| Cost | 64 |

Initial program 0.1
rmApplied add-cube-cbrt_binary64_25000.1
Applied log-prod_binary64_25510.1
Applied distribute-rgt-in_binary64_24150.1
Simplified0.1
Simplified0.1
rmApplied pow1/3_binary64_25470.1
Applied log-pow_binary64_25540.1
Applied associate-*r*_binary64_24050.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2021044
(FPCore (x y z t a b c i)
:name "Numeric.SpecFunctions:logBeta from math-functions-0.1.5.2, B"
:precision binary64
(+ (+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c))) (* y i)))