
Time bar (total: 2.7s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 10 to 5 computations (50% saved)
| 1.4s | 8 256× | 0 | valid |
ival-hypot: 249.0ms (99.5% of total)adjust: 1.0ms (0.4% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 50 |
| 1 | 53 | 50 |
| 2 | 125 | 50 |
| 3 | 175 | 50 |
| 4 | 399 | 50 |
| 5 | 1995 | 50 |
| 6 | 4647 | 50 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 50.0% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(abs x)
(abs y)
(sort x y)
Compiled 12 to 12 computations (0% 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 |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow y 2)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow x 2)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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 | 143 | 784 |
| 0 | 147 | 758 |
| 1 | 754 | 704 |
| 0 | 7948 | 545 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 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 |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow y 2)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow x 2)))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))) |
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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 |
|---|
(*.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 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)))))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (exp.f64 (log.f64 x))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) x) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (exp.f64 (log.f64 y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) y) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (exp.f64 (log.f64 x))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) x) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (exp.f64 (log.f64 y))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y)) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) y) |
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 (neg.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)) (exp.f64 (log.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) y) |
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 (neg.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)) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 y)) |
(hypot.f64 (exp.f64 (log.f64 x)) y) |
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 y)) x) |
(hypot.f64 (neg.f64 x) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 y)) |
(hypot.f64 (neg.f64 x) y) |
(hypot.f64 (neg.f64 y) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 y) (neg.f64 x)) |
(hypot.f64 (neg.f64 y) x) |
(hypot.f64 x (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 x (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 (neg.f64 y))) |
(hypot.f64 x (exp.f64 (log.f64 y))) |
(hypot.f64 x (neg.f64 y)) |
(hypot.f64 x y) |
(hypot.f64 y (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 y (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 y (neg.f64 (neg.f64 x))) |
(hypot.f64 y (exp.f64 (log.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 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x (*.f64 x x)) x (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)) (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)))) (neg.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)))))) |
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y))) |
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)) (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y))) (fma.f64 (*.f64 y (*.f64 y y)) y (-.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 (*.f64 x x) y) y)))) |
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)) (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y))) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 y y)) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 y y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 y y)) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.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 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x)) |
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 x x)) |
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 y y)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.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 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x)) |
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 x (*.f64 #s(literal -1 binary64) (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 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 x x)) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 y y)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y)) |
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 y)) y)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y)) |
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (+.f64 x y) (-.f64 x y)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))) (/.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.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 (*.f64 y y) (*.f64 x x)) |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 (*.f64 x (*.f64 x x)) x) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(sqrt.f64 (*.f64 (*.f64 x (*.f64 x x)) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
(*.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y)) |
(*.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64)) |
(*.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y)) |
(*.f64 #s(literal 1 binary64) (*.f64 y y)) |
(*.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y))) |
(*.f64 y y) |
(*.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (*.f64 (*.f64 y (*.f64 y y)) y) #s(literal 1/2 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(/.f64 (*.f64 (*.f64 y y) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y y)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(sqrt.f64 (*.f64 (*.f64 y (*.f64 y y)) y)) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
(exp.f64 (fma.f64 (log.f64 y) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
y |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y (*.f64 y y)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) x y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (pow.f64 y #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 y (*.f64 y y)))) x) x (/.f64 #s(literal 1/2 binary64) y)) x) x y)) |
#s(approx (+ (* x x) (* y y)) (*.f64 y y)) |
#s(approx (+ (* x x) (* y y)) (fma.f64 x x (*.f64 y y))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y (/.f64 y (*.f64 x x))) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x))) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x)) |
#s(approx (+ (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x (*.f64 x x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y) y x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 x (*.f64 x x)))) y) y (/.f64 #s(literal 1/2 binary64) x)) y) y x)) |
#s(approx y y) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y)) |
#s(approx (+ (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) y) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y))) |
Compiled 1 436 to 553 computations (61.5% saved)
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 210 | 6 | 216 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 211 | 6 | 217 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 y x) |
| 50.0% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) | |
| ▶ | 1.2% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
| ▶ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| ▶ | 98.8% | #s(approx (sqrt (+ (* x x) (* y y))) y) |
| ▶ | 4.7% | #s(approx (sqrt (+ (* x x) (* y y))) x) |
Compiled 76 to 76 computations (0% saved)
| Inputs |
|---|
(hypot.f64 y x) |
y |
x |
#s(approx (sqrt (+ (* x x) (* y y))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
(neg.f64 y) |
| Outputs |
|---|
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (neg y) #s(hole binary64 (* -1 y))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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 (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y)) |
| 1.0ms | y | @ | -inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y)) |
| 0.0ms | x | @ | inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y)) |
| 0.0ms | y | @ | inf | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y)) |
| 0.0ms | x | @ | 0 | ((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 140 | 625 |
| 0 | 142 | 573 |
| 1 | 727 | 525 |
| 0 | 7595 | 489 |
| 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))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
(neg.f64 y) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (neg y) #s(hole binary64 (* -1 y))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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 |
|---|
(*.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 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))) |
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)))))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (exp.f64 (log.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) y) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) x) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) y) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 y)) |
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) x) |
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 x)) |
(hypot.f64 x (neg.f64 (neg.f64 y))) |
(hypot.f64 x (exp.f64 (log.f64 y))) |
(hypot.f64 x y) |
(hypot.f64 x (neg.f64 y)) |
(hypot.f64 y (neg.f64 (neg.f64 x))) |
(hypot.f64 y (exp.f64 (log.f64 x))) |
(hypot.f64 y x) |
(hypot.f64 y (neg.f64 x)) |
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 y) x) |
(hypot.f64 (neg.f64 y) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 y))) |
(hypot.f64 (neg.f64 x) y) |
(hypot.f64 (neg.f64 x) (neg.f64 y)) |
(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))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
(*.f64 x #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) x) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
(*.f64 #s(literal -1 binary64) y) |
(*.f64 y #s(literal -1 binary64)) |
(neg.f64 y) |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y (*.f64 y y)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) x y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (pow.f64 y #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 y (*.f64 y y)))) x) x (/.f64 #s(literal 1/2 binary64) y)) x) x y)) |
#s(approx x x) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y (/.f64 y (*.f64 x x))) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x))) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 y) #s(literal 6 binary64)) (*.f64 (log.f64 x) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64)) (neg.f64 x))) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64))) (neg.f64 x))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 x (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 y) #s(literal 6 binary64)) (*.f64 (log.f64 x) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x))) |
#s(approx (sqrt (+ (* x x) (* y y))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64) x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x (*.f64 x x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y) y x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 x (*.f64 x x)))) y) y (/.f64 #s(literal 1/2 binary64) x)) y) y x)) |
#s(approx y y) |
#s(approx (neg y) (neg.f64 y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 y (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)) (*.f64 (log.f64 y) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y)) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) (neg.f64 y))) |
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) (neg.f64 y))) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 y (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)) (*.f64 (log.f64 y) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y))) |
Compiled 533 to 202 computations (62.1% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 69 | 0 | 69 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 0 | 0 |
| Total | 69 | 6 | 75 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ▶ | 50.0% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| ✓ | 1.2% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
| ✓ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| ✓ | 98.8% | #s(approx (sqrt (+ (* x x) (* y y))) y) |
| ✓ | 4.7% | #s(approx (sqrt (+ (* x x) (* y y))) x) |
Compiled 38 to 38 computations (0% saved)
| Inputs |
|---|
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(fma.f64 y y (*.f64 x x)) |
y |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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 (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x) |
| 0.0ms | y | @ | -inf | ((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x) |
| 0.0ms | y | @ | inf | ((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x) |
| 0.0ms | x | @ | 0 | ((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 142 | 753 |
| 0 | 145 | 726 |
| 1 | 763 | 672 |
| 0 | 8084 | 542 |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(fma.f64 y y (*.f64 x x)) |
y |
(*.f64 x x) |
x |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2))))))))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2)))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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))))))))) |
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))) |
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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 |
|---|
(*.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 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))) |
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)))))) |
(sqrt.f64 (fma.f64 x x (*.f64 y y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (exp.f64 (log.f64 x))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) x) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (exp.f64 (log.f64 y))) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) y) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (exp.f64 (log.f64 x))) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) x) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (exp.f64 (log.f64 y))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y)) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) y) |
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 (neg.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)) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 y)) x) |
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 (neg.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)) (exp.f64 (log.f64 y))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y)) |
(hypot.f64 (neg.f64 (neg.f64 x)) y) |
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 y))) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 y)) |
(hypot.f64 (exp.f64 (log.f64 x)) y) |
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 y)) x) |
(hypot.f64 (neg.f64 x) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y))) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 y))) |
(hypot.f64 (neg.f64 x) (neg.f64 y)) |
(hypot.f64 (neg.f64 x) y) |
(hypot.f64 (neg.f64 y) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 y) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 y) (neg.f64 x)) |
(hypot.f64 (neg.f64 y) x) |
(hypot.f64 x (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(hypot.f64 x (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(hypot.f64 x (neg.f64 (neg.f64 y))) |
(hypot.f64 x (exp.f64 (log.f64 y))) |
(hypot.f64 x (neg.f64 y)) |
(hypot.f64 x y) |
(hypot.f64 y (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(hypot.f64 y (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 y (neg.f64 (neg.f64 x))) |
(hypot.f64 y (exp.f64 (log.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 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 y (*.f64 y y)) y (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)))))) |
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (+.f64 y x) (-.f64 y x))) |
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y))) |
(/.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x))) (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))) |
(/.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x))) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 x x)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 y y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 y y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 y y)) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.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 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x)) |
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 y y)) |
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 y y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y)) |
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x)) |
(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 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 y y)) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 x x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y)) |
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y)) |
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 x x)) |
(fma.f64 y y (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 y y (*.f64 x x)) |
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (+.f64 y x) (-.f64 y x)))) |
(-.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (+.f64 x y) (-.f64 x y)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))) (/.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)) (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))) |
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))) (/.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)))))) |
(+.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)) |
y |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 (*.f64 x (*.f64 x x)) x) #s(literal 1/2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(sqrt.f64 (*.f64 (*.f64 x (*.f64 x x)) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(approx (sqrt (+ (* y y) (* x x))) y) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y (*.f64 y y)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) x y)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (pow.f64 y #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 y (*.f64 y y)))) x) x (/.f64 #s(literal 1/2 binary64) y)) x) x y)) |
#s(approx (+ (* y y) (* x x)) (*.f64 y y)) |
#s(approx (+ (* y y) (* x x)) (fma.f64 x x (*.f64 y y))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y (/.f64 y (*.f64 x x))) x)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x))) x)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x)) |
#s(approx (+ (* y y) (* x x)) (*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x)) |
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 x)) |
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 x) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x))) |
#s(approx (sqrt (+ (* y y) (* x x))) x) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64) x)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x (*.f64 x x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y) y x)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 x (*.f64 x x)))) y) y (/.f64 #s(literal 1/2 binary64) x)) y) y x)) |
#s(approx y y) |
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) y)) |
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y)) |
#s(approx (+ (* y y) (* x x)) (*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) y) y)) |
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 y)) |
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 y) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 y) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y))) |
Compiled 1 394 to 483 computations (65.4% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 194 | 0 | 194 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 194 | 6 | 200 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 y x) |
| ✓ | 50.0% | (sqrt.f64 (fma.f64 y y (*.f64 x x))) |
| ✓ | 1.2% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
| ✓ | 1.9% | #s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
| ✓ | 98.8% | #s(approx (sqrt (+ (* x x) (* y y))) y) |
| ✓ | 4.7% | #s(approx (sqrt (+ (* x x) (* y y))) x) |
Compiled 70 to 57 computations (18.6% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(hypot.f64 y x) |
| Outputs |
|---|
(hypot.f64 y x) |
6 calls:
| 4.0ms | x |
| 2.0ms | y |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 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 17 to 21 computations (-23.5% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) x) |
#s(approx (sqrt (+ (* x x) (* y y))) y) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y)) |
(sqrt.f64 (fma.f64 y y (*.f64 x x))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) y) |
6 calls:
| 5.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.8% | 1 | (*.f64 y y) |
| 98.8% | 1 | (*.f64 x x) |
| 98.8% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 98.8% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 98.8% | 1 | x |
| 98.8% | 1 | y |
Compiled 17 to 21 computations (-23.5% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) x) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* y y))) 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 |
|---|---|---|
| 4.7% | 1 | (*.f64 y y) |
| 4.7% | 1 | (*.f64 x x) |
| 4.7% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 4.7% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 4.7% | 1 | x |
| 4.7% | 1 | y |
Compiled 17 to 21 computations (-23.5% saved)
| 1× | done |
Compiled 13 to 9 computations (30.8% saved)
(abs y)
(sort x y)
Compiled 163 to 159 computations (2.5% saved)
Loading profile data...