


Bits error versus x
Results
Initial program 0.0
Initial simplification0.0
Final simplification0.0
herbie shell --seed 2018365
(FPCore (x)
:name "Hyperbolic arc-(co)secant"
(log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))))
Time bar (total: 18.9s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.0b | (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) |
| 0.0b | (/ (sqrt (- 1 (* x x))) x) |
| 0.0b | (sqrt (- 1 (* x x))) |
| 0.0b | (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
4 calls. Slowest were:
| 4.0ms | (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) |
| 3.0ms | (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 3.0ms | (/ (sqrt (- 1 (* x x))) x) |
4 calls. Slowest were:
| 111.0ms | (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 58.0ms | (/ (sqrt (- 1 (* x x))) x) |
| 49.0ms | (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)) |
| 26.0ms | (sqrt (- 1 (* x x))) |
47 calls. Slowest were:
| 547.0ms | (- (+ (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))) (sqrt -1)) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))) |
| 521.0ms | (- (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))) (sqrt -1))) |
| 362.0ms | (- (+ (log (sqrt -1)) (/ 1 (* x (sqrt -1)))) (* 1/6 (/ 1 (* (pow x 3) (pow (sqrt -1) 3))))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.6b | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 0.6b | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 0.6b | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 0.5b | (* (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))) |
4 calls. Slowest were:
| 25.0ms | (* (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))) |
| 5.0ms | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 5.0ms | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
4 calls. Slowest were:
| 165.0ms | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 149.0ms | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
| 141.0ms | (* (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))) |
| 128.0ms | (cbrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))) |
99 calls. Slowest were:
| 491.0ms | (- (pow -1 1/3) (+ (* 2/3 (* (/ 1 (pow x 2)) (pow -1 1/3))) (+ (* 2/3 (* (/ (sqrt -1) x) (pow -1 1/3))) (* 4/9 (* (/ (pow (sqrt -1) 2) (pow x 2)) (pow -1 1/3)))))) |
| 412.0ms | (+ (* 1/3 (* (/ 1 x) (pow (/ 1 (pow (sqrt -1) 2)) 1/3))) (+ (* 1/18 (* (/ 1 (pow x 2)) (pow (/ 1 (pow (sqrt -1) 5)) 1/3))) (pow (sqrt -1) 1/3))) |
| 396.0ms | (+ (* 1/3 (* (/ 1 x) (pow (/ 1 (pow (sqrt -1) 2)) 1/3))) (+ (* 1/18 (* (/ 1 (pow x 2)) (pow (/ 1 (pow (sqrt -1) 5)) 1/3))) (pow (sqrt -1) 1/3))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b