\frac{\left(-t1\right) \cdot v}{\left(t1 + u\right) \cdot \left(t1 + u\right)}\frac{\frac{v}{u + t1}}{-1 - \frac{u}{t1}}(FPCore (u v t1) :precision binary64 (/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))
(FPCore (u v t1) :precision binary64 (/ (/ v (+ u t1)) (- -1.0 (/ u t1))))
double code(double u, double v, double t1) {
return (-t1 * v) / ((t1 + u) * (t1 + u));
}
double code(double u, double v, double t1) {
return (v / (u + t1)) / (-1.0 - (u / t1));
}











Bits error versus u











Bits error versus v











Bits error versus t1
Results
| Alternative 1 | |
|---|---|
| Error | 3.3 |
| Cost | 704 |
| Alternative 2 | |
|---|---|
| Error | 14.2 |
| Cost | 904 |
| Alternative 3 | |
|---|---|
| Error | 14.1 |
| Cost | 840 |
| Alternative 4 | |
|---|---|
| Error | 14.0 |
| Cost | 840 |
| Alternative 5 | |
|---|---|
| Error | 21.6 |
| Cost | 776 |
| Alternative 6 | |
|---|---|
| Error | 21.3 |
| Cost | 898 |
| Alternative 7 | |
|---|---|
| Error | 39.6 |
| Cost | 64 |
| Alternative 8 | |
|---|---|
| Error | 61.8 |
| Cost | 64 |

Initial program 18.2
Simplified1.3
Simplified1.3
Final simplification1.3
herbie shell --seed 2021044
(FPCore (u v t1)
:name "Rosa's DopplerBench"
:precision binary64
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))