
Time bar (total: 1.7s)
| 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 10 to 5 computations (50% saved)
| 479.0ms | 8 256× | 0 | valid |
ival-hypot: 194.0ms (99.4% of total)adjust: 1.0ms (0.5% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 50 |
| 1 | 62 | 50 |
| 2 | 157 | 50 |
| 3 | 226 | 50 |
| 4 | 520 | 50 |
| 5 | 2746 | 50 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 55.9% | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(abs re)
(abs im)
(sort re im)
Compiled 12 to 12 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 139 | 631 |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
re |
(*.f64 im im) |
im |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (sqrt.f64 (pow.f64 im #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (+ (* re re) (* im im)) (pow.f64 im #s(literal 2 binary64))) |
#s(approx (+ (* re re) (* im im)) (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))) |
#s(approx (* re re) (pow.f64 re #s(literal 2 binary64))) |
#s(approx re re) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (+ (* re re) (* im im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (sqrt.f64 (pow.f64 re #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx im im) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (+ (* re re) (* im im)) (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | ((sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | re | @ | -inf | ((sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | re | @ | 0 | ((sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | im | @ | inf | ((sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | im | @ | 0 | ((sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* re re) re (* im im) im) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 23 |
| 0 | 10 | 23 |
| 1 | 46 | 23 |
| 0 | 480 | 17 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
re |
(*.f64 im im) |
im |
| Outputs |
|---|
(*.f64 (pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64))) (fabs.f64 re)) |
(*.f64 (pow.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 re re) #s(literal 1/2 binary64))) |
(pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im)))) (sqrt.f64 (*.f64 (+.f64 re im) (-.f64 re im)))) |
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(sqrt.f64 (*.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re))) (sqrt.f64 (fma.f64 im im (*.f64 re re))))) |
(sqrt.f64 (fma.f64 im im (*.f64 re re))) |
(fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re))))) |
(fabs.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re)))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) re) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) im) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) im) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) re) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) im) |
(hypot.f64 (neg.f64 (neg.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) im) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) re) |
(hypot.f64 (neg.f64 (neg.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) re) |
(hypot.f64 (fabs.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 im) (neg.f64 re)) |
(hypot.f64 (fabs.f64 im) re) |
(hypot.f64 (fabs.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 re) (neg.f64 im)) |
(hypot.f64 (fabs.f64 re) im) |
(hypot.f64 (neg.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 im) (fabs.f64 re)) |
(hypot.f64 (neg.f64 im) (neg.f64 re)) |
(hypot.f64 (neg.f64 im) re) |
(hypot.f64 (neg.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 re) (fabs.f64 im)) |
(hypot.f64 (neg.f64 re) (neg.f64 im)) |
(hypot.f64 (neg.f64 re) im) |
(hypot.f64 im (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 im (fabs.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 (neg.f64 re))) |
(hypot.f64 im (fabs.f64 re)) |
(hypot.f64 im (neg.f64 re)) |
(hypot.f64 im re) |
(hypot.f64 re (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 re (fabs.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 (neg.f64 im))) |
(hypot.f64 re (fabs.f64 im)) |
(hypot.f64 re (neg.f64 im)) |
(hypot.f64 re im) |
(exp.f64 (*.f64 (log.f64 (fma.f64 im im (*.f64 re re))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) (fabs.f64 re)) (fabs.f64 re)) |
(*.f64 (*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) (neg.f64 re)) (neg.f64 re)) |
(*.f64 (*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) re) re) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 re re) (*.f64 im im))) (*.f64 im im)) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (neg.f64 im) im) (*.f64 re re))) (*.f64 re re)) |
(*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) (*.f64 re re)) |
(*.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im))) (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 re im) (-.f64 re im)))) |
(*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(*.f64 (*.f64 re re) (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 (*.f64 (*.f64 re re) re) re)) (-.f64 (*.f64 im im) (*.f64 re re))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)) (pow.f64 (*.f64 (neg.f64 im) im) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 re re) re) re (fma.f64 (*.f64 (*.f64 im im) im) im (*.f64 (*.f64 re re) (*.f64 (neg.f64 im) im))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im)))) (neg.f64 (*.f64 (+.f64 re im) (-.f64 re im)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)))) (neg.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 (+.f64 re im) (-.f64 re im)) (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))) (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))))) |
(/.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im))) (*.f64 (+.f64 re im) (-.f64 re im))) |
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))) (fma.f64 (*.f64 (*.f64 im im) im) im (-.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 (*.f64 (*.f64 re re) im) im)))) |
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re))))) |
(neg.f64 (-.f64 (*.f64 (neg.f64 im) im) (*.f64 re re))) |
(fma.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64)) (*.f64 re re)) |
(fma.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)) (*.f64 im im)) |
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 im im)) |
(fma.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 im)) (*.f64 re re)) |
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 im im)) |
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 im im)) |
(fma.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 im)) (*.f64 re re)) |
(fma.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 im)) (*.f64 re re)) |
(fma.f64 (fabs.f64 im) (fabs.f64 im) (*.f64 re re)) |
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 im im)) |
(fma.f64 (neg.f64 im) (neg.f64 im) (*.f64 re re)) |
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 im im)) |
(fma.f64 im im (*.f64 re re)) |
(fma.f64 re re (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 re re (*.f64 im im)) |
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 (+.f64 re im) (-.f64 re im))) (/.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 (+.f64 re im) (-.f64 re im)))) |
(-.f64 (*.f64 im im) (*.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 re))) |
(-.f64 (*.f64 im im) (*.f64 (neg.f64 (neg.f64 re)) (neg.f64 re))) |
(-.f64 (*.f64 im im) (*.f64 (neg.f64 re) re)) |
(-.f64 (*.f64 im im) (*.f64 re (neg.f64 re))) |
(-.f64 (*.f64 im im) (neg.f64 (*.f64 re re))) |
(-.f64 (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im)) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(+.f64 (*.f64 im im) (*.f64 re re)) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64))) |
(*.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re))) |
(*.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re))) |
(*.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re))) |
(*.f64 (fabs.f64 re) (fabs.f64 re)) |
(*.f64 (neg.f64 re) (neg.f64 re)) |
(*.f64 re re) |
(pow.f64 (fabs.f64 re) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 re) #s(literal 2 binary64)) |
(pow.f64 re #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 re) re)) |
(neg.f64 (*.f64 re (neg.f64 re))) |
(fabs.f64 (*.f64 re re)) |
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) |
re |
(*.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64))) |
(*.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 im))) |
(*.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 im))) |
(*.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 im))) |
(*.f64 (fabs.f64 im) (fabs.f64 im)) |
(*.f64 (neg.f64 im) (neg.f64 im)) |
(*.f64 im im) |
(pow.f64 (fabs.f64 im) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 im) #s(literal 2 binary64)) |
(pow.f64 im #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 im) im)) |
(fabs.f64 (*.f64 im im)) |
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64))) |
im |
Compiled 1 422 to 508 computations (64.3% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 209 | 4 | 213 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 210 | 4 | 214 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 re im) |
| ▶ | 55.9% | (sqrt.f64 (fma.f64 re re (*.f64 im im))) |
| ▶ | 2.0% | #s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
| ▶ | 1.3% | #s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
Compiled 26 to 26 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 139 | 634 |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
(*.f64 #s(literal -1 binary64) im) |
#s(literal -1 binary64) |
im |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
(*.f64 #s(literal -1 binary64) re) |
re |
(sqrt.f64 (fma.f64 re re (*.f64 im im))) |
(fma.f64 re re (*.f64 im im)) |
(*.f64 im im) |
(hypot.f64 re im) |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (sqrt.f64 (pow.f64 im #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (* -1 re) (*.f64 #s(literal -1 binary64) re)) |
#s(approx re re) |
#s(approx (+ (* re re) (* im im)) (pow.f64 im #s(literal 2 binary64))) |
#s(approx (+ (* re re) (* im im)) (+.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (+ (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
#s(approx (+ (* re re) (* im im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (sqrt.f64 (pow.f64 re #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (* -1 im) (*.f64 #s(literal -1 binary64) im)) |
#s(approx im im) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (+ (* re re) (* im im)) (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | 0 | ((sqrt (+ (* re re) (* im im))) (* -1 im) -1 im (sqrt (+ (* re re) (* im im))) (* -1 re) re (sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* im im) (sqrt (+ (* re re) (* im im)))) |
| 1.0ms | im | @ | -inf | ((sqrt (+ (* re re) (* im im))) (* -1 im) -1 im (sqrt (+ (* re re) (* im im))) (* -1 re) re (sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* im im) (sqrt (+ (* re re) (* im im)))) |
| 1.0ms | im | @ | inf | ((sqrt (+ (* re re) (* im im))) (* -1 im) -1 im (sqrt (+ (* re re) (* im im))) (* -1 re) re (sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* im im) (sqrt (+ (* re re) (* im im)))) |
| 1.0ms | re | @ | -inf | ((sqrt (+ (* re re) (* im im))) (* -1 im) -1 im (sqrt (+ (* re re) (* im im))) (* -1 re) re (sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* im im) (sqrt (+ (* re re) (* im im)))) |
| 1.0ms | re | @ | inf | ((sqrt (+ (* re re) (* im im))) (* -1 im) -1 im (sqrt (+ (* re re) (* im im))) (* -1 re) re (sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im)) (* im im) (sqrt (+ (* re re) (* im im)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 38 |
| 0 | 19 | 34 |
| 1 | 59 | 34 |
| 0 | 511 | 34 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
(*.f64 #s(literal -1 binary64) im) |
#s(literal -1 binary64) |
im |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
(*.f64 #s(literal -1 binary64) re) |
re |
(sqrt.f64 (fma.f64 re re (*.f64 im im))) |
(fma.f64 re re (*.f64 im im)) |
(*.f64 im im) |
(hypot.f64 re im) |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
(*.f64 #s(literal -1 binary64) im) |
(*.f64 im #s(literal -1 binary64)) |
(neg.f64 im) |
#s(literal -1 binary64) |
im |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
(*.f64 #s(literal -1 binary64) re) |
(*.f64 re #s(literal -1 binary64)) |
(neg.f64 re) |
re |
(*.f64 (pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64))) (fabs.f64 re)) |
(*.f64 (pow.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 re re) #s(literal 1/2 binary64))) |
(pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im)))) (sqrt.f64 (*.f64 (+.f64 re im) (-.f64 re im)))) |
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(sqrt.f64 (*.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re))) (sqrt.f64 (fma.f64 im im (*.f64 re re))))) |
(sqrt.f64 (fma.f64 im im (*.f64 re re))) |
(fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re))))) |
(fabs.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re)))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) im) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) re) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) re) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) im) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) re) |
(hypot.f64 (neg.f64 (neg.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) re) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) im) |
(hypot.f64 (neg.f64 (neg.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) im) |
(hypot.f64 (fabs.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 im) (neg.f64 re)) |
(hypot.f64 (fabs.f64 im) re) |
(hypot.f64 (fabs.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 re) (neg.f64 im)) |
(hypot.f64 (fabs.f64 re) im) |
(hypot.f64 (neg.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 im) (fabs.f64 re)) |
(hypot.f64 (neg.f64 im) (neg.f64 re)) |
(hypot.f64 (neg.f64 im) re) |
(hypot.f64 (neg.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 re) (fabs.f64 im)) |
(hypot.f64 (neg.f64 re) (neg.f64 im)) |
(hypot.f64 (neg.f64 re) im) |
(hypot.f64 im (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 im (fabs.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 (neg.f64 re))) |
(hypot.f64 im (fabs.f64 re)) |
(hypot.f64 im (neg.f64 re)) |
(hypot.f64 im re) |
(hypot.f64 re (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 re (fabs.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 (neg.f64 im))) |
(hypot.f64 re (fabs.f64 im)) |
(hypot.f64 re (neg.f64 im)) |
(hypot.f64 re im) |
(exp.f64 (*.f64 (log.f64 (fma.f64 im im (*.f64 re re))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) (fabs.f64 re)) (fabs.f64 re)) |
(*.f64 (*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) (neg.f64 re)) (neg.f64 re)) |
(*.f64 (*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) re) re) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 re re) (*.f64 im im))) (*.f64 im im)) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (neg.f64 im) im) (*.f64 re re))) (*.f64 re re)) |
(*.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) (*.f64 re re)) |
(*.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im))) (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 re im) (-.f64 re im)))) |
(*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(*.f64 (*.f64 re re) (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 (*.f64 (*.f64 re re) re) re)) (-.f64 (*.f64 im im) (*.f64 re re))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)) (pow.f64 (*.f64 (neg.f64 im) im) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 re re) re) re (fma.f64 (*.f64 (*.f64 im im) im) im (*.f64 (*.f64 re re) (*.f64 (neg.f64 im) im))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im)))) (neg.f64 (*.f64 (+.f64 re im) (-.f64 re im)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)))) (neg.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 (+.f64 re im) (-.f64 re im)) (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))) (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))))) |
(/.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im))) (*.f64 (+.f64 re im) (-.f64 re im))) |
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))) (fma.f64 (*.f64 (*.f64 im im) im) im (-.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 (*.f64 (*.f64 re re) im) im)))) |
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re))) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re))))) |
(neg.f64 (-.f64 (*.f64 (neg.f64 im) im) (*.f64 re re))) |
(fma.f64 (*.f64 (neg.f64 im) #s(literal -1 binary64)) im (*.f64 re re)) |
(fma.f64 (*.f64 (neg.f64 re) #s(literal -1 binary64)) re (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (*.f64 (neg.f64 re) #s(literal -1 binary64)) re (*.f64 im im)) |
(fma.f64 (*.f64 (neg.f64 re) re) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (*.f64 (neg.f64 re) re) #s(literal -1 binary64) (*.f64 im im)) |
(fma.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)) (*.f64 im im)) |
(fma.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64)) (*.f64 re re)) |
(fma.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 im)) (*.f64 re re)) |
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 im im)) |
(fma.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 im)) (*.f64 re re)) |
(fma.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 im)) (*.f64 re re)) |
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 im im)) |
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 im im)) |
(fma.f64 (*.f64 (neg.f64 im) im) #s(literal -1 binary64) (*.f64 re re)) |
(fma.f64 #s(literal 1 binary64) (*.f64 im im) (*.f64 re re)) |
(fma.f64 #s(literal 1 binary64) (*.f64 re re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 #s(literal 1 binary64) (*.f64 re re) (*.f64 im im)) |
(fma.f64 (fabs.f64 im) (fabs.f64 im) (*.f64 re re)) |
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 im im)) |
(fma.f64 (neg.f64 im) (neg.f64 im) (*.f64 re re)) |
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 im im)) |
(fma.f64 (*.f64 im im) #s(literal 1 binary64) (*.f64 re re)) |
(fma.f64 #s(literal -1 binary64) (*.f64 re (neg.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 #s(literal -1 binary64) (*.f64 re (neg.f64 re)) (*.f64 im im)) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 im) im) (*.f64 re re)) |
(fma.f64 im (*.f64 #s(literal -1 binary64) (neg.f64 im)) (*.f64 re re)) |
(fma.f64 im im (*.f64 re re)) |
(fma.f64 (*.f64 re re) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 (*.f64 re re) #s(literal 1 binary64) (*.f64 im im)) |
(fma.f64 re (*.f64 #s(literal -1 binary64) (neg.f64 re)) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 re (*.f64 #s(literal -1 binary64) (neg.f64 re)) (*.f64 im im)) |
(fma.f64 re re (*.f64 (neg.f64 (neg.f64 im)) im)) |
(fma.f64 re re (*.f64 im im)) |
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 (+.f64 re im) (-.f64 re im))) (/.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 (+.f64 re im) (-.f64 re im)))) |
(-.f64 (*.f64 im im) (*.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 re))) |
(-.f64 (*.f64 im im) (*.f64 (neg.f64 (neg.f64 re)) (neg.f64 re))) |
(-.f64 (*.f64 im im) (*.f64 (neg.f64 re) re)) |
(-.f64 (*.f64 im im) (*.f64 re (neg.f64 re))) |
(-.f64 (*.f64 im im) (neg.f64 (*.f64 re re))) |
(-.f64 (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im)) (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(+.f64 (*.f64 im im) (*.f64 re re)) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 (*.f64 (neg.f64 im) #s(literal -1 binary64)) im) |
(*.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64))) |
(*.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 im))) |
(*.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 im))) |
(*.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 im))) |
(*.f64 (*.f64 (neg.f64 im) im) #s(literal -1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 im im)) |
(*.f64 (fabs.f64 im) (fabs.f64 im)) |
(*.f64 (neg.f64 im) (neg.f64 im)) |
(*.f64 (*.f64 im im) #s(literal 1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 im) im)) |
(*.f64 im (*.f64 #s(literal -1 binary64) (neg.f64 im))) |
(*.f64 im im) |
(pow.f64 (fabs.f64 im) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 im) #s(literal 2 binary64)) |
(pow.f64 im #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 im) im)) |
(fabs.f64 (*.f64 im im)) |
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64))) (fabs.f64 re)) |
(*.f64 (pow.f64 (fma.f64 im (/.f64 im (*.f64 re re)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 re re) #s(literal 1/2 binary64))) |
(pow.f64 (fma.f64 im im (*.f64 re re)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 im im (*.f64 re re)) (*.f64 (+.f64 re im) (-.f64 re im)))) (sqrt.f64 (*.f64 (+.f64 re im) (-.f64 re im)))) |
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 im im) im) im) (*.f64 im im) (*.f64 (*.f64 (*.f64 (*.f64 re re) re) re) (*.f64 re re)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 re re) re) re (*.f64 (*.f64 im im) (-.f64 (*.f64 im im) (*.f64 re re)))))) |
(sqrt.f64 (*.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re))) (sqrt.f64 (fma.f64 im im (*.f64 re re))))) |
(sqrt.f64 (fma.f64 im im (*.f64 re re))) |
(fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re))))) |
(fabs.f64 (sqrt.f64 (fma.f64 im im (*.f64 re re)))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) im) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) re) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) re) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) im) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) re) |
(hypot.f64 (neg.f64 (neg.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) re) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) im) |
(hypot.f64 (neg.f64 (neg.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) im) |
(hypot.f64 (fabs.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 im) (neg.f64 re)) |
(hypot.f64 (fabs.f64 im) re) |
(hypot.f64 (fabs.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 re) (neg.f64 im)) |
(hypot.f64 (fabs.f64 re) im) |
(hypot.f64 (neg.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 im) (fabs.f64 re)) |
(hypot.f64 (neg.f64 im) (neg.f64 re)) |
(hypot.f64 (neg.f64 im) re) |
(hypot.f64 (neg.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 re) (fabs.f64 im)) |
(hypot.f64 (neg.f64 re) (neg.f64 im)) |
(hypot.f64 (neg.f64 re) im) |
(hypot.f64 im (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 im (fabs.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 (neg.f64 re))) |
(hypot.f64 im (fabs.f64 re)) |
(hypot.f64 im (neg.f64 re)) |
(hypot.f64 im re) |
(hypot.f64 re (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 re (fabs.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 (neg.f64 im))) |
(hypot.f64 re (fabs.f64 im)) |
(hypot.f64 re (neg.f64 im)) |
(hypot.f64 re im) |
(exp.f64 (*.f64 (log.f64 (fma.f64 im im (*.f64 re re))) #s(literal 1/2 binary64))) |
Compiled 1 514 to 540 computations (64.3% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 231 | 2 | 233 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 2 | 4 |
| Done | 0 | 0 | 0 |
| Total | 233 | 4 | 237 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 re im) |
| ✓ | 55.9% | (sqrt.f64 (fma.f64 re re (*.f64 im im))) |
| ▶ | 2.0% | #s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
| ▶ | 1.3% | #s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
Compiled 24 to 24 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 131 | 558 |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
(neg.f64 im) |
im |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
(neg.f64 re) |
re |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (sqrt.f64 (pow.f64 im #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (neg re) (*.f64 #s(literal -1 binary64) re)) |
#s(approx re re) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 re (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 6 binary64)) (pow.f64 re #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (sqrt.f64 (pow.f64 re #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (+.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 re #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 re #s(literal 2 binary64))))))))) |
#s(approx (neg im) (*.f64 #s(literal -1 binary64) im)) |
#s(approx im im) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | -inf | ((sqrt (+ (* re re) (* im im))) (neg im) im (sqrt (+ (* re re) (* im im))) (neg re) re) |
| 0.0ms | re | @ | -inf | ((sqrt (+ (* re re) (* im im))) (neg im) im (sqrt (+ (* re re) (* im im))) (neg re) re) |
| 0.0ms | re | @ | inf | ((sqrt (+ (* re re) (* im im))) (neg im) im (sqrt (+ (* re re) (* im im))) (neg re) re) |
| 0.0ms | im | @ | inf | ((sqrt (+ (* re re) (* im im))) (neg im) im (sqrt (+ (* re re) (* im im))) (neg re) re) |
| 0.0ms | re | @ | 0 | ((sqrt (+ (* re re) (* im im))) (neg im) im (sqrt (+ (* re re) (* im im))) (neg re) re) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 28 |
| 0 | 12 | 28 |
| 1 | 46 | 28 |
| 0 | 480 | 18 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
(neg.f64 im) |
im |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
(neg.f64 re) |
re |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
(neg.f64 im) |
im |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
(neg.f64 re) |
re |
Compiled 357 to 129 computations (63.9% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 0 | 24 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 2 | 2 |
| Total | 24 | 4 | 28 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 re im) |
| ✓ | 55.9% | (sqrt.f64 (fma.f64 re re (*.f64 im im))) |
| ✓ | 2.0% | #s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
| ✓ | 1.3% | #s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
Compiled 59 to 46 computations (22% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
(sqrt.f64 (fma.f64 re re (*.f64 im im))) |
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(hypot.f64 re im) |
| Outputs |
|---|
(hypot.f64 re im) |
6 calls:
| 18.0ms | im |
| 8.0ms | re |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 2.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0ms | (*.f64 im im) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 im im) |
| 100.0% | 1 | (*.f64 re re) |
| 100.0% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 100.0% | 1 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 100.0% | 1 | re |
| 100.0% | 1 | im |
Compiled 17 to 21 computations (-23.5% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
(sqrt.f64 (fma.f64 re re (*.f64 im im))) |
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| Outputs |
|---|
(sqrt.f64 (fma.f64 re re (*.f64 im im))) |
6 calls:
| 21.0ms | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 2.0ms | im |
| 2.0ms | re |
| 2.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0ms | (*.f64 im im) |
| Accuracy | Segments | Branch |
|---|---|---|
| 55.9% | 1 | (*.f64 im im) |
| 55.9% | 1 | (*.f64 re re) |
| 55.9% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 55.9% | 1 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 55.9% | 1 | re |
| 55.9% | 1 | im |
Compiled 17 to 21 computations (-23.5% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) im)) |
#s(approx (sqrt (+ (* re re) (* im im))) (*.f64 #s(literal -1 binary64) re)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 re)) |
6 calls:
| 2.0ms | im |
| 2.0ms | re |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 2.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0ms | (*.f64 im im) |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.0% | 1 | (*.f64 re re) |
| 2.0% | 1 | re |
| 2.0% | 1 | im |
| 2.0% | 1 | (*.f64 im im) |
| 2.0% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0% | 1 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
Compiled 17 to 21 computations (-23.5% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* re re) (* im im))) (neg.f64 im)) |
6 calls:
| 455.0ms | im |
| 1.0ms | re |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 1.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 1.0ms | (*.f64 im im) |
| Accuracy | Segments | Branch |
|---|---|---|
| 1.3% | 1 | (*.f64 im im) |
| 1.3% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 1.3% | 1 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 1.3% | 1 | im |
| 1.3% | 1 | (*.f64 re re) |
| 1.3% | 1 | re |
Compiled 17 to 21 computations (-23.5% saved)
| 1× | done |
Compiled 18 to 14 computations (22.2% saved)
(sort re im)
(abs im)
(abs re)
Compiled 184 to 180 computations (2.2% saved)
Loading profile data...