


Bits error versus x
Results
Initial program 0.5
Taylor expanded around inf 0.4
Simplified0.4
Final simplification0.4
herbie shell --seed 2019008
(FPCore (x)
:name "sqrt times"
(* (sqrt (- x 1)) (sqrt x)))
Time bar (total: 5.4s)Debug log
1 calls. Slowest were:
| 18.0ms | (* (sqrt (- x 1)) (sqrt x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.5b
Found 1 expressions with local error:
| 0.5b | (* (sqrt (- x 1)) (sqrt x)) |
1 calls. Slowest were:
| 13.0ms | (* (sqrt (- x 1)) (sqrt x)) |
1 calls. Slowest were:
| 52.0ms | (* (sqrt (- x 1)) (sqrt x)) |
18 calls. Slowest were:
| 392.0ms | (* (* (* (sqrt (- x 1)) (sqrt (- x 1))) (sqrt (- x 1))) (* (* (sqrt x) (sqrt x)) (sqrt x))) |
| 50.0ms | (* (sqrt (- (* x x) (* 1 1))) (sqrt x)) |
| 42.0ms | (- x (+ (* 1/8 (/ 1 x)) 1/2)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 0 expressions with local error:
0 calls. Slowest were:
0 calls. Slowest were:
0 calls. Slowest were:
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 1 expressions with local error:
| 30.1b | (sqrt (* (- x 1) x)) |
1 calls. Slowest were:
| 2.0ms | (sqrt (* (- x 1) x)) |
1 calls. Slowest were:
| 22.0ms | (sqrt (* (- x 1) x)) |
6 calls. Slowest were:
| 125.0ms | (sqrt (* (- (* x x) (* 1 1)) x)) |
| 64.0ms | (- x (+ (* 1/8 (/ 1 x)) 1/2)) |
| 32.0ms | (- (+ (* 1/8 (/ 1 x)) 1/2) x) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.4b remaining)
Error of 0.4b against oracle of 0.0b and baseline of 0.4b