
Time bar (total: 1.4s)
| 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 10 to 6 computations (40% saved)
| 294.0ms | 8 256× | 0 | valid |
ival-pow2: 99.0ms (57.6% of total)ival-sqrt: 52.0ms (30.2% of total)ival-add!: 20.0ms (11.6% of total)adjust: 1.0ms (0.6% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 19 | 19 |
| 2 | 46 | 19 |
| 3 | 138 | 19 |
| 4 | 314 | 19 |
| 5 | 1717 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 56.1% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(abs x)
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2) x 2) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2) x 2) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2) x 2) |
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 1/2 binary64))) |
(hypot.f64 x x) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (exp.f64 (log.f64 x))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) (fabs.f64 x)) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 x))) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) x) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (neg.f64 x)) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) x) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (exp.f64 (log.f64 x))) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 x (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (neg.f64 x) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 x (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (exp.f64 (log.f64 x)) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (+.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 1 binary64))) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (+.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (*.f64 (pow.f64 x #s(literal 1 binary64)) #s(literal 2 binary64))) |
(+.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 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64))) (/.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(-.f64 (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 0 binary64)) (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 0 binary64))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (pow.f64 x #s(literal 1 binary64)))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (neg.f64 #s(literal 0 binary64)) (neg.f64 #s(literal 0 binary64))) |
(/.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(fma.f64 x x (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.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 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (neg.f64 (pow.f64 x #s(literal 1 binary64))) (*.f64 x x)) |
(fma.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (pow.f64 x #s(literal 1 binary64))) (neg.f64 (pow.f64 x #s(literal 1 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 x #s(literal 1 binary64))) (fabs.f64 (pow.f64 x #s(literal 1 binary64)))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (pow.f64 x #s(literal 1 binary64)) #s(literal 2 binary64)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) #s(literal 1 binary64))) (-.f64 #s(literal 1 binary64) #s(literal 1 binary64))) |
(/.f64 (+.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) #s(literal 1 binary64))))) |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (/ 0 0) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
Compiled 587 to 238 computations (59.5% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 106 | 4 | 110 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 107 | 4 | 111 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 56.2% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 2.3% | #s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
| ▶ | 99.2% | #s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 23 to 23 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt 2) (neg x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (/ 0 0)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (/ 0 0)) (* (sqrt 2) (neg x)) (neg x) (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((sqrt (/ 0 0)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (/ 0 0)) (* (sqrt 2) (neg x)) (neg x) (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (/ 0 0)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (/ 0 0)) (* (sqrt 2) (neg x)) (neg x) (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (sqrt (+ (* x x) (* x x)))) |
| Inputs |
|---|
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(hypot.f64 x x) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (sqrt 2) (neg x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(hypot.f64 x x) |
(sqrt.f64 (fma.f64 x x (*.f64 x x))) |
#s(approx (* (sqrt 2) x) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx x x) |
#s(approx (* (sqrt 2) (neg x)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x)) |
#s(approx (sqrt (* x (+ x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* x (+ x x)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (* x (+ x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 88 to 53 computations (39.8% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 0 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 14 | 4 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 56.2% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 2.3% | #s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
| ✓ | 99.2% | #s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 46 to 41 computations (10.9% saved)
| Inputs |
|---|
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 x x) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 100.0% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 100.0% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 100.0% | 1 | x |
Compiled 17 to 13 computations (23.5% saved)
Total -62.1b remaining (-12920.2%)
Threshold costs -62.1b (-12920.2%)
| Inputs |
|---|
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (/ 0 0)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
4 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.2% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.2% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.2% | 1 | x |
Compiled 17 to 13 computations (23.5% saved)
| 1× | done |
Compiled 9 to 9 computations (0% saved)
Compiled 36 to 34 computations (5.6% saved)
Loading profile data...