0.954929658551372 \cdot x - 0.12900613773279798 \cdot \left(\left(x \cdot x\right) \cdot x\right)
x \cdot 0.954929658551372 - 0.12900613773279798 \cdot {x}^{3}(FPCore (x) :precision binary64 (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))
(FPCore (x) :precision binary64 (- (* x 0.954929658551372) (* 0.12900613773279798 (pow x 3.0))))
double code(double x) {
return (0.954929658551372 * x) - (0.12900613773279798 * ((x * x) * x));
}
double code(double x) {
return (x * 0.954929658551372) - (0.12900613773279798 * pow(x, 3.0));
}









Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Error | 0.1 |
| Cost | 704 |
| Alternative 2 | |
|---|---|
| Error | 0.1 |
| Cost | 576 |
| Alternative 3 | |
|---|---|
| Error | 1.2 |
| Cost | 776 |
| Alternative 4 | |
|---|---|
| Error | 16.7 |
| Cost | 192 |
| Alternative 5 | |
|---|---|
| Error | 61.1 |
| Cost | 64 |
| Alternative 6 | |
|---|---|
| Error | 61.7 |
| Cost | 64 |

Initial program 0.1
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2021044
(FPCore (x)
:name "Rosa's Benchmark"
:precision binary64
(- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))