


Bits error versus x
Results
Initial program 0.5
Taylor expanded around inf 0.4
Simplified0.4
Final simplification0.4
herbie shell --seed 2019007
(FPCore (x)
:name "sqrt times"
(* (sqrt (- x 1)) (sqrt x)))
Time bar (total: 5.5s)Debug log
1 calls. Slowest were:
| 19.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:
| 6.0ms | (* (sqrt (- x 1)) (sqrt x)) |
1 calls. Slowest were:
| 33.0ms | (* (sqrt (- x 1)) (sqrt x)) |
18 calls. Slowest were:
| 302.0ms | (* (* (* (sqrt (- x 1)) (sqrt (- x 1))) (sqrt (- x 1))) (* (* (sqrt x) (sqrt x)) (sqrt x))) |
| 81.0ms | (- x (+ (* 1/8 (/ 1 x)) 1/2)) |
| 54.0ms | (* (sqrt (- (* x x) (* 1 1))) (sqrt x)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
0 calls. Slowest were:
0 calls. Slowest were:
0 calls. Slowest were:
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 1 expressions with local error:
| 32.7b | (sqrt (* (- x 1) x)) |
1 calls. Slowest were:
| 1.0ms | (sqrt (* (- x 1) x)) |
1 calls. Slowest were:
| 19.0ms | (sqrt (* (- x 1) x)) |
6 calls. Slowest were:
| 81.0ms | (- x (+ (* 1/8 (/ 1 x)) 1/2)) |
| 70.0ms | (sqrt (* (- (* x x) (* 1 1)) x)) |
| 67.0ms | (sqrt (* (- (pow x 3) (pow 1 3)) x)) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.4b remaining)
Error of 0.4b against oracle of 0.0b and baseline of 0.4b