\frac{x + 16}{116}\frac{x + 16}{116}(FPCore (x) :precision binary64 (/ (+ x 16.0) 116.0))
(FPCore (x) :precision binary64 (/ (+ x 16.0) 116.0))
double code(double x) {
return (x + 16.0) / 116.0;
}
double code(double x) {
return (x + 16.0) / 116.0;
}






Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Error | 1.3 |
| Cost | 520 |
| Alternative 2 | |
|---|---|
| Error | 31.5 |
| Cost | 64 |
| Alternative 3 | |
|---|---|
| Error | 57.7 |
| Cost | 64 |

Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2021044
(FPCore (x)
:name "Data.Colour.CIE:cieLAB from colour-2.3.3, B"
:precision binary64
(/ (+ x 16.0) 116.0))