



Bits error versus a




Bits error versus b
Results
| Original | 0.6 |
|---|---|
| Target | 0.0 |
| Herbie | 0.6 |
Initial program 0.6
Final simplification0.6
herbie shell --seed 2019002 +o rules:numerics
(FPCore (a b)
:name "Quotient of sum of exps"
:herbie-target
(/ 1 (+ 1 (exp (- b a))))
(/ (exp a) (+ (exp a) (exp b))))
Time bar (total: 8.9s)Debug log
1 calls. Slowest were:
| 2.0ms | (/ (exp a) (+ (exp a) (exp b))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (/ (exp a) (+ (exp a) (exp b))) |
1 calls. Slowest were:
| 12.0ms | (/ (exp a) (+ (exp a) (exp b))) |
1 calls. Slowest were:
| 44.0ms | (/ (exp a) (+ (exp a) (exp b))) |
37 calls. Slowest were:
| 244.0ms | (/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b)))) |
| 61.0ms | (+ (* (exp a) (exp a)) (- (* (exp b) (exp b)) (* (exp a) (exp b)))) |
| 36.0ms | (- (+ (* 1/4 a) 1/2) (* 1/4 b)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.3b | (* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b))))) |
| 0.0b | (/ (exp a) (+ (exp a) (exp b))) |
| 0.0b | (/ (exp a) (+ (exp a) (exp b))) |
3 calls. Slowest were:
| 27.0ms | (* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b))))) |
| 13.0ms | (/ (exp a) (+ (exp a) (exp b))) |
| 12.0ms | (/ (exp a) (+ (exp a) (exp b))) |
3 calls. Slowest were:
| 62.0ms | (/ (exp a) (+ (exp a) (exp b))) |
| 61.0ms | (* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b))))) |
| 40.0ms | (/ (exp a) (+ (exp a) (exp b))) |
134 calls. Slowest were:
| 284.0ms | (/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b)))) |
| 278.0ms | (/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b)))) |
| 218.0ms | (* (* (* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b))))) (sqrt (/ (exp a) (+ (exp a) (exp b))))) (* (* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b))))) (sqrt (/ (exp a) (+ (exp a) (exp b)))))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.6b against oracle of 0.6b and baseline of 0.6b