
Time bar (total: 1.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 8 to 7 computations (12.5% saved)
| 412.0ms | 8 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
ival-pow2: 96.0ms (49% of total)ival-sqrt: 58.0ms (29.6% of total)ival-mult!: 40.0ms (20.4% of total)adjust: 2.0ms (1% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 23 | 19 |
| 2 | 69 | 19 |
| 3 | 240 | 19 |
| 4 | 877 | 19 |
| 5 | 5309 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 54.4% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(abs x)
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* 2 (pow x 2)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (pow x 2) (pow.f64 x #s(literal 2 binary64))) |
#s(approx x x) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | inf |
| 1.0ms | x | -inf |
| 1.0ms | x | 0 |
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
| Outputs |
|---|
(fabs.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))) |
(hypot.f64 x x) |
(pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
x |
Compiled 120 to 41 computations (65.8% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 4 | 15 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 12 | 4 | 16 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 54.4% | (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 99.4% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.1% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 33 to 27 computations (18.2% saved)
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal -1 binary64) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* -1 (* x (sqrt 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx x x) |
#s(approx (* (* x x) 2) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 2.0ms | x | 0 |
| 2.0ms | x | inf |
| 2.0ms | x | -inf |
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal -1 binary64) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
(*.f64 #s(literal -2 binary64) x) |
(*.f64 #s(literal -1 binary64) (+.f64 x x)) |
(*.f64 (+.f64 x x) #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (neg.f64 x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(+.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) (neg.f64 x) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(fma.f64 (neg.f64 x) #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(neg.f64 (+.f64 x x)) |
#s(literal -1 binary64) |
(neg.f64 #s(literal 1 binary64)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
(+.f64 x x) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(-.f64 x (neg.f64 x)) |
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x)) |
x |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64)) |
(fabs.f64 #s(literal 2 binary64)) |
(fabs.f64 #s(literal -2 binary64)) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(literal -1 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 #s(literal 4 binary64)) |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64)) |
(fabs.f64 #s(literal 2 binary64)) |
(fabs.f64 #s(literal -2 binary64)) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(literal -1 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 #s(literal 4 binary64)) |
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 x x) x))) |
(fabs.f64 (neg.f64 (sqrt.f64 (*.f64 (+.f64 x x) x)))) |
(hypot.f64 x x) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) x) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) x) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 x (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 x (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 x (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 x))) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (*.f64 (sqrt.f64 (*.f64 (+.f64 x x) x)) (sqrt.f64 (*.f64 (+.f64 x x) x)))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (+.f64 x x) x) |
(*.f64 (neg.f64 x) (*.f64 x #s(literal -2 binary64))) |
(*.f64 (*.f64 x #s(literal -2 binary64)) (neg.f64 x)) |
(*.f64 x (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64))) |
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x))) |
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x))) |
(*.f64 (neg.f64 x) (-.f64 (neg.f64 x) x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(-.f64 (*.f64 x x) (neg.f64 (*.f64 x x))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(neg.f64 (-.f64 (neg.f64 (*.f64 x x)) (*.f64 x x))) |
(*.f64 x x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(neg.f64 (neg.f64 (*.f64 x x))) |
(pow.f64 x #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 x x) x))) |
(fabs.f64 (neg.f64 (sqrt.f64 (*.f64 (+.f64 x x) x)))) |
(hypot.f64 x x) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) x) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) x) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 x (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 x (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 x (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 x))) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (*.f64 (sqrt.f64 (*.f64 (+.f64 x x) x)) (sqrt.f64 (*.f64 (+.f64 x x) x)))) |
Compiled 1 299 to 288 computations (77.8% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 132 | 3 | 135 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 0 | 0 |
| Total | 133 | 6 | 139 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 54.4% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ▶ | 20.3% | #s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
| ✓ | 99.4% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.1% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
| ✓ | 2.1% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 53 to 41 computations (22.6% saved)
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
x |
#s(literal -2 binary64) |
#s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* x -2) (*.f64 #s(literal -2 binary64) x)) |
#s(approx x x) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (+ x x) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 2.0ms | x | inf |
| 1.0ms | x | -inf |
| 1.0ms | x | 0 |
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
x |
#s(literal -2 binary64) |
#s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
| Outputs |
|---|
#s(approx (sqrt (* (* x x) 2)) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
(*.f64 #s(literal -2 binary64) x) |
x |
#s(literal -2 binary64) |
#s(approx (sqrt (* (* x x) 2)) (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) x) |
(+.f64 x x) |
(-.f64 x (neg.f64 x)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 x x) x))) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
(*.f64 x (+.f64 x x)) |
Compiled 172 to 53 computations (69.2% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 17 | 0 | 17 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 3 | 3 |
| Total | 17 | 6 | 23 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 54.4% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | 20.3% | #s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
| ✓ | 99.4% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 2.1% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
| ✓ | 2.1% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 53 to 41 computations (22.6% saved)
Total -11.7b remaining (-22.7%)
Threshold costs -11.7b (-22.7%)
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (+.f64 x x)) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x #s(literal -2 binary64))) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 x x) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(hypot.f64 x x) |
12 calls:
| 3.0ms | x |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 2.0ms | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 20.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 20.3% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 20.3% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 20.3% | 1 | x |
| 99.4% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.4% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 99.4% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 99.4% | 1 | x |
| 100.0% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 100.0% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 100.0% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 100.0% | 1 | x |
Compiled 110 to 65 computations (40.9% saved)
| 1× | done |
Compiled 24 to 12 computations (50% saved)
Compiled 78 to 53 computations (32.1% saved)
Loading profile data...