


Bits error versus x
Initial program 0.0
rmApplied add-cube-cbrt0.0
Applied fma-def0.0
rmApplied expm1-log1p-u0.0
Final simplification0.0
herbie shell --seed 2019007 +o rules:numerics
(FPCore (x)
:name "Hyperbolic secant"
(/ 2 (+ (exp x) (exp (- x)))))
Time bar (total: 6.1s)Debug log
1 calls. Slowest were:
| 4.0ms | (/ 2 (+ (exp x) (exp (- x)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.0b | (+ (exp x) (exp (- x))) |
| 0.0b | (/ 2 (+ (exp x) (exp (- x)))) |
2 calls. Slowest were:
| 4.0ms | (+ (exp x) (exp (- x))) |
| 3.0ms | (/ 2 (+ (exp x) (exp (- x)))) |
2 calls. Slowest were:
| 44.0ms | (/ 2 (+ (exp x) (exp (- x)))) |
| 25.0ms | (+ (exp x) (exp (- x))) |
16 calls. Slowest were:
| 242.0ms | (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))) |
| 72.0ms | (- (+ (* 5/24 (pow x 4)) 1) (* 1/2 (pow x 2))) |
| 26.0ms | (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (cbrt (exp x)) |
| 0.0b | (cbrt (exp x)) |
| 0.0b | (cbrt (exp x)) |
| 0.0b | (/ 2 (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (exp (- x)))) |
4 calls. Slowest were:
| 1.0ms | (cbrt (exp x)) |
| 1.0ms | (cbrt (exp x)) |
| 1.0ms | (cbrt (exp x)) |
4 calls. Slowest were:
| 453.0ms | (/ 2 (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (exp (- x)))) |
| 169.0ms | (cbrt (exp x)) |
| 122.0ms | (cbrt (exp x)) |
| 104.0ms | (cbrt (exp x)) |
24 calls. Slowest were:
| 67.0ms | (+ (* 1/3 x) (+ (* 1/18 (pow x 2)) 1)) |
| 61.0ms | (- (+ (* 5/24 (pow x 4)) 1) (* 1/2 (pow x 2))) |
| 54.0ms | (+ (* 1/3 x) (+ (* 1/18 (pow x 2)) 1)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (cbrt (exp x)) |
| 0.0b | (cbrt (exp x)) |
| 0.0b | (cbrt (exp x)) |
| 0.0b | (/ 2 (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (exp (- x)))) |
4 calls. Slowest were:
| 1.0ms | (cbrt (exp x)) |
| 1.0ms | (cbrt (exp x)) |
| 1.0ms | (cbrt (exp x)) |
4 calls. Slowest were:
| 383.0ms | (/ 2 (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (exp (- x)))) |
| 153.0ms | (cbrt (exp x)) |
| 142.0ms | (cbrt (exp x)) |
| 127.0ms | (cbrt (exp x)) |
24 calls. Slowest were:
| 90.0ms | (- (+ (* 5/24 (pow x 4)) 1) (* 1/2 (pow x 2))) |
| 68.0ms | (+ (* 1/3 x) (+ (* 1/18 (pow x 2)) 1)) |
| 68.0ms | (+ (* 1/3 x) (+ (* 1/18 (pow x 2)) 1)) |
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