
Time bar (total: 3.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)
| 666.0ms | 8 256× | 0 | valid |
ival-hypot: 340.0ms (96.6% of total)ival-true: 6.0ms (1.7% of total)ival-assert: 3.0ms (0.9% of total)adjust: 2.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 125 | 0 | - | 0 | - | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 y y) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) | oflow-rescue | 102 | 0 |
| ↳ | (*.f64 y y) | overflow | 62 | |
| ↳ | (*.f64 x x) | overflow | 50 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 y y)) | overflow | 102 | |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) | uflow-rescue | 23 | 0 |
| ↳ | (*.f64 y y) | underflow | 68 | |
| ↳ | (*.f64 x x) | underflow | 62 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 y y)) | underflow | 23 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 125 | 0 |
| - | 0 | 131 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 125 | 0 | 0 |
| - | 0 | 0 | 131 |
| number | freq |
|---|---|
| 0 | 131 |
| 1 | 125 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 34.0ms | 512× | 0 | valid |
Compiled 58 to 22 computations (62.1% saved)
ival-mult: 9.0ms (44.3% of total)ival-hypot: 9.0ms (44.3% of total)ival-add: 2.0ms (9.8% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 42 |
| 1 | 42 | 42 |
| 2 | 92 | 42 |
| 3 | 117 | 42 |
| 4 | 155 | 42 |
| 0 | 6 | 8 |
| 0 | 10 | 8 |
| 1 | 21 | 8 |
| 2 | 60 | 8 |
| 3 | 117 | 8 |
| 4 | 154 | 8 |
| 0 | 154 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(hypot.f64 y x) |
(abs y)
(abs x)
(sort x y)
Compiled 8 to 6 computations (25% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 54.4% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
Compiled 8 to 6 computations (25% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) | |
| cost-diff | 4 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 23 |
| 0 | 10 | 23 |
| 1 | 21 | 23 |
| 2 | 60 | 23 |
| 3 | 117 | 23 |
| 4 | 154 | 23 |
| 0 | 154 | 17 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
x |
(*.f64 y y) |
y |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(hypot.f64 y x) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(*.f64 x x) |
x |
(*.f64 y y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.01171875 | (+.f64 (*.f64 x x) (*.f64 y y)) | |
| accuracy | 29.185630171787462 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 16.0ms | 256× | 0 | valid |
Compiled 25 to 8 computations (68% saved)
ival-hypot: 4.0ms (44.8% of total)ival-mult: 3.0ms (33.6% of total)ival-add: 1.0ms (11.2% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
(*.f64 y y) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (* y y)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (* y y)) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (* y y)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (* y y)) |
| 1.0ms | y | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (* y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 104 | 441 |
| 1 | 323 | 441 |
| 2 | 1323 | 435 |
| 3 | 6816 | 435 |
| 0 | 8217 | 396 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) y) y) (*.f64 x x) #s(literal 1/2 binary64)) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(pow y 2) |
(*.f64 y y) |
(+ (pow x 2) (pow y 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow x 2) |
(*.f64 x x) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) (/.f64 (/.f64 y x) x) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) (/.f64 y x) #s(literal 1 binary64))) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) (/.f64 y x) #s(literal 1 binary64)))) x) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(*.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)))) x) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)) y) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(*.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)))) y) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)) y) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64))) y) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)))) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 0 | 10 | 21 |
| 1 | 39 | 21 |
| 0 | 346 | 15 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y) |
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) y) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) y) |
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) x) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 y)) x) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) y) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) x) |
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 y) (neg.f64 x)) |
(hypot.f64 (neg.f64 y) (fabs.f64 x)) |
(hypot.f64 (neg.f64 y) x) |
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 y)) |
(hypot.f64 (neg.f64 x) (fabs.f64 y)) |
(hypot.f64 (neg.f64 x) y) |
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 y) (neg.f64 x)) |
(hypot.f64 (fabs.f64 y) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 y) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 x) (neg.f64 y)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 y)) |
(hypot.f64 (fabs.f64 x) y) |
(hypot.f64 y (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 y (neg.f64 (neg.f64 x))) |
(hypot.f64 y (neg.f64 (fabs.f64 x))) |
(hypot.f64 y (fabs.f64 (fabs.f64 x))) |
(hypot.f64 y (neg.f64 x)) |
(hypot.f64 y (fabs.f64 x)) |
(hypot.f64 y x) |
(hypot.f64 x (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 (neg.f64 y))) |
(hypot.f64 x (neg.f64 (fabs.f64 y))) |
(hypot.f64 x (fabs.f64 (fabs.f64 y))) |
(hypot.f64 x (neg.f64 y)) |
(hypot.f64 x (fabs.f64 y)) |
(hypot.f64 x y) |
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y y)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y)) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 x x (*.f64 y y)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y)))) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)) |
(-.f64 (*.f64 y y) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 y y) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
Compiled 2 070 to 446 computations (78.5% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 191 | 5 | 196 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 192 | 5 | 197 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 y x) |
| ▶ | 54.4% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| ▶ | 53.6% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ▶ | 95.8% | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
| ▶ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
Compiled 100 to 70 computations (30% saved)
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (/.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 y y (*.f64 x x)) | |
| cost-diff | 4 | (sqrt.f64 (fma.f64 y y (*.f64 x x))) | |
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | #s(approx (+ (* x x) (* y y)) (*.f64 y y)) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) | |
| cost-diff | 0 | (hypot.f64 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 94 |
| 0 | 28 | 82 |
| 1 | 46 | 82 |
| 2 | 117 | 82 |
| 3 | 270 | 82 |
| 4 | 487 | 82 |
| 5 | 644 | 82 |
| 6 | 668 | 82 |
| 0 | 668 | 82 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(hypot.f64 y x) |
y |
x |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
x |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
y |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(fma.f64 y y (*.f64 x x)) |
y |
(*.f64 x x) |
x |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
(*.f64 x x) |
x |
| Outputs |
|---|
(hypot.f64 y x) |
(hypot.f64 x y) |
y |
x |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
x |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
y |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(hypot.f64 x y) |
(fma.f64 y y (*.f64 x x)) |
(fma.f64 x x (*.f64 y y)) |
y |
(*.f64 x x) |
x |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
(*.f64 x x) |
x |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.35408580928802946 | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) | |
| accuracy | 2.337228503184897 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (fma.f64 y y (*.f64 x x)) | |
| accuracy | 29.185630171787462 | (sqrt.f64 (fma.f64 y y (*.f64 x x))) | |
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.5264072859714378 | #s(approx (+ (* x x) (* y y)) (*.f64 y y)) | |
| accuracy | 29.185630171787462 | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 62.777784698892425 | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) | |
| accuracy | 0.0 | (hypot.f64 y x) |
| 43.0ms | 256× | 0 | valid |
Compiled 88 to 15 computations (83% saved)
ival-hypot: 14.0ms (44.3% of total)ival-add: 10.0ms (31.7% of total)ival-mult: 4.0ms (12.7% of total)ival-div: 2.0ms (6.3% of total)ival-neg: 1.0ms (3.2% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(hypot.f64 y x) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(fma.f64 y y (*.f64 x x)) |
(*.f64 x x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(/.f64 #s(literal 1/2 binary64) y) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(* -1 x) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* 1/2 (/ (pow x 2) y)) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(/ 1/2 y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | y | @ | -inf | ((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y)) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y)) |
| 1.0ms | y | @ | 0 | ((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 116 | 478 |
| 1 | 349 | 478 |
| 2 | 1401 | 460 |
| 3 | 5767 | 459 |
| 0 | 8119 | 421 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(* -1 x) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* 1/2 (/ (pow x 2) y)) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(/ 1/2 y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) y) y) (*.f64 x x) #s(literal 1/2 binary64)) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(* -1 x) |
(neg.f64 x) |
(pow y 2) |
(*.f64 y y) |
(+ (pow x 2) (pow y 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow x 2) |
(*.f64 x x) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(fma.f64 (/.f64 x x) (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64))) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))) x) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(*.f64 (fma.f64 (/.f64 y x) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x)) |
(* 1/2 (/ (pow x 2) y)) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))) (neg.f64 x)) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(/ 1/2 y) |
(/.f64 #s(literal 1/2 binary64) y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(fma.f64 (/.f64 (*.f64 x x) y) y (*.f64 y y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y)) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(neg.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 82 |
| 0 | 28 | 70 |
| 1 | 87 | 70 |
| 0 | 722 | 70 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(hypot.f64 y x) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(fma.f64 y y (*.f64 x x)) |
(*.f64 x x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(/.f64 #s(literal 1/2 binary64) y) |
| Outputs |
|---|
(*.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y) |
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) x) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 y)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) y) |
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) y) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) x) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) y) |
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 y) (fabs.f64 x)) |
(hypot.f64 (neg.f64 y) (neg.f64 x)) |
(hypot.f64 (neg.f64 y) x) |
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 y) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 y) (neg.f64 x)) |
(hypot.f64 (fabs.f64 y) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 x) (neg.f64 y)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 y)) |
(hypot.f64 (fabs.f64 x) y) |
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 y)) |
(hypot.f64 (neg.f64 x) (fabs.f64 y)) |
(hypot.f64 (neg.f64 x) y) |
(hypot.f64 x (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 (neg.f64 y))) |
(hypot.f64 x (neg.f64 (fabs.f64 y))) |
(hypot.f64 x (fabs.f64 (fabs.f64 y))) |
(hypot.f64 x (neg.f64 y)) |
(hypot.f64 x (fabs.f64 y)) |
(hypot.f64 x y) |
(hypot.f64 y (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 y (neg.f64 (fabs.f64 x))) |
(hypot.f64 y (neg.f64 (neg.f64 x))) |
(hypot.f64 y (fabs.f64 (fabs.f64 x))) |
(hypot.f64 y (fabs.f64 x)) |
(hypot.f64 y (neg.f64 x)) |
(hypot.f64 y x) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 y y))) #s(literal 1/2 binary64))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
(*.f64 (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) #s(literal 1/2 binary64))) |
#s(approx (+ (* x x) (* y y)) (*.f64 y y)) |
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 y y) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y) |
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) x) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 y)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) y) |
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) y) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 y)) x) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) y) |
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 y) (fabs.f64 x)) |
(hypot.f64 (neg.f64 y) (neg.f64 x)) |
(hypot.f64 (neg.f64 y) x) |
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 y) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 y) (neg.f64 x)) |
(hypot.f64 (fabs.f64 y) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (fabs.f64 x) (neg.f64 y)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 y)) |
(hypot.f64 (fabs.f64 x) y) |
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 y)) |
(hypot.f64 (neg.f64 x) (fabs.f64 y)) |
(hypot.f64 (neg.f64 x) y) |
(hypot.f64 x (pow.f64 y #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 (neg.f64 y))) |
(hypot.f64 x (neg.f64 (fabs.f64 y))) |
(hypot.f64 x (fabs.f64 (fabs.f64 y))) |
(hypot.f64 x (neg.f64 y)) |
(hypot.f64 x (fabs.f64 y)) |
(hypot.f64 x y) |
(hypot.f64 y (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 y (neg.f64 (fabs.f64 x))) |
(hypot.f64 y (neg.f64 (neg.f64 x))) |
(hypot.f64 y (fabs.f64 (fabs.f64 x))) |
(hypot.f64 y (fabs.f64 x)) |
(hypot.f64 y (neg.f64 x)) |
(hypot.f64 y x) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 y y))) #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (+.f64 y x) (-.f64 y x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))) |
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y y)) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y)) |
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y y (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 y y (*.f64 x x)) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64))) (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y)) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) (*.f64 x y))))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x) y) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x) y) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) y) y) |
(fma.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y) y) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y) |
(fma.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) y) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y))) |
(-.f64 y (*.f64 (neg.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) x)) |
(-.f64 y (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x))) |
(-.f64 y (*.f64 (*.f64 (neg.f64 x) x) (/.f64 #s(literal 1/2 binary64) y))) |
(+.f64 (/.f64 (*.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y) |
(+.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 y)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y))) |
(/.f64 #s(literal 1/2 binary64) y) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) y)) |
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y))) |
Compiled 3 483 to 618 computations (82.3% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 258 | 2 | 260 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 259 | 6 | 265 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 54.4% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| ✓ | 53.6% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ▶ | 99.4% | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
| ✓ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| ▶ | 3.9% | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
Compiled 76 to 51 computations (32.9% saved)
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) | |
| cost-diff | 0 | (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) | |
| cost-diff | 0 | (/.f64 (*.f64 x x) y) | |
| cost-diff | 0 | (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 97 |
| 0 | 26 | 95 |
| 1 | 51 | 95 |
| 2 | 133 | 95 |
| 3 | 304 | 95 |
| 4 | 528 | 95 |
| 5 | 653 | 95 |
| 6 | 662 | 95 |
| 0 | 662 | 85 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(/.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x))) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x)) |
(/.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x) y)) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) |
(fma.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x) y) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) | |
| accuracy | 0.0 | (/.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.19759750976844204 | (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) | |
| accuracy | 0.35408580928802946 | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.35408580928802946 | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) | |
| accuracy | 7.898829146171512 | (/.f64 (*.f64 x x) y) | |
| accuracy | 61.428947044184234 | #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
| 57.0ms | 256× | 0 | valid |
Compiled 65 to 15 computations (76.9% saved)
ival-mult: 25.0ms (54.4% of total)ival-div: 14.0ms (30.5% of total)ival-hypot: 5.0ms (10.9% of total)ival-add: 2.0ms (4.4% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(/.f64 (*.f64 x x) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
(*.f64 x x) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(* 1/2 (/ (pow x 2) y)) |
(/ (pow x 2) y) |
(* 1/2 (/ x y)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(/ 1/2 y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (* x x)) |
| 2.0ms | x | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (* x x)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (* x x)) |
| 1.0ms | y | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (* x x)) |
| 1.0ms | y | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 113 | 457 |
| 1 | 332 | 457 |
| 2 | 1346 | 437 |
| 3 | 6764 | 437 |
| 0 | 8624 | 402 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(* 1/2 (/ (pow x 2) y)) |
(/ (pow x 2) y) |
(* 1/2 (/ x y)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(/ 1/2 y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal -1/8 binary64) #s(literal 1/2 binary64)) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(* 1/2 (/ (pow x 2) y)) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(/ (pow x 2) y) |
(/.f64 (*.f64 x x) y) |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) (/.f64 y (*.f64 x x)) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) y #s(literal 1 binary64))) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) y #s(literal 1 binary64)))) x) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) y #s(literal 1 binary64))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(/ 1/2 y) |
(/.f64 #s(literal 1/2 binary64) y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y)) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(neg.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
(neg.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 91 |
| 0 | 26 | 89 |
| 1 | 97 | 89 |
| 0 | 620 | 79 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(/.f64 (*.f64 x x) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x)) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) y)) |
(*.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) |
(*.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 (*.f64 (*.f64 (neg.f64 x) x) #s(literal 1/2 binary64)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) x)) (neg.f64 y)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) y) |
(*.f64 (/.f64 x y) x) |
(*.f64 (neg.f64 x) (/.f64 (neg.f64 x) y)) |
(*.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) y)) |
(*.f64 x (/.f64 x y)) |
(/.f64 (*.f64 (neg.f64 x) x) (neg.f64 y)) |
(/.f64 (*.f64 x x) (neg.f64 (neg.f64 y))) |
(/.f64 (*.f64 x x) y) |
(neg.f64 (/.f64 (*.f64 (neg.f64 x) x) y)) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 y))) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64))) (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y)) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) (*.f64 x y))))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x) y) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x) y) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) y) y) |
(fma.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y) y) |
(fma.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) y) |
(fma.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) y) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y))) |
(-.f64 y (*.f64 (neg.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) x)) |
(-.f64 y (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x))) |
(-.f64 y (*.f64 (*.f64 (neg.f64 x) x) (/.f64 #s(literal 1/2 binary64) y))) |
(-.f64 y (*.f64 (neg.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))) |
(+.f64 (/.f64 (*.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y) |
(+.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(*.f64 x (/.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y)) |
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 y)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y))) |
(/.f64 #s(literal 1/2 binary64) y) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) y)) |
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 2 773 to 432 computations (84.4% saved)
7 alts after pruning (2 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 106 | 2 | 108 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 4 | 4 |
| Total | 107 | 7 | 114 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 54.4% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| ✓ | 53.6% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ✓ | 99.4% | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
| ✓ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| ▶ | 4.0% | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
| ▶ | 4.0% | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
Compiled 102 to 67 computations (34.3% saved)
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (/.f64 x y) x) | |
| cost-diff | 0 | (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) | |
| cost-diff | 0 | (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) | |
| cost-diff | 0 | (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) | |
| cost-diff | 0 | #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 122 |
| 0 | 26 | 122 |
| 1 | 51 | 122 |
| 2 | 131 | 122 |
| 3 | 307 | 122 |
| 4 | 531 | 122 |
| 5 | 656 | 122 |
| 6 | 665 | 122 |
| 0 | 665 | 108 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 x y) x) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) |
(*.f64 (/.f64 x y) x) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) | |
| accuracy | 0.125 | (*.f64 (/.f64 x y) x) | |
| accuracy | 0.35408580928802946 | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) | |
| accuracy | 61.428947044184234 | #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64))) | |
| accuracy | 0.125 | (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) | |
| accuracy | 0.19759750976844204 | (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) | |
| accuracy | 0.35408580928802946 | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) | |
| accuracy | 61.428947044184234 | #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) |
| 65.0ms | 256× | 0 | valid |
Compiled 72 to 15 computations (79.2% saved)
ival-div: 40.0ms (72.5% of total)ival-mult: 9.0ms (16.3% of total)ival-hypot: 5.0ms (9.1% of total)ival-add: 1.0ms (1.8% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 x y) x) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(* 1/2 (/ (pow x 2) y)) |
(* 1/2 (/ x y)) |
(/ (pow x 2) y) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ x y) x) 1/2) (* (/ x y) x)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ x y) x) 1/2) (* (/ x y) x)) |
| 1.0ms | y | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ x y) x) 1/2) (* (/ x y) x)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ x y) x) 1/2) (* (/ x y) x)) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ x y) x) 1/2) (* (/ x y) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 112 | 451 |
| 1 | 332 | 451 |
| 2 | 1346 | 431 |
| 3 | 6754 | 431 |
| 0 | 8614 | 396 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(* 1/2 (/ (pow x 2) y)) |
(* 1/2 (/ x y)) |
(/ (pow x 2) y) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
| Outputs |
|---|
y |
(+ y (* 1/2 (/ (pow x 2) y))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal -1/8 binary64) #s(literal 1/2 binary64)) y) (*.f64 x x) y) |
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(* 1/2 (/ (pow x 2) y)) |
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)) |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/ (pow x 2) y) |
(/.f64 (*.f64 x x) y) |
x |
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))) |
(fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) (/.f64 y (*.f64 x x)) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) y #s(literal 1 binary64))) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) y #s(literal 1 binary64)))) x) |
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2)))) |
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
(*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) y #s(literal 1 binary64))))) |
(+ x (* 1/2 (/ (pow y 2) x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x) |
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x) |
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))) |
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y)) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))) |
(neg.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))) |
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y))) |
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1))) |
(neg.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 110 |
| 0 | 26 | 110 |
| 1 | 83 | 110 |
| 0 | 601 | 96 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 x y) x) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) x)) |
(*.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) |
(*.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (neg.f64 y)) |
(/.f64 (*.f64 (neg.f64 x) (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (*.f64 x (*.f64 #s(literal 1/2 binary64) x)) y) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) y) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(*.f64 x (/.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y)) |
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))) |
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) x)) |
(*.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) |
(*.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (neg.f64 y)) |
(/.f64 (*.f64 (neg.f64 x) (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (*.f64 x (*.f64 #s(literal 1/2 binary64) x)) y) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) y) |
(*.f64 (neg.f64 x) (/.f64 (neg.f64 x) y)) |
(*.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) y)) |
(*.f64 (/.f64 x y) x) |
(*.f64 x (/.f64 x y)) |
(/.f64 (*.f64 (neg.f64 x) x) (neg.f64 y)) |
(/.f64 (*.f64 x (neg.f64 x)) (neg.f64 y)) |
(/.f64 (neg.f64 (*.f64 x x)) (neg.f64 y)) |
(/.f64 (*.f64 x x) y) |
Compiled 1 659 to 268 computations (83.8% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 0 | 61 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 5 | 5 |
| Total | 61 | 7 | 68 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 54.4% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| ✓ | 53.6% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ✓ | 99.4% | #s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
| ✓ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| ✓ | 4.0% | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
| ✓ | 4.0% | #s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
Compiled 255 to 107 computations (58% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(hypot.f64 y x) |
| Outputs |
|---|
(hypot.f64 y x) |
6 calls:
| 16.0ms | x |
| 6.0ms | (*.f64 y y) |
| 3.0ms | y |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 y y) |
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 100.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 23 to 21 computations (8.7% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
6 calls:
| 21.0ms | (*.f64 x x) |
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | (*.f64 y y) |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 1 | (*.f64 y y) |
| 99.4% | 1 | (*.f64 x x) |
| 99.4% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 99.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 99.4% | 1 | x |
| 99.4% | 1 | y |
Compiled 23 to 21 computations (8.7% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
6 calls:
| 25.0ms | (*.f64 y y) |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.4% | 1 | (*.f64 y y) |
| 54.4% | 1 | (*.f64 x x) |
| 54.4% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 54.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 54.4% | 1 | x |
| 54.4% | 1 | y |
Compiled 23 to 21 computations (8.7% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 x y) x) #s(literal 1/2 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
6 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.6% | 1 | y |
| 53.6% | 1 | x |
| 53.6% | 1 | (*.f64 y y) |
| 53.6% | 1 | (*.f64 x x) |
| 53.6% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 53.6% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
Compiled 23 to 21 computations (8.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
6 calls:
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (*.f64 y y) |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 1.9% | 1 | y |
| 1.9% | 1 | x |
| 1.9% | 1 | (*.f64 y y) |
| 1.9% | 1 | (*.f64 x x) |
| 1.9% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.9% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
Compiled 23 to 21 computations (8.7% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 50 |
| 1 | 35 | 50 |
| 2 | 75 | 50 |
| 3 | 132 | 50 |
| 4 | 169 | 50 |
| 1× | saturated |
| Inputs |
|---|
(hypot.f64 y x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| Outputs |
|---|
(hypot.f64 y x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 0 | 10 | 21 |
| 1 | 39 | 21 |
| 0 | 346 | 15 |
| 0 | 104 | 441 |
| 1 | 323 | 441 |
| 2 | 1323 | 435 |
| 3 | 6816 | 435 |
| 0 | 8217 | 396 |
| 0 | 19 | 82 |
| 0 | 28 | 70 |
| 1 | 87 | 70 |
| 0 | 722 | 70 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
Compiled 50 to 20 computations (60% saved)
(sort x y)
(abs x)
(abs y)
Compiled 172 to 96 computations (44.2% saved)
Loading profile data...