


Bits error versus a



Bits error versus c
Initial program 34.2
Taylor expanded around -inf 34.2
Simplified34.2
rmApplied add-cube-cbrt34.2
Applied associate-/r*34.2
rmApplied add-cube-cbrt34.2
rmApplied add-sqr-sqrt34.2
Applied cbrt-prod34.2
Final simplification34.2
herbie shell --seed 2019005 +o rules:numerics
(FPCore (a c)
:name "Random Jason Timeout Test 004"
(fmod (cosh c) (log1p a)))
Time bar (total: 29.5s)Debug log
1 calls. Slowest were:
| 13.0ms | (fmod (cosh c) (log1p a)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 36.1b
Found 2 expressions with local error:
| 40.7b | (fmod (cosh c) (log1p a)) |
| 0.0b | (cosh c) |
2 calls. Slowest were:
| 1.0ms | (fmod (cosh c) (log1p a)) |
| 1.0ms | (cosh c) |
2 calls. Slowest were:
| 64.0ms | (cosh c) |
| 15.0ms | (fmod (cosh c) (log1p a)) |
6 calls. Slowest were:
| 213.0ms | (* 1/2 (+ (exp c) (exp (- c)))) |
| 40.0ms | (* 1/2 (+ (exp (* -1 c)) (exp c))) |
| 36.0ms | (+ (* 1/2 (pow c 2)) (+ (* 1/24 (pow c 4)) 1)) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 35.9b
Found 3 expressions with local error:
| 40.7b | (fmod (fma 1/2 (exp c) (/ 1/2 (exp c))) (log1p a)) |
| 0.0b | (/ 1/2 (exp c)) |
| 0.0b | (fma 1/2 (exp c) (/ 1/2 (exp c))) |
3 calls. Slowest were:
| 1.0ms | (/ 1/2 (exp c)) |
| 0.0ms | (fma 1/2 (exp c) (/ 1/2 (exp c))) |
| 0.0ms | (fmod (fma 1/2 (exp c) (/ 1/2 (exp c))) (log1p a)) |
3 calls. Slowest were:
| 55.0ms | (fma 1/2 (exp c) (/ 1/2 (exp c))) |
| 12.0ms | (/ 1/2 (exp c)) |
| 3.0ms | (fmod (fma 1/2 (exp c) (/ 1/2 (exp c))) (log1p a)) |
12 calls. Slowest were:
| 107.0ms | (- (+ (* 1/4 (pow c 2)) 1/2) (* 1/2 c)) |
| 35.0ms | (+ (* 1/2 (exp c)) (* 1/2 (/ 1 (exp c)))) |
| 23.0ms | (+ (* 1/2 (exp c)) (* 1/2 (/ 1 (exp c)))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 35.8b
Found 4 expressions with local error:
| 40.8b | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 0.5b | (cbrt (exp c)) |
| 0.5b | (cbrt (exp c)) |
| 0.5b | (cbrt (exp c)) |
4 calls. Slowest were:
| 1.0ms | (cbrt (exp c)) |
| 1.0ms | (cbrt (exp c)) |
| 1.0ms | (cbrt (exp c)) |
4 calls. Slowest were:
| 136.0ms | (cbrt (exp c)) |
| 117.0ms | (cbrt (exp c)) |
| 116.0ms | (cbrt (exp c)) |
| 4.0ms | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
21 calls. Slowest were:
| 66.0ms | (+ (* 1/18 (pow c 2)) (+ (* 1/3 c) 1)) |
| 65.0ms | (+ (* 1/18 (pow c 2)) (+ (* 1/3 c) 1)) |
| 61.0ms | (+ (* 1/18 (pow c 2)) (+ (* 1/3 c) 1)) |
14 alts after pruning (14 fresh and 0 done)
Merged error: 35.8b
Found 4 expressions with local error:
| 40.8b | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 40.8b | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 40.8b | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 0.5b | (cbrt (exp c)) |
4 calls. Slowest were:
| 1.0ms | (cbrt (exp c)) |
| 0.0ms | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 0.0ms | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
4 calls. Slowest were:
| 105.0ms | (cbrt (exp c)) |
| 7.0ms | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 6.0ms | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
| 4.0ms | (fmod (fma 1/2 (exp c) (/ (/ 1/2 (* (cbrt (exp c)) (cbrt (exp c)))) (cbrt (exp c)))) (log1p a)) |
15 calls. Slowest were:
| 32.0ms | (+ (* 1/18 (pow c 2)) (+ (* 1/3 c) 1)) |
| 8.0ms | (fmod (fma 1/2 (exp c) (/ 1/2 (exp c))) (log1p a)) |
| 7.0ms | (fmod (fma 1/2 (exp c) (/ 1/2 (exp c))) (log1p a)) |
18 alts after pruning (18 fresh and 0 done)
Merged error: 35.7b
0% (0.1b remaining)
Error of 34.2b against oracle of 34.1b and baseline of 34.2b