


Bits error versus x
Results
if x < -292.47442415369994 or 484.8501943030043 < x Initial program 29.3
Taylor expanded around inf 0.8
Simplified0.8
rmApplied associate-/r*0.1
if -292.47442415369994 < x < 484.8501943030043Initial program 0.0
Final simplification0.1
herbie shell --seed 2019004 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 31.8s)Debug log
1 calls. Slowest were:
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 15.1b
Found 3 expressions with local error:
| 3.8b | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 0.0b | (/ 1 (- x 1)) |
| 0.0b | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 12.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 2.0ms | (/ 1 (- x 1)) |
| 2.0ms | (/ 1 (+ x 1)) |
3 calls. Slowest were:
| 41.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 10.0ms | (/ 1 (- x 1)) |
| 10.0ms | (/ 1 (+ x 1)) |
108 calls. Slowest were:
| 1.1s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.1s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.0s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.5b
Found 4 expressions with local error:
| 0.5b | (/ -2 (* x x)) |
| 0.3b | (/ -2 (pow x 4)) |
| 0.2b | (/ -2 (pow x 6)) |
| 0.0b | (+ (/ -2 (pow x 4)) (/ -2 (* x x))) |
4 calls. Slowest were:
| 5.0ms | (+ (/ -2 (pow x 4)) (/ -2 (* x x))) |
| 0.0ms | (/ -2 (pow x 4)) |
| 0.0ms | (/ -2 (pow x 6)) |
4 calls. Slowest were:
| 54.0ms | (+ (/ -2 (pow x 4)) (/ -2 (* x x))) |
| 22.0ms | (/ -2 (pow x 6)) |
| 18.0ms | (/ -2 (* x x)) |
| 15.0ms | (/ -2 (pow x 4)) |
25 calls. Slowest were:
| 164.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2))))) |
| 145.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2))))) |
| 113.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2))))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (/ -2 (pow x 4)) |
| 0.2b | (/ -2 (pow x 6)) |
| 0.1b | (/ (/ -2 x) x) |
| 0.0b | (+ (/ -2 (pow x 4)) (/ (/ -2 x) x)) |
4 calls. Slowest were:
| 7.0ms | (+ (/ -2 (pow x 4)) (/ (/ -2 x) x)) |
| 2.0ms | (/ (/ -2 x) x) |
| 1.0ms | (/ -2 (pow x 4)) |
4 calls. Slowest were:
| 39.0ms | (+ (/ -2 (pow x 4)) (/ (/ -2 x) x)) |
| 26.0ms | (/ -2 (pow x 6)) |
| 19.0ms | (/ -2 (pow x 4)) |
| 10.0ms | (/ (/ -2 x) x) |
26 calls. Slowest were:
| 145.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2))))) |
| 134.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2))))) |
| 121.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2))))) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0b
Found 4 expressions with local error:
| 28.4b | (/ (fma (/ -2 x) (pow x 4) (* -2 x)) (pow x 5)) |
| 2.3b | (fma (/ -2 x) (pow x 4) (* -2 x)) |
| 0.2b | (/ -2 (pow x 6)) |
| 0.0b | (+ (/ -2 (pow x 6)) (/ (fma (/ -2 x) (pow x 4) (* -2 x)) (pow x 5))) |
4 calls. Slowest were:
| 11.0ms | (+ (/ -2 (pow x 6)) (/ (fma (/ -2 x) (pow x 4) (* -2 x)) (pow x 5))) |
| 7.0ms | (/ (fma (/ -2 x) (pow x 4) (* -2 x)) (pow x 5)) |
| 1.0ms | (/ -2 (pow x 6)) |
4 calls. Slowest were:
| 130.0ms | (/ (fma (/ -2 x) (pow x 4) (* -2 x)) (pow x 5)) |
| 73.0ms | (fma (/ -2 x) (pow x 4) (* -2 x)) |
| 47.0ms | (+ (/ -2 (pow x 6)) (/ (fma (/ -2 x) (pow x 4) (* -2 x)) (pow x 5))) |
| 23.0ms | (/ -2 (pow x 6)) |
47 calls. Slowest were:
| 1.0s | (- (+ (* 2 x) (* 2 (pow x 3)))) |
| 955.0ms | (- (+ (* 2 x) (* 2 (pow x 3)))) |
| 903.0ms | (- (+ (* 2 x) (* 2 (pow x 3)))) |
4 alts after pruning (1 fresh and 3 done)
Merged error: 0b
99.7% (0.0b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 14.6b