


Bits error versus x
Results
Initial program 0.0
rmApplied flip-+0.0
Applied associate-/r/0.0
rmApplied associate-*l/0.0
Final simplification0.0
herbie shell --seed 2019004
(FPCore (x)
:name "arccos"
(* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
Time bar (total: 22.6s)Debug log
1 calls. Slowest were:
| 15.0ms | (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.0b | (/ (- 1 x) (+ 1 x)) |
| 0.0b | (atan (sqrt (/ (- 1 x) (+ 1 x)))) |
| 0.0b | (sqrt (/ (- 1 x) (+ 1 x))) |
3 calls. Slowest were:
| 6.0ms | (/ (- 1 x) (+ 1 x)) |
| 1.0ms | (sqrt (/ (- 1 x) (+ 1 x))) |
| 1.0ms | (atan (sqrt (/ (- 1 x) (+ 1 x)))) |
3 calls. Slowest were:
| 25.0ms | (sqrt (/ (- 1 x) (+ 1 x))) |
| 18.0ms | (/ (- 1 x) (+ 1 x)) |
| 5.0ms | (atan (sqrt (/ (- 1 x) (+ 1 x)))) |
57 calls. Slowest were:
| 273.0ms | (- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))))) |
| 251.0ms | (- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))))) |
| 233.0ms | (/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x)) |
| 0.0b | (atan (sqrt (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x)))) |
| 0.0b | (/ (- 1 x) (- (* 1 1) (* x x))) |
| 0.0b | (sqrt (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x))) |
4 calls. Slowest were:
| 8.0ms | (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x)) |
| 5.0ms | (/ (- 1 x) (- (* 1 1) (* x x))) |
| 2.0ms | (sqrt (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x))) |
4 calls. Slowest were:
| 46.0ms | (sqrt (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x))) |
| 25.0ms | (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x)) |
| 21.0ms | (/ (- 1 x) (- (* 1 1) (* x x))) |
| 6.0ms | (atan (sqrt (* (/ (- 1 x) (- (* 1 1) (* x x))) (- 1 x)))) |
91 calls. Slowest were:
| 640.0ms | (* (* (* (/ (- 1 x) (- (* 1 1) (* x x))) (/ (- 1 x) (- (* 1 1) (* x x)))) (/ (- 1 x) (- (* 1 1) (* x x)))) (* (* (- 1 x) (- 1 x)) (- 1 x))) |
| 496.0ms | (* (- x) (/ (- 1 x) (- (* 1 1) (* x x)))) |
| 421.0ms | (* (- x) (/ (- 1 x) (- (* 1 1) (* x x)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (- 1 x) (- 1 x)) |
| 0.0b | (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x))) |
| 0.0b | (atan (sqrt (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x))))) |
| 0.0b | (sqrt (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x)))) |
4 calls. Slowest were:
| 13.0ms | (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x))) |
| 5.0ms | (sqrt (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x)))) |
| 5.0ms | (* (- 1 x) (- 1 x)) |
4 calls. Slowest were:
| 38.0ms | (sqrt (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x)))) |
| 17.0ms | (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x))) |
| 7.0ms | (* (- 1 x) (- 1 x)) |
| 6.0ms | (atan (sqrt (/ (* (- 1 x) (- 1 x)) (- (* 1 1) (* x x))))) |
79 calls. Slowest were:
| 864.0ms | (sqrt (/ (* (- 1 x) (- 1 x)) (- (pow (* 1 1) 3) (pow (* x x) 3)))) |
| 660.0ms | (* (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (- 1 x) (- 1 x)) (- 1 x))) |
| 603.0ms | (/ (* (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (- 1 x) (- 1 x)) (- 1 x))) (* (* (- (* 1 1) (* x x)) (- (* 1 1) (* x x))) (- (* 1 1) (* x x)))) |
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b