
Time bar (total: 2.0s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 8 computations (11.1% saved)
| 289.0ms | 7 616× | 0 | valid |
| 52.0ms | 143× | 3 | valid |
| 27.0ms | 296× | 1 | valid |
| 18.0ms | 201× | 2 | valid |
ival-div!: 92.0ms (52.8% of total)ival-sub!: 34.0ms (19.5% of total)ival-add!: 26.0ms (14.9% of total)adjust: 22.0ms (12.6% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 46 |
| 1 | 83 | 42 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 14 to 12 computations (14.3% saved)
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ x (/ (- x y) 2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x))) |
#s(approx x x) |
#s(approx (/ (- x y) 2) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (- x y) (*.f64 #s(literal -1 binary64) y)) |
#s(approx (- x y) (-.f64 x y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 x (+.f64 #s(literal 3/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- x y) 2) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))) |
#s(approx (- x y) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x))))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 3/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))) |
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64))))) |
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)))) |
#s(approx (- x y) (+.f64 x (*.f64 #s(literal -1 binary64) y))) |
#s(approx y y) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (- x y) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y)))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))) |
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | inf |
| 1.0ms | x | -inf |
| 1.0ms | y | -inf |
| 1.0ms | y | 0 |
| 0.0ms | y | inf |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 x y) #s(literal 1/2 binary64))) |
(+.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) x) |
(-.f64 x (neg.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)))) |
(/.f64 (fma.f64 x #s(literal 2 binary64) (-.f64 x y)) #s(literal 2 binary64)) |
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
x |
(*.f64 (-.f64 x y) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(/.f64 (neg.f64 (-.f64 x y)) #s(literal -2 binary64)) |
(+.f64 x (neg.f64 y)) |
(-.f64 x y) |
(neg.f64 (-.f64 y x)) |
y |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
Compiled 449 to 140 computations (68.8% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 30 | 5 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 31 | 5 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
| ▶ | 87.9% | (+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))) |
| ▶ | 87.7% | #s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
| ▶ | 48.6% | #s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
| ▶ | 51.8% | #s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
Compiled 130 to 94 computations (27.7% saved)
| Inputs |
|---|
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
(-.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
(*.f64 #s(literal -1/2 binary64) y) |
#s(literal -1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
(*.f64 #s(literal 3/2 binary64) x) |
#s(literal 3/2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(/.f64 x y) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))) |
(-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) |
| Outputs |
|---|
#s(approx (+ (* (- x y) 1/2) x) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ (* (- x y) 1/2) x) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x))) |
#s(approx (- x y) (*.f64 #s(literal -1 binary64) y)) |
#s(approx (- x y) (-.f64 x y)) |
#s(approx x x) |
#s(approx (* 3/2 x) (*.f64 #s(literal 3/2 binary64) x)) |
#s(approx (/ (- x y) 2) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (/ x y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) |
#s(approx (/ x y) (/.f64 x y)) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) (/ x y)) (*.f64 #s(literal 3/2 binary64) (/.f64 x y))) |
#s(approx (+ (* (- x y) 1/2) x) (*.f64 x (+.f64 #s(literal 3/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))) |
#s(approx (- x y) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- x y) 2) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (+ (* (- x y) 1/2) x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 3/2 binary64))))) |
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (+ (* (- x y) 1/2) x) (+.f64 x (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (+ (* (- x y) 1/2) x) (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)))) |
#s(approx (- x y) (+.f64 x (*.f64 #s(literal -1 binary64) y))) |
#s(approx y y) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (/.f64 (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)) y)) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y)) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (/.f64 (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) y)) |
#s(approx (+ (* (- x y) 1/2) x) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (- x y) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))) |
#s(approx (+ (* (- x y) 1/2) x) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y)))))) |
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))) |
#s(approx (* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))) |
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/2 (/ x y)) (/ x y)) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 4.0ms | y | -inf |
| 4.0ms | x | -inf |
| 2.0ms | x | inf |
| 2.0ms | x | 0 |
| 2.0ms | y | inf |
| Inputs |
|---|
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
(-.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
(*.f64 #s(literal -1/2 binary64) y) |
#s(literal -1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
(*.f64 #s(literal 3/2 binary64) x) |
#s(literal 3/2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(/.f64 x y) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))) |
(-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) |
| Outputs |
|---|
(+.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) x) |
(+.f64 x (*.f64 (-.f64 x y) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) (neg.f64 x)) |
(-.f64 x (neg.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)))) |
(/.f64 (fma.f64 x #s(literal 2 binary64) (-.f64 x y)) #s(literal 2 binary64)) |
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
(fma.f64 #s(literal 1/2 binary64) (-.f64 x y) x) |
(+.f64 x (neg.f64 y)) |
(-.f64 x y) |
(neg.f64 (-.f64 y x)) |
x |
y |
#s(literal 1/2 binary64) |
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
(*.f64 #s(literal -1/2 binary64) y) |
(*.f64 y #s(literal -1/2 binary64)) |
#s(literal -1/2 binary64) |
(neg.f64 #s(literal 1/2 binary64)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
(*.f64 #s(literal 3/2 binary64) x) |
(*.f64 x #s(literal 3/2 binary64)) |
#s(literal 3/2 binary64) |
(+.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)))) |
(*.f64 y (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64))) |
(*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) y) |
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal -1/2 binary64)) |
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) |
(neg.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(*.f64 x (/.f64 #s(literal 1 binary64) y)) |
(/.f64 x y) |
(/.f64 (neg.f64 x) (neg.f64 y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)))) |
(*.f64 y (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))) |
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y) |
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) (-.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(+.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal -1/2 binary64)) |
(-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (-.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) (-.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(neg.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 3/2 binary64) (/.f64 x y)))) |
(*.f64 #s(literal 3/2 binary64) (/.f64 x y)) |
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) (/.f64 x y)) |
(+.f64 (/.f64 x y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) |
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) (neg.f64 (/.f64 x y))) |
(/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) y x) y) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) (/.f64 x y)) |
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) |
Compiled 1 739 to 368 computations (78.8% saved)
7 alts after pruning (4 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 90 | 4 | 94 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 0 | 0 |
| Total | 92 | 7 | 99 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
| ▶ | 87.8% | (+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))) |
| ▶ | 59.9% | (+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
| ▶ | 87.7% | #s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)) |
| ▶ | 87.8% | #s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))) |
| ✓ | 48.6% | #s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
| ✓ | 51.8% | #s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
Compiled 104 to 78 computations (25% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))) |
y |
(-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)) |
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) |
x |
(/.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)) |
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y) |
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) |
#s(literal 3/2 binary64) |
(/.f64 x y) |
#s(literal -1/2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))) |
(*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) |
(*.f64 x (/.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ x (/ (- x y) 2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x))) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) #s(literal -1/2 binary64)) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
#s(approx (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) (*.f64 #s(literal 3/2 binary64) (/.f64 x y))) |
#s(approx x x) |
#s(approx (/ (* 1/2 x) y) (*.f64 #s(literal 1/2 binary64) (/.f64 x y))) |
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ x y) (/.f64 x y)) |
#s(approx (/ (- x y) 2) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 x (+.f64 #s(literal 3/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (/ (- x y) 2) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 3/2 binary64))))) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)))) |
#s(approx y y) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y)) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (/.f64 (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) y)) |
#s(approx (/ 1 y) (/.f64 #s(literal 1 binary64) y)) |
#s(approx (+ (* 3/2 (/ x y)) -1/2) (/.f64 (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x)) y)) |
#s(approx (- (* 1/2 (/ x y)) 1/2) (/.f64 (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)) y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))) |
#s(approx (* (+ (* 3/2 (/ x y)) -1/2) y) (*.f64 y (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y)))))) |
#s(approx (* y (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))) |
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64))) |
#s(approx (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y))) |
#s(approx (* (+ (* 3/2 (/ x y)) -1/2) y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -3/2 binary64) (/.f64 x y)))))) |
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 9.0ms | x | inf |
| 4.0ms | y | -inf |
| 4.0ms | x | -inf |
| 2.0ms | y | inf |
| 2.0ms | y | 0 |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))) |
y |
(-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)) |
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) |
x |
(/.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)) |
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y) |
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) |
#s(literal 3/2 binary64) |
(/.f64 x y) |
#s(literal -1/2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))) |
(*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) |
(*.f64 x (/.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))) |
y |
(-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)) |
(+.f64 (*.f64 x (/.f64 #s(literal 1 binary64) y)) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) |
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) |
x |
(/.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)) |
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y) |
(+.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal -1/2 binary64)) |
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) |
#s(literal 3/2 binary64) |
(/.f64 x y) |
#s(literal -1/2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))) |
(*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))) |
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))) |
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))) |
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) |
(*.f64 x (/.f64 #s(literal 1 binary64) y)) |
Compiled 1 118 to 248 computations (77.8% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 45 | 0 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 3 | 3 |
| Total | 45 | 7 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
| ✓ | 87.8% | (+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))) |
| ✓ | 59.9% | (+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
| ✓ | 87.7% | #s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)) |
| ✓ | 87.8% | #s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))) |
| ✓ | 48.6% | #s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
| ✓ | 51.8% | #s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
Compiled 104 to 78 computations (25% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y)) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))) |
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))) |
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))) |
| Outputs |
|---|
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x) |
10 calls:
| 8.0ms | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 4.0ms | y |
| 4.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.8% | 1 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 51.8% | 1 | x |
| 51.8% | 1 | y |
| 78.0% | 3 | y |
| 62.8% | 2 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 77.8% | 3 | x |
| 79.9% | 3 | y |
| 99.9% | 1 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 99.9% | 1 | x |
| 99.9% | 1 | y |
Compiled 176 to 85 computations (51.7% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 7.0ms | 5.873809500222e+55 | 3.567958392519481e+56 |
| 12.0ms | -6.930652889212724e-40 | -7.580832512317473e-57 |
| 7.0ms | 238× | 0 | valid |
| 1.0ms | 1× | 3 | valid |
| 1.0ms | 8× | 2 | valid |
| 1.0ms | 9× | 1 | valid |
Compiled 490 to 411 computations (16.1% saved)
ival-sub!: 2.0ms (42.6% of total)ival-div!: 1.0ms (21.3% of total)ival-add!: 1.0ms (21.3% of total)adjust: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 46.0ms | 5.873809500222e+55 | 3.567958392519481e+56 |
| 1.0ms | -6.930652889212724e-40 | -7.580832512317473e-57 |
| 39.0ms | 76× | 0 | valid |
| 1.0ms | 3× | 2 | valid |
| 0.0ms | 1× | 1 | valid |
Compiled 362 to 331 computations (8.6% saved)
ival-div!: 1.0ms (58.6% of total)adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)ival-sub!: 0.0ms (0% of total)| 1× | done |
Compiled 115 to 33 computations (71.3% saved)
Compiled 122 to 39 computations (68% saved)
Loading profile data...