


Bits error versus x
Results
Initial program 31.0
Initial simplification31.0
Taylor expanded around inf 0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2018362
(FPCore (x)
:name "Hyperbolic arc-cosine"
(log (+ x (sqrt (- (* x x) 1)))))
Time bar (total: 4.8s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 31.0b
Found 3 expressions with local error:
| 29.9b | (sqrt (+ -1 (* x x))) |
| 0.0b | (+ x (sqrt (+ -1 (* x x)))) |
| 0.0b | (log (+ x (sqrt (+ -1 (* x x))))) |
3 calls. Slowest were:
| 2.0ms | (log (+ x (sqrt (+ -1 (* x x))))) |
| 2.0ms | (+ x (sqrt (+ -1 (* x x)))) |
| 1.0ms | (sqrt (+ -1 (* x x))) |
3 calls. Slowest were:
| 110.0ms | (log (+ x (sqrt (+ -1 (* x x))))) |
| 34.0ms | (+ x (sqrt (+ -1 (* x x)))) |
| 34.0ms | (sqrt (+ -1 (* x x))) |
21 calls. Slowest were:
| 371.0ms | (- (+ (* 1/2 (/ (pow x 2) (sqrt -1))) (sqrt -1)) (* 1/8 (/ (pow x 4) (pow (sqrt -1) 3)))) |
| 348.0ms | (sqrt (- (* -1 -1) (* (* x x) (* x x)))) |
| 325.0ms | (+ (log -1/2) (+ (log (/ -1 x)) (+ (* 3/32 (/ 1 (pow x 4))) (* 1/4 (/ 1 (pow x 2)))))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 1 expressions with local error:
| 0.1b | (/ (/ 1/8 x) (* x x)) |
1 calls. Slowest were:
| 6.0ms | (/ (/ 1/8 x) (* x x)) |
1 calls. Slowest were:
| 28.0ms | (/ (/ 1/8 x) (* x x)) |
15 calls. Slowest were:
| 716.0ms | (/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x))) |
| 30.0ms | (- (log (/ 1/8 x)) (log (* x x))) |
| 11.0ms | (/ (* (cbrt (/ 1/8 x)) (cbrt (/ 1/8 x))) x) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 0.2b