



Bits error versus x
Results
| Original | 15.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.0 |
if x < -2.56652978082143e+50 or 120872261.89181314 < x Initial program 33.7
Initial simplification33.7
Taylor expanded around inf 0.0
if -2.56652978082143e+50 < x < 120872261.89181314Initial program 0.0
Initial simplification0.0
Final simplification0.0
herbie shell --seed 2018360
(FPCore (x)
:name "x / (x^2 + 1)"
:herbie-target
(/ 1 (+ x (/ 1 x)))
(/ x (+ (* x x) 1)))
Time bar (total: 4.2s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 14.5b
Found 1 expressions with local error:
| 14.5b | (/ x (+ (* x x) 1)) |
1 calls. Slowest were:
| 3.0ms | (/ x (+ (* x x) 1)) |
1 calls. Slowest were:
| 29.0ms | (/ x (+ (* x x) 1)) |
8 calls. Slowest were:
| 218.0ms | (+ (* (* x x) (* x x)) (- (* 1 1) (* (* x x) 1))) |
| 48.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 30.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 1 expressions with local error:
| 18.2b | (- (+ x (pow x 5)) (pow x 3)) |
1 calls. Slowest were:
| 6.0ms | (- (+ x (pow x 5)) (pow x 3)) |
1 calls. Slowest were:
| 20.0ms | (- (+ x (pow x 5)) (pow x 3)) |
7 calls. Slowest were:
| 50.0ms | (/ (exp (+ x (pow x 5))) (exp (pow x 3))) |
| 33.0ms | (- (+ x (pow x 5)) (pow x 3)) |
| 25.0ms | (- (+ x (pow x 5)) (pow x 3)) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 3 expressions with local error:
| 22.3b | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 0.2b | (/ 1 (pow x 3)) |
| 0.1b | (/ 1 (pow x 5)) |
3 calls. Slowest were:
| 29.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 1.0ms | (/ 1 (pow x 5)) |
| 1.0ms | (/ 1 (pow x 3)) |
3 calls. Slowest were:
| 25.0ms | (/ 1 (pow x 5)) |
| 25.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 24.0ms | (/ 1 (pow x 3)) |
39 calls. Slowest were:
| 256.0ms | (- (* (+ (pow (/ 1 (pow x 5)) 3) (pow (/ 1 x) 3)) (pow x 3)) (* (+ (* (/ 1 (pow x 5)) (/ 1 (pow x 5))) (- (* (/ 1 x) (/ 1 x)) (* (/ 1 (pow x 5)) (/ 1 x)))) 1)) |
| 235.0ms | (- (* (+ (* 1 x) (* (pow x 5) 1)) (pow x 3)) (* (* (pow x 5) x) 1)) |
| 218.0ms | (- (* (- (* (/ 1 (pow x 5)) (/ 1 (pow x 5))) (* (/ 1 x) (/ 1 x))) (pow x 3)) (* (- (/ 1 (pow x 5)) (/ 1 x)) 1)) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
99.9% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 15.1b