


Bits error versus x
Results
if x < -9392.422930906088 or 9865.742309267576 < x Initial program 59.2
Taylor expanded around -inf 0.3
Simplified0.0
if -9392.422930906088 < x < 9865.742309267576Initial program 0.1
rmApplied flip--0.1
Applied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2019004
(FPCore (x)
:name "Asymptote C"
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1))))
Time bar (total: 25.0s)Debug log
1 calls. Slowest were:
| 19.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 32.6b
Found 3 expressions with local error:
| 3.9b | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 0.0b | (/ (+ x 1) (- x 1)) |
| 0.0b | (/ x (+ x 1)) |
3 calls. Slowest were:
| 12.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 6.0ms | (/ (+ x 1) (- x 1)) |
| 1.0ms | (/ x (+ x 1)) |
3 calls. Slowest were:
| 58.0ms | (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))) |
| 16.0ms | (/ (+ x 1) (- x 1)) |
| 16.0ms | (/ x (+ x 1)) |
51 calls. Slowest were:
| 695.0ms | (/ (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (- x 1) (- x 1)) (- x 1))) |
| 431.0ms | (- (* x (- x 1)) (* (+ x 1) (+ x 1))) |
| 244.0ms | (- (+ (* 3 (/ 1 (pow x 3))) (+ (/ 1 (pow x 2)) (* 3 (/ 1 x))))) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 6.4b | (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x))) |
| 0.5b | (/ 1 (* x x)) |
| 0.1b | (/ (/ -3 x) (* x x)) |
| 0.0b | (- (/ -3 x) (/ 1 (* x x))) |
4 calls. Slowest were:
| 27.0ms | (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x))) |
| 8.0ms | (- (/ -3 x) (/ 1 (* x x))) |
| 6.0ms | (/ (/ -3 x) (* x x)) |
4 calls. Slowest were:
| 25.0ms | (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x))) |
| 24.0ms | (- (/ -3 x) (/ 1 (* x x))) |
| 18.0ms | (/ (/ -3 x) (* x x)) |
| 13.0ms | (/ 1 (* x x)) |
47 calls. Slowest were:
| 569.0ms | (/ (* (* (/ -3 x) (/ -3 x)) (/ -3 x)) (* (* (* x x) (* x x)) (* x x))) |
| 301.0ms | (+ (* (- (* (/ -3 x) (/ -3 x)) (* (/ 1 (* x x)) (/ 1 (* x x)))) (* x x)) (* (+ (/ -3 x) (/ 1 (* x x))) (/ -3 x))) |
| 297.0ms | (* (+ (* (/ -3 x) (/ -3 x)) (+ (* (/ 1 (* x x)) (/ 1 (* x x))) (* (/ -3 x) (/ 1 (* x x))))) (* x x)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 6.4b | (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x))) |
4 calls. Slowest were:
| 21.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 19.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 18.0ms | (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x))) |
4 calls. Slowest were:
| 86.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 69.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 60.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 13.0ms | (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x))) |
59 calls. Slowest were:
| 370.0ms | (* (+ (* (/ -3 x) (/ -3 x)) (+ (* (/ 1 (* x x)) (/ 1 (* x x))) (* (/ -3 x) (/ 1 (* x x))))) (* x x)) |
| 329.0ms | (cbrt (+ (pow (- (/ -3 x) (/ 1 (* x x))) 3) (pow (/ (/ -3 x) (* x x)) 3))) |
| 296.0ms | (cbrt (+ (pow (- (/ -3 x) (/ 1 (* x x))) 3) (pow (/ (/ -3 x) (* x x)) 3))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 18.6b | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
4 calls. Slowest were:
| 22.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 13.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 11.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
4 calls. Slowest were:
| 88.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 87.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 86.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
| 82.0ms | (cbrt (+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))) |
56 calls. Slowest were:
| 341.0ms | (cbrt (+ (* (- (* (/ -3 x) (/ -3 x)) (* (/ 1 (* x x)) (/ 1 (* x x)))) (* x x)) (* (+ (/ -3 x) (/ 1 (* x x))) (/ -3 x)))) |
| 321.0ms | (cbrt (+ (pow (- (/ -3 x) (/ 1 (* x x))) 3) (pow (/ (/ -3 x) (* x x)) 3))) |
| 302.0ms | (cbrt (+ (pow (- (/ -3 x) (/ 1 (* x x))) 3) (pow (/ (/ -3 x) (* x x)) 3))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0b
99.9% (0.0b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 31.4b