


Bits error versus g



Bits error versus h
Initial program 1.0
Simplified1.0
rmApplied add-cube-cbrt1.0
rmApplied add-sqr-sqrt1.0
Applied cbrt-prod1.0
Applied associate-*r*1.0
rmApplied add-cube-cbrt1.0
Final simplification1.0
herbie shell --seed 2019004 +o rules:numerics
(FPCore (g h)
:name "2-ancestry mixing, negative discriminant"
(* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))))
Time bar (total: 13.1s)Debug log
1 calls. Slowest were:
| 12.0ms | (* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.0b
Found 3 expressions with local error:
| 1.0b | (/ (acos (/ (- g) h)) 3) |
| 1.0b | (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) |
| 0.0b | (fma 2/3 PI (/ (acos (/ (- g) h)) 3)) |
3 calls. Slowest were:
| 7.0ms | (/ (acos (/ (- g) h)) 3) |
| 3.0ms | (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) |
| 0.0ms | (fma 2/3 PI (/ (acos (/ (- g) h)) 3)) |
3 calls. Slowest were:
| 104.0ms | (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) |
| 31.0ms | (fma 2/3 PI (/ (acos (/ (- g) h)) 3)) |
| 12.0ms | (/ (acos (/ (- g) h)) 3) |
14 calls. Slowest were:
| 40.0ms | (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) |
| 39.0ms | (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) |
| 38.0ms | (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 1.0b
Found 4 expressions with local error:
| 1.0b | (* (cbrt (/ (acos (/ (- g) h)) 3)) (cbrt (/ (acos (/ (- g) h)) 3))) |
| 1.0b | (/ (acos (/ (- g) h)) 3) |
| 1.0b | (/ (acos (/ (- g) h)) 3) |
| 1.0b | (/ (acos (/ (- g) h)) 3) |
4 calls. Slowest were:
| 6.0ms | (* (cbrt (/ (acos (/ (- g) h)) 3)) (cbrt (/ (acos (/ (- g) h)) 3))) |
| 3.0ms | (/ (acos (/ (- g) h)) 3) |
| 3.0ms | (/ (acos (/ (- g) h)) 3) |
4 calls. Slowest were:
| 120.0ms | (* (cbrt (/ (acos (/ (- g) h)) 3)) (cbrt (/ (acos (/ (- g) h)) 3))) |
| 8.0ms | (/ (acos (/ (- g) h)) 3) |
| 8.0ms | (/ (acos (/ (- g) h)) 3) |
| 7.0ms | (/ (acos (/ (- g) h)) 3) |
50 calls. Slowest were:
| 30.0ms | (* (pow (cbrt 1/3) 2) (pow (pow (acos (* -1 (/ g h))) 2) 1/3)) |
| 27.0ms | (* (/ (acos (/ (- g) h)) 3) (/ (acos (/ (- g) h)) 3)) |
| 26.0ms | (* 1/3 (acos (* -1 (/ g h)))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 1.0b
Found 4 expressions with local error:
| 1.5b | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 1.5b | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 1.0b | (/ (acos (/ (- g) h)) 3) |
| 1.0b | (/ (acos (/ (- g) h)) 3) |
4 calls. Slowest were:
| 7.0ms | (/ (acos (/ (- g) h)) 3) |
| 6.0ms | (/ (acos (/ (- g) h)) 3) |
| 2.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
4 calls. Slowest were:
| 224.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 167.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 12.0ms | (/ (acos (/ (- g) h)) 3) |
| 8.0ms | (/ (acos (/ (- g) h)) 3) |
36 calls. Slowest were:
| 39.0ms | (* (pow (acos (* -1 (/ g h))) 1/6) (pow (sqrt 1/3) 1/3)) |
| 37.0ms | (* (pow (acos (* -1 (/ g h))) 1/6) (pow (sqrt 1/3) 1/3)) |
| 37.0ms | (* (pow (acos (* -1 (/ g h))) 1/6) (pow (sqrt 1/3) 1/3)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.0b
Found 4 expressions with local error:
| 1.5b | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 1.5b | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 1.5b | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 1.5b | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
4 calls. Slowest were:
| 2.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 2.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 2.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
4 calls. Slowest were:
| 255.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 206.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 194.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
| 184.0ms | (cbrt (sqrt (/ (acos (/ (- g) h)) 3))) |
44 calls. Slowest were:
| 38.0ms | (* (pow (acos (* -1 (/ g h))) 1/6) (pow (sqrt 1/3) 1/3)) |
| 37.0ms | (* (pow (acos (* -1 (/ g h))) 1/6) (pow (sqrt 1/3) 1/3)) |
| 37.0ms | (* (pow (acos (* -1 (/ g h))) 1/6) (pow (sqrt 1/3) 1/3)) |
1 alts after pruning (0 fresh and 1 done)
Merged error: 1.0b