
Time bar (total: 7.9s)
| 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)
| 569.0ms | 8 256× | 0 | valid |
ival-hypot: 273.0ms (95.8% of total)ival-true: 6.0ms (2.1% of total)adjust: 3.0ms (1.1% of total)ival-assert: 3.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 130 | 0 | - | 1 | (-2.2042779577128495e-158 2.030430710305206e-196) | (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 | 115 | 0 |
| ↳ | (*.f64 y y) | overflow | 60 | |
| ↳ | (*.f64 x x) | overflow | 63 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 y y)) | overflow | 115 | |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) | uflow-rescue | 14 | 0 |
| ↳ | (*.f64 y y) | underflow | 71 | |
| ↳ | (*.f64 x x) | underflow | 59 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 y y)) | underflow | 14 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 129 | 1 |
| - | 0 | 126 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 129 | 0 | 1 |
| - | 0 | 0 | 126 |
| number | freq |
|---|---|
| 0 | 127 |
| 1 | 129 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 32.0ms | 512× | 0 | valid |
Compiled 58 to 22 computations (62.1% saved)
ival-mult: 8.0ms (41.2% of total)ival-hypot: 8.0ms (41.2% of total)ival-add: 2.0ms (10.3% 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 |
|---|---|---|
| ▶ | 53.0% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
Compiled 8 to 6 computations (25% saved)
| 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 |
|---|
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 | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y) |
| 1.0ms | y | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y 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 | 23 |
| 0 | 10 | 23 |
| 1 | 39 | 23 |
| 0 | 346 | 17 |
| 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) |
x |
(*.f64 y 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))) |
x |
(*.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))) |
y |
Compiled 2 102 to 446 computations (78.8% saved)
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 194 | 6 | 200 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 195 | 6 | 201 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 y x) |
| ▶ | 53.0% | (sqrt.f64 (fma.f64 x x (*.f64 y y))) |
| 53.0% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) | |
| ▶ | 52.1% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ▶ | 96.5% | #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 142 to 94 computations (33.8% saved)
| Inputs |
|---|
(hypot.f64 y x) |
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 x x (*.f64 y y))) |
(fma.f64 x x (*.f64 y y)) |
#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) |
(*.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))))) |
x |
(* -1 x) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
(* 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 | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x)) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x)) |
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))))) |
x |
(* -1 x) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
(* 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)) |
x |
(* -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 (+ 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 | 85 |
| 0 | 29 | 73 |
| 1 | 87 | 73 |
| 0 | 722 | 73 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(hypot.f64 y x) |
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 x x (*.f64 y y))) |
(fma.f64 x x (*.f64 y y)) |
#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) |
(*.f64 x x) |
| 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))) |
y |
x |
#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)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y) 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 x 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 (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 (*.f64 (neg.f64 x) x) (/.f64 #s(literal 1/2 binary64) y))) |
(-.f64 y (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x 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 (/.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))) |
#s(literal 1/2 binary64) |
(*.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))) |
Compiled 3 626 to 616 computations (83% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 271 | 2 | 273 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 272 | 7 | 279 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 53.0% | (sqrt.f64 (fma.f64 x x (*.f64 y y))) |
| ▶ | 53.0% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) |
| ✓ | 52.1% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ▶ | 99.0% | #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.6% | #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 97 to 63 computations (35.1% saved)
| 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) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) |
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y) |
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) |
(/.f64 (/.f64 (*.f64 x x) 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))))) |
(* 1/2 (/ (pow x 2) y)) |
(/ (pow x 2) y) |
(pow x 2) |
x |
(* 1/2 (/ x y)) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(+ y (/ (pow x 2) y)) |
(/ (pow x 2) (pow y 2)) |
(* 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)))) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* (pow x 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) |
(/ (+ (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))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* y (+ 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))) |
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y)) |
| 2.0ms | y | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y)) |
| 2.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y)) |
| 2.0ms | y | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y)) |
| 2.0ms | y | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 127 | 542 |
| 1 | 384 | 542 |
| 2 | 1485 | 522 |
| 3 | 6043 | 521 |
| 0 | 8523 | 478 |
| 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) |
(pow x 2) |
x |
(* 1/2 (/ x y)) |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(+ y (/ (pow x 2) y)) |
(/ (pow x 2) (pow y 2)) |
(* 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)))) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* (pow x 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) |
(/ (+ (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))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* y (+ 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))) |
(* -1 (* y (- (* -1 (/ (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/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) |
(pow x 2) |
(*.f64 x x) |
x |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(pow y 2) |
(*.f64 y y) |
(+ (pow x 2) (pow y 2)) |
(fma.f64 y y (*.f64 x x)) |
(+ y (/ (pow x 2) y)) |
(fma.f64 (/.f64 x y) x y) |
(/ (pow x 2) (pow y 2)) |
(/.f64 (/.f64 (*.f64 x x) y) y) |
(* 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/2 (/ 1 y)) (/ y (pow x 2)))) |
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(*.f64 (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) y #s(literal 1 binary64)) x) x) |
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2)))) |
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x (/.f64 x y)) 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 #s(literal 1/2 binary64) x) y) 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) |
(/ (+ (pow x 2) (pow y 2)) y) |
(fma.f64 (/.f64 x y) 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 (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)))) |
(*.f64 (fma.f64 (/.f64 x y) x y) y) |
(* y (+ 1 (/ (pow x 2) (pow y 2)))) |
(fma.f64 (/.f64 x y) x 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) |
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1))) |
(*.f64 (fma.f64 (/.f64 x (neg.f64 y)) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 164 |
| 0 | 36 | 162 |
| 1 | 129 | 162 |
| 0 | 861 | 150 |
| 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) |
(*.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) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) |
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y) |
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) |
(/.f64 (/.f64 (*.f64 x x) y) y) |
| 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 (*.f64 #s(literal 1/2 binary64) x) x)) (neg.f64 y)) |
(/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) 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 (neg.f64 x) (/.f64 x 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))) |
x |
y |
#s(literal 1/2 binary64) |
#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 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) #s(literal 1/2 binary64))) |
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) |
(*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)) (*.f64 y y)) |
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y) |
(*.f64 y (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y)) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y)) y) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64))) y) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))) |
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y))) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(/.f64 (*.f64 y (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64)))) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))) |
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(fma.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y (*.f64 y y)) |
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) (*.f64 y y) (*.f64 y y)) |
(fma.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) (*.f64 y y)) |
(fma.f64 y y (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(+.f64 (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)) y) |
(*.f64 y (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))) (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))) |
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) |
(fma.f64 (/.f64 (*.f64 x x) y) (/.f64 y y) y) |
(fma.f64 y (/.f64 (/.f64 (*.f64 x x) y) y) y) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))) |
(-.f64 y (*.f64 (neg.f64 (/.f64 (/.f64 (*.f64 x x) y) y)) y)) |
(-.f64 y (*.f64 (neg.f64 y) (/.f64 (/.f64 (*.f64 x x) y) y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y) |
(+.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) |
(*.f64 (/.f64 (neg.f64 x) (fabs.f64 y)) (/.f64 (neg.f64 x) (fabs.f64 y))) |
(*.f64 (/.f64 (neg.f64 x) y) (/.f64 (neg.f64 x) y)) |
(*.f64 (/.f64 (fabs.f64 x) (neg.f64 y)) (/.f64 (fabs.f64 x) (neg.f64 y))) |
(*.f64 (/.f64 (fabs.f64 x) (fabs.f64 y)) (/.f64 (fabs.f64 x) (fabs.f64 y))) |
(*.f64 (/.f64 (fabs.f64 x) y) (/.f64 (fabs.f64 x) y)) |
(*.f64 (/.f64 x (neg.f64 y)) (/.f64 x (neg.f64 y))) |
(*.f64 (/.f64 x (fabs.f64 y)) (/.f64 x (fabs.f64 y))) |
(*.f64 (/.f64 x y) (/.f64 x y)) |
(*.f64 (neg.f64 x) (/.f64 (neg.f64 x) (*.f64 y y))) |
(*.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) (*.f64 y y))) |
(*.f64 x (/.f64 (/.f64 x y) y)) |
(*.f64 x (/.f64 x (*.f64 y y))) |
(/.f64 (/.f64 (*.f64 x x) (fabs.f64 y)) (fabs.f64 y)) |
(/.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 y) y)) |
(/.f64 (*.f64 (neg.f64 x) (/.f64 x y)) (neg.f64 y)) |
(/.f64 (/.f64 (*.f64 x x) y) (neg.f64 (neg.f64 y))) |
(/.f64 (/.f64 (*.f64 x x) y) y) |
(/.f64 (*.f64 x x) (*.f64 y y)) |
(neg.f64 (/.f64 (*.f64 (neg.f64 x) (/.f64 x y)) y)) |
(neg.f64 (/.f64 (/.f64 (*.f64 x x) y) (neg.f64 y))) |
Compiled 5 497 to 838 computations (84.8% saved)
7 alts after pruning (2 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 212 | 2 | 214 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 4 | 4 |
| Total | 214 | 7 | 221 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 53.0% | (sqrt.f64 (fma.f64 x x (*.f64 y y))) |
| ▶ | 53.0% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
| ✓ | 52.1% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| ✓ | 99.0% | #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.7% | #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 93 to 61 computations (34.4% saved)
| 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 |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) |
(*.f64 (fma.f64 (/.f64 x y) x y) y) |
(fma.f64 (/.f64 x y) x y) |
(/.f64 x 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/2 (/ (pow x 2) y)) |
(* 1/2 (/ x y)) |
x |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(+ y (/ (pow x 2) y)) |
(/ x y) |
(* 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)))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(/ (pow x 2) y) |
(* (pow x 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) |
(/ (+ (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))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* y (+ 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))) |
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | y | @ | 0 | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y)) |
| 2.0ms | y | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y)) |
| 2.0ms | x | @ | -inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y)) |
| 2.0ms | x | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y)) |
| 2.0ms | y | @ | inf | ((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 127 | 538 |
| 1 | 384 | 538 |
| 2 | 1485 | 518 |
| 3 | 6053 | 517 |
| 0 | 8553 | 474 |
| 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)) |
x |
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(+ y (/ (pow x 2) y)) |
(/ x y) |
(* 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)))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(/ (pow x 2) y) |
(* (pow x 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) |
(/ (+ (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))))))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
(* y (+ 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))) |
(* -1 (* y (- (* -1 (/ (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/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)) |
x |
(pow y 2) |
(*.f64 y y) |
(+ (pow x 2) (pow y 2)) |
(fma.f64 y y (*.f64 x x)) |
(+ y (/ (pow x 2) y)) |
(fma.f64 (/.f64 x y) x y) |
(/ x y) |
(/.f64 x y) |
(* 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/2 (/ 1 y)) (/ y (pow x 2)))) |
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(*.f64 (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) y #s(literal 1 binary64)) x) x) |
(/ (pow x 2) y) |
(/.f64 (*.f64 x x) y) |
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2)))) |
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x (/.f64 x y)) 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 #s(literal 1/2 binary64) x) y) 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) |
(/ (+ (pow x 2) (pow y 2)) y) |
(fma.f64 (/.f64 x y) 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 (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)))) |
(*.f64 (fma.f64 (/.f64 x y) x y) y) |
(* y (+ 1 (/ (pow x 2) (pow y 2)))) |
(fma.f64 (/.f64 x y) x 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) |
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 x) y) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 111 |
| 0 | 28 | 111 |
| 1 | 95 | 111 |
| 0 | 744 | 102 |
| 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) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) |
(*.f64 (fma.f64 (/.f64 x y) x y) y) |
(fma.f64 (/.f64 x y) x y) |
(/.f64 x y) |
| 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 (+ (* (/ 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) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x)) |
(*.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 #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 #s(literal 1/2 binary64) y) x)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x 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) |
(/.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))) |
#s(literal 1/2 binary64) |
y |
x |
(*.f64 (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) #s(literal 1/2 binary64))) |
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) |
(*.f64 (fma.f64 (/.f64 x y) x y) y) |
(*.f64 y (fma.f64 (/.f64 x y) x y)) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y)) y) (-.f64 (*.f64 (/.f64 x y) x) y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) y) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))) |
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y))) (-.f64 (*.f64 (/.f64 x y) x) y)) |
(/.f64 (*.f64 y (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64)))) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))) |
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 (*.f64 (/.f64 x y) x) y (*.f64 y y)) |
(fma.f64 (/.f64 x y) (*.f64 x y) (*.f64 y y)) |
(fma.f64 y (*.f64 (/.f64 x y) x) (*.f64 y y)) |
(fma.f64 y y (*.f64 (*.f64 (/.f64 x y) x) y)) |
(fma.f64 x (*.f64 (/.f64 x y) y) (*.f64 y y)) |
(+.f64 (*.f64 (*.f64 (/.f64 x y) x) y) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 (*.f64 (/.f64 x y) x) y)) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))) (-.f64 y (*.f64 (/.f64 x y) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (/.f64 x y) x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (/.f64 x y) x) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 x y) x) y)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))) |
(fma.f64 (neg.f64 x) (/.f64 (neg.f64 x) y) y) |
(fma.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) y) y) |
(fma.f64 (/.f64 x y) x y) |
(fma.f64 x (/.f64 x y) y) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 x y) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (/.f64 x y) x) y))) |
(-.f64 y (*.f64 (neg.f64 (/.f64 x y)) x)) |
(-.f64 y (*.f64 (neg.f64 x) (/.f64 x y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 x y) x) y) |
(+.f64 y (*.f64 (/.f64 x y) x)) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(/.f64 (neg.f64 x) (neg.f64 y)) |
(/.f64 x y) |
(neg.f64 (/.f64 (neg.f64 x) y)) |
(neg.f64 (/.f64 x (neg.f64 y))) |
Compiled 2 893 to 461 computations (84.1% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 114 | 1 | 115 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 5 | 5 |
| Total | 114 | 8 | 122 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 53.0% | (sqrt.f64 (fma.f64 x x (*.f64 y y))) |
| ✓ | 53.0% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
| ✓ | 52.1% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
| 4.4% | (sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x))) | |
| ✓ | 99.0% | #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.7% | #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 282 to 116 computations (58.9% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x 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 x) y) #s(literal 1/2 binary64)))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
#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))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) |
(hypot.f64 y x) |
| Outputs |
|---|
(hypot.f64 y x) |
6 calls:
| 4.0ms | x |
| 4.0ms | y |
| 4.0ms | (*.f64 y y) |
| 4.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 x 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 x) y) #s(literal 1/2 binary64)))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
#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))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y 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:
| 15.0ms | (*.f64 y y) |
| 4.0ms | x |
| 4.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 |
|---|---|---|
| 99.0% | 1 | (*.f64 y y) |
| 99.0% | 1 | (*.f64 x x) |
| 99.0% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 99.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 99.0% | 1 | x |
| 99.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 x 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 x) y) #s(literal 1/2 binary64)))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
| Outputs |
|---|
(sqrt.f64 (fma.f64 x x (*.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 y y) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.0% | 1 | (*.f64 y y) |
| 53.0% | 1 | (*.f64 x x) |
| 53.0% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 53.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 53.0% | 1 | x |
| 53.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 x 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 x) y) #s(literal 1/2 binary64)))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
6 calls:
| 8.0ms | (*.f64 x x) |
| 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 |
|---|---|---|
| 52.1% | 1 | (*.f64 y y) |
| 52.1% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 52.1% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 52.1% | 1 | y |
| 52.1% | 1 | (*.f64 x x) |
| 52.1% | 1 | x |
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 x x))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x))) |
6 calls:
| 6.0ms | y |
| 1.0ms | x |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.0ms | (*.f64 y y) |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.4% | 1 | y |
| 4.4% | 1 | (*.f64 y y) |
| 4.4% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 4.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 4.4% | 1 | (*.f64 x x) |
| 4.4% | 1 | x |
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:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 1.9% | 1 | x |
| 1.9% | 1 | (*.f64 x x) |
| 1.9% | 1 | (*.f64 y y) |
| 1.9% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.9% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 1.9% | 1 | y |
Compiled 23 to 21 computations (8.7% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 62 |
| 1 | 37 | 62 |
| 2 | 77 | 62 |
| 3 | 134 | 62 |
| 4 | 171 | 62 |
| 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 x x (*.f64 y y))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x))) |
#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 x x (*.f64 y y))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) |
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| 1× | fuel |
Compiled 62 to 22 computations (64.5% saved)
(sort x y)
(abs x)
(abs y)
Compiled 196 to 100 computations (49% saved)
Loading profile data...