


Bits error versus x
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019022
(FPCore (x)
:name "arccos"
(* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
Time bar (total: 4.4s)Debug log
| 67.0ms | 246× | body | 80 | nan |
| 36.0ms | 256× | body | 80 | valid |
| 26.0ms | (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.0b | (/ (- 1 x) (+ 1 x)) |
| 0.0b | (sqrt (/ (- 1 x) (+ 1 x))) |
| 20× | add-sqr-sqrt |
| 19× | times-frac |
| 17× | add-cube-cbrt |
| 17× | *-un-lft-identity |
| 15× | sqrt-prod |
| 4× | associate-/r/ |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 3× | associate-/l* |
| 3× | associate-/r* |
| 2× | associate-/l/ |
| 2× | add-log-exp |
| 2× | div-inv |
| 2× | flip-+ |
| 2× | flip3-+ |
| 2× | rem-sqrt-square |
| 2× | pow1 |
| 1× | flip-- |
| 1× | div-exp |
| 1× | div-sub |
| 1× | sqrt-div |
| 1× | pow1/2 |
| 1× | flip3-- |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 27.0ms | (/ (- 1 x) (+ 1 x)) |
| 3.0ms | (sqrt (/ (- 1 x) (+ 1 x))) |
| 36.0ms | (sqrt (/ (- 1 x) (+ 1 x))) |
| 27.0ms | (/ (- 1 x) (+ 1 x)) |
| 289.0ms | (/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x))) |
| 266.0ms | (- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))))) |
| 240.0ms | (- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))))) |
| 92.0ms | (- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1)) |
| 77.0ms | (- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1)) |
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b
| 990.0ms | 8000× | body | 80 | valid |
| 815.0ms | 7987× | body | 80 | nan |