
Time bar (total: 1.3s)
| 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)
| 619.0ms | 8 256× | 0 | valid |
ival-pow2: 378.0ms (78.8% of total)ival-sqrt: 58.0ms (12.1% of total)ival-mult!: 42.0ms (8.8% of total)adjust: 2.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 134 | 0 | - | 3 | (3.431666999949134e-156) | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 0 | 0 | - | 0 | - | (pow.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) | uflow-rescue | 69 | 0 |
| ↳ | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) | underflow | 69 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | underflow | 69 | |
sqrt.f64 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) | oflow-rescue | 62 | 0 |
| ↳ | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) | overflow | 62 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | overflow | 62 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 131 | 3 |
| - | 0 | 122 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 131 | 0 | 3 |
| - | 0 | 0 | 122 |
| number | freq |
|---|---|
| 0 | 125 |
| 1 | 131 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 29.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-mult!: 9.0ms (48.1% of total)ival-pow2: 6.0ms (32.1% of total)ival-sqrt: 3.0ms (16% of total)adjust: 0.0ms (0% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 18 | 19 |
| 2 | 55 | 19 |
| 3 | 167 | 19 |
| 4 | 408 | 19 |
| 5 | 1304 | 19 |
| 6 | 5101 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.9% | (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))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* 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 (* 2 (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((sqrt (* 2 (pow x 2))) (* 2 (pow x 2)) 2 (pow x 2) x) |
| 1.0ms | x | @ | 0 | ((sqrt (* 2 (pow x 2))) (* 2 (pow x 2)) 2 (pow x 2) x) |
| 1.0ms | x | @ | -inf | ((sqrt (* 2 (pow x 2))) (* 2 (pow x 2)) 2 (pow x 2) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 61 |
| 0 | 21 | 60 |
| 1 | 42 | 54 |
| 0 | 138 | 49 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| 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 |
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* 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 (* 2 (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) x) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 x (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.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 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.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 x x)) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(approx (sqrt (* 2 (pow x 2))) (hypot.f64 x x)) |
#s(approx (* 2 (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (pow x 2) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (* 2 (pow x 2))) (neg.f64 (hypot.f64 x x))) |
Compiled 406 to 112 computations (72.4% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 3 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 45 | 3 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.3% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ▶ | 51.9% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
Compiled 13 to 10 computations (23.1% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
x |
(+.f64 x x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(hypot.f64 x x) |
| Outputs |
|---|
#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 #s(hole binary64 x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#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 (* x (+ x x))) (* x (+ x x)) x (+ x x) (* (sqrt 2) x) (sqrt 2) 2 (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (* (sqrt 2) x) (sqrt 2) 2 (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x) (* (sqrt 2) x) (sqrt 2) 2 (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 97 |
| 0 | 35 | 91 |
| 1 | 82 | 62 |
| 0 | 437 | 62 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
x |
(+.f64 x x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(hypot.f64 x 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 #s(hole binary64 x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#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 |
|---|
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.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 x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
x |
#s(literal 2 binary64) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.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 x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.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 x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx x x) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 204 to 71 computations (65.2% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 1 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 32 | 4 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.3% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ✓ | 51.9% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 5.3% | (sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
Compiled 21 to 16 computations (23.8% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
| Outputs |
|---|
#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 (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((sqrt (* x (+ x x))) (* x (+ x x)) 2) |
| 1.0ms | x | @ | inf | ((sqrt (* x (+ x x))) (* x (+ x x)) 2) |
| 1.0ms | x | @ | -inf | ((sqrt (* x (+ x x))) (* x (+ x x)) 2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 51 |
| 0 | 17 | 46 |
| 1 | 51 | 26 |
| 0 | 235 | 26 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#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 (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (pow.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 86 to 21 computations (75.6% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 8 | 0 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 8 | 4 | 12 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.3% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ✓ | 51.9% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 5.3% | (sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
Compiled 48 to 31 computations (35.4% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 x x) |
(sqrt.f64 (*.f64 #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 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (*.f64 #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 #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 15 to 13 computations (13.3% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
4 calls:
| 23.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | x |
| 1.0ms | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.3% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 99.3% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 99.3% | 1 | x |
Compiled 15 to 13 computations (13.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 5.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 5.3% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 5.3% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 5.3% | 1 | x |
Compiled 15 to 13 computations (13.3% saved)
| 1× | done |
Compiled 15 to 9 computations (40% saved)
(abs x)
Compiled 72 to 52 computations (27.8% saved)
Loading profile data...