



Bits error versus x
| Original | 14.6 |
|---|---|
| Target | 0.1 |
| Herbie | 0.0 |
if x < -9674.58340102956 or 603.7294633772253 < x Initial program 29.7
Simplified29.7
Taylor expanded around -inf 0.0
if -9674.58340102956 < x < 603.7294633772253Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019002 +o rules:numerics
(FPCore (x)
:name "x / (x^2 + 1)"
:herbie-target
(/ 1 (+ x (/ 1 x)))
(/ x (+ (* x x) 1)))
Time bar (total: 10.5s)Debug log
1 calls. Slowest were:
| 2.0ms | (/ x (+ (* x x) 1)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 13.5b
Found 1 expressions with local error:
| 13.5b | (/ x (fma x x 1)) |
1 calls. Slowest were:
| 1.0ms | (/ x (fma x x 1)) |
1 calls. Slowest were:
| 22.0ms | (/ x (fma x x 1)) |
6 calls. Slowest were:
| 60.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 55.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 47.0ms | (- (+ x (pow x 5)) (pow x 3)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 21.2b | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 0.5b | (/ 1 (pow x 3)) |
| 0.0b | (/ 1 (pow x 5)) |
| 0.0b | (+ (/ 1 (pow x 5)) (/ 1 x)) |
4 calls. Slowest were:
| 34.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 9.0ms | (+ (/ 1 (pow x 5)) (/ 1 x)) |
| 1.0ms | (/ 1 (pow x 3)) |
4 calls. Slowest were:
| 31.0ms | (+ (/ 1 (pow x 5)) (/ 1 x)) |
| 27.0ms | (/ 1 (pow x 5)) |
| 26.0ms | (- (+ (/ 1 (pow x 5)) (/ 1 x)) (/ 1 (pow x 3))) |
| 20.0ms | (/ 1 (pow x 3)) |
109 calls. Slowest were:
| 455.0ms | (* (- (/ 1 (pow x 5)) (/ 1 x)) (pow x 3)) |
| 412.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)) |
| 294.0ms | (- (* (- (* (/ 1 (pow x 5)) (/ 1 (pow x 5))) (* (/ 1 x) (/ 1 x))) (pow x 3)) (* (- (/ 1 (pow x 5)) (/ 1 x)) 1)) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
100% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 14.6b