\frac{x \cdot x - 3}{6}\frac{x \cdot x}{6} + -0.5(FPCore (x) :precision binary64 (/ (- (* x x) 3.0) 6.0))
(FPCore (x) :precision binary64 (+ (/ (* x x) 6.0) -0.5))
double code(double x) {
return ((x * x) - 3.0) / 6.0;
}
double code(double x) {
return ((x * x) / 6.0) + -0.5;
}










Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Error | 0.1 |
| Cost | 448 |
| Alternative 2 | |
|---|---|
| Error | 0.2 |
| Cost | 448 |
| Alternative 3 | |
|---|---|
| Error | 1.1 |
| Cost | 769 |
| Alternative 4 | |
|---|---|
| Error | 22.3 |
| Cost | 64 |
| Alternative 5 | |
|---|---|
| Error | 55.9 |
| Cost | 64 |
| Alternative 6 | |
|---|---|
| Error | 62.2 |
| Cost | 64 |
| Alternative 7 | |
|---|---|
| Error | 62.2 |
| Cost | 64 |

Initial program 0.1
rmApplied div-sub_binary64_28110.1
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2021044
(FPCore (x)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, H"
:precision binary64
(/ (- (* x x) 3.0) 6.0))