
Time bar (total: 2.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 3 |
| 28.6% | 25% | 62.4% | 0.1% | 0% | 12.5% | 0% | 4 |
| 46.2% | 37.5% | 43.7% | 0.1% | 0% | 18.7% | 0% | 5 |
| 52.2% | 37.5% | 34.3% | 0.1% | 0% | 28.1% | 0% | 6 |
| 65.1% | 43.7% | 23.4% | 0.1% | 0% | 32.8% | 0% | 7 |
| 70.9% | 43.7% | 18% | 0.1% | 0% | 38.2% | 0% | 8 |
| 79.5% | 46.8% | 12.1% | 0.1% | 0% | 41% | 0% | 9 |
| 83.6% | 46.8% | 9.2% | 0.1% | 0% | 43.9% | 0% | 10 |
| 88.7% | 48.4% | 6.1% | 0.1% | 0% | 45.4% | 0% | 11 |
| 91.3% | 48.4% | 4.6% | 0.1% | 0% | 46.9% | 0% | 12 |
Compiled 6 to 6 computations (0% saved)
| 334.0ms | 8 256× | 0 | valid |
| 55.0ms | 529× | 0 | invalid |
ival-sqrt: 126.0ms (71.4% of total)ival-add!: 49.0ms (27.8% of total)adjust: 2.0ms (1.1% of total)Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 28 |
| 1 | 62 | 28 |
| 2 | 455 | 26 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.6% | (sqrt.f64 (+.f64 x y)) |
(abs x)
(abs y)
(sort x y)
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 x y)) |
#s(approx x x) |
#s(approx (sqrt (+ x y)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 #s(literal 1/2 binary64) (/.f64 y (sqrt.f64 x))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 #s(literal -1/8 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 y (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | -inf |
| 1.0ms | x | inf |
| 1.0ms | y | -inf |
| 1.0ms | y | inf |
| 0.0ms | x | 0 |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
(*.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (fabs.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))) |
(*.f64 (neg.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (neg.f64 (pow.f64 (+.f64 x y) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (+.f64 x y)) #s(literal 1/2 binary64))) (sinh.f64 (*.f64 (log.f64 (+.f64 x y)) #s(literal 1/2 binary64)))) |
(/.f64 (sqrt.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y))) (sqrt.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(*.f64 (+.f64 x y) (/.f64 (-.f64 x y) (-.f64 x y))) |
(*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 x y) (*.f64 x x))) |
(*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (*.f64 (+.f64 x y) (-.f64 x y))) (+.f64 x y)) |
(*.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)) (/.f64 (+.f64 x y) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(*.f64 (/.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 3 binary64)))) (fma.f64 (*.f64 (-.f64 y x) y) (-.f64 (*.f64 (-.f64 y x) y) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x)))) |
x |
y |
Compiled 997 to 214 computations (78.5% saved)
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 35 | 6 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 35 | 7 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.6% | (sqrt.f64 (+.f64 x y)) |
| 33.2% | (sqrt.f64 (*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 x y) (*.f64 x x)))) | |
| ▶ | 98.6% | (sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
| ▶ | 72.7% | (sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))) |
| ▶ | 97.8% | (sqrt.f64 #s(approx (+ x y) y)) |
| ▶ | 98.4% | #s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
| ▶ | 6.4% | #s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
Compiled 164 to 110 computations (32.9% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
(*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
y |
(+.f64 #s(literal 1 binary64) (/.f64 x y)) |
#s(literal 1 binary64) |
(/.f64 x y) |
x |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 x) |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
(*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))) |
(+.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 y x) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
(+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))) |
(sqrt.f64 y) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))) |
#s(literal 1/2 binary64) |
(/.f64 x (sqrt.f64 y)) |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 x y)) |
#s(approx (+ 1 (/ x y)) #s(literal 1 binary64)) |
#s(approx (+ 1 (/ x y)) (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
#s(approx (/ x y) (/.f64 x y)) |
#s(approx x x) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx (+ 1 (/ y x)) (/.f64 y x)) |
#s(approx (+ 1 (/ y x)) (/.f64 (+.f64 x y) x)) |
#s(approx (* 1/2 (/ x (sqrt y))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))) |
#s(approx (/ x (sqrt y)) (/.f64 x (sqrt.f64 y))) |
#s(approx (sqrt (+ x y)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (+ 1 (/ y x)) (+.f64 #s(literal 1 binary64) (/.f64 y x))) |
#s(approx (+ (sqrt y) (* 1/2 (/ x (sqrt y)))) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (/.f64 (sqrt.f64 y) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64))))) |
#s(approx (+ (sqrt y) (* 1/2 (/ x (sqrt y)))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (sqrt.f64 y) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 #s(literal 1/2 binary64) (/.f64 y (sqrt.f64 x))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 #s(literal -1/8 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 y (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (+ 1 (/ x y)) (/.f64 (+.f64 x y) y)) |
#s(approx (sqrt (+ x y)) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
#s(approx (+ 1 (/ y x)) (*.f64 y (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (* 1/2 (/ x (sqrt y))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (/ x (sqrt y)) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64))))) |
#s(approx (* 1/2 (/ x (sqrt y))) (*.f64 #s(literal -1/2 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (/ x (sqrt y)) (*.f64 #s(literal -1 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 20.0ms | x | -inf |
| 4.0ms | y | -inf |
| 3.0ms | x | inf |
| 3.0ms | x | 0 |
| 3.0ms | y | inf |
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
(*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
y |
(+.f64 #s(literal 1 binary64) (/.f64 x y)) |
#s(literal 1 binary64) |
(/.f64 x y) |
x |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 x) |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
(*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))) |
(+.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 y x) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
(+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))) |
(sqrt.f64 y) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))) |
#s(literal 1/2 binary64) |
(/.f64 x (sqrt.f64 y)) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 x y) y y))) |
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y)) |
(*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) y) |
(*.f64 (fma.f64 (/.f64 x y) y y) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (fma.f64 (/.f64 x y) y y)) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (/.f64 y (-.f64 #s(literal 1 binary64) (/.f64 x y)))) |
y |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y)) |
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (-.f64 #s(literal 1 binary64) (/.f64 x y)))) |
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y)))) (fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (/.f64 x y) #s(literal 1 binary64))) |
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y)))) (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
#s(literal 1 binary64) |
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64))) |
(*.f64 (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64)))) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64)))) |
(*.f64 (-.f64 #s(literal 1 binary64) #s(literal 0 binary64)) (/.f64 x y)) |
(*.f64 (/.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) y)) |
(*.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 x #s(literal 1 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1 binary64)) |
(*.f64 (/.f64 x y) (-.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
x |
(*.f64 x #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) x) |
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 #s(literal 1 binary64))) |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(*.f64 (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (sqrt.f64 x)) |
(*.f64 (pow.f64 x (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (pow.f64 x (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) x) |
(*.f64 (fma.f64 (/.f64 y x) x x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (fma.f64 (/.f64 y x) x x)) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (/.f64 y x))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) (-.f64 #s(literal 1 binary64) (/.f64 y x)))) |
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)))) (fma.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) (/.f64 y x) #s(literal 1 binary64))) |
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x)))) (+.f64 #s(literal 1 binary64) (/.f64 y x))) |
(*.f64 (-.f64 #s(literal 1 binary64) #s(literal 0 binary64)) (/.f64 y x)) |
(*.f64 (/.f64 y #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) x)) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 y #s(literal 1 binary64))) |
(*.f64 (/.f64 y x) #s(literal 1 binary64)) |
(*.f64 (/.f64 y x) (-.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
(*.f64 (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) (/.f64 (-.f64 (sqrt.f64 y) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y))) (-.f64 (sqrt.f64 y) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y))))) |
(*.f64 (/.f64 (-.f64 y (/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) y)) (-.f64 y (/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) y))) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
(*.f64 (/.f64 (-.f64 y (/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) y)) (-.f64 (*.f64 (sqrt.f64 y) y) (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (*.f64 (sqrt.f64 y) y)))) (fma.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) y)) |
(*.f64 (fma.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) y) (/.f64 (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) (fma.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) y))) |
(*.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x x) x) (*.f64 (sqrt.f64 y) y)) (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (sqrt.f64 y) y)) (-.f64 (*.f64 y y) (pow.f64 (*.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y))) #s(literal 2 binary64)))) (-.f64 y (*.f64 (-.f64 (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y)) (sqrt.f64 y)) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (sqrt.f64 y))))) |
(*.f64 (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64)) (sqrt.f64 y)) |
(*.f64 (sqrt.f64 y) (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 y) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (sqrt.f64 y)) |
(*.f64 (pow.f64 (sqrt.f64 y) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 y) #s(literal 1/2 binary64))) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))) |
(*.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64)) |
(*.f64 x (/.f64 #s(literal 1/2 binary64) (sqrt.f64 y))) |
(*.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))) |
(*.f64 (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 #s(literal 1/2 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))) |
#s(literal 1/2 binary64) |
(neg.f64 (neg.f64 #s(literal 1/2 binary64))) |
(*.f64 #s(literal 1 binary64) (/.f64 x (sqrt.f64 y))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) |
(*.f64 (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)))) (/.f64 x (pow.f64 y (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))))) |
(/.f64 x (sqrt.f64 y)) |
Compiled 2 943 to 708 computations (75.9% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 140 | 4 | 144 |
| Fresh | 1 | 0 | 1 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 1 | 1 |
| Total | 143 | 8 | 151 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.6% | (sqrt.f64 (+.f64 x y)) |
| ▶ | 72.7% | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
| ▶ | 18.3% | (sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))) |
| ✓ | 98.6% | (sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
| ▶ | 98.5% | (sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))) |
| ✓ | 97.8% | (sqrt.f64 #s(approx (+ x y) y)) |
| ▶ | 98.4% | #s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
| ✓ | 6.4% | #s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
Compiled 97 to 69 computations (28.9% saved)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
(fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) |
(/.f64 x (sqrt.f64 y)) |
x |
(sqrt.f64 y) |
y |
#s(literal 1/2 binary64) |
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))) |
#s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))) |
(*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))) |
(*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(/.f64 #s(literal 1 binary64) y) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))) |
#s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (*.f64 y y) (*.f64 x x)) |
(*.f64 y y) |
(*.f64 x x) |
(/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))) |
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 y x) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(fma.f64 (/.f64 y x) x x) |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (/ x (sqrt y)) (/.f64 x (sqrt.f64 y))) |
#s(approx x x) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 x y)) |
#s(approx (+ 1 (/ x y)) #s(literal 1 binary64)) |
#s(approx (+ 1 (/ x y)) (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) x)) |
#s(approx (- 1 (/ (* y y) (* x x))) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))) |
#s(approx (- 1 (/ (* y y) (* x x))) (/.f64 (-.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (/ (* y y) (* x x)) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x (pow.f64 y #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x (pow.f64 y #s(literal 3 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 x (-.f64 (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64))))) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64))))) (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (- 1 (/ y x)) (*.f64 #s(literal -1 binary64) (/.f64 y x))) |
#s(approx (- 1 (/ y x)) (/.f64 (-.f64 x y) x)) |
#s(approx (/ y x) (/.f64 y x)) |
#s(approx (sqrt (+ x y)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (+ (* (/ x (sqrt y)) 1/2) (sqrt y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y)))) |
#s(approx (+ (* (/ x (sqrt y)) 1/2) (sqrt y)) (*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (/.f64 (sqrt.f64 y) x)))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
#s(approx (+ 1 (/ x y)) (/.f64 x y)) |
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 #s(literal 1 binary64) y)) |
#s(approx (+ (/ 1 x) (/ 1 y)) (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 (/ (* y y) (* x x))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) (*.f64 #s(literal -1 binary64) (/.f64 y x))))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 #s(literal -1 binary64) (/.f64 y x) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))) |
#s(approx (- 1 (/ y x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))) |
#s(approx (+ (* (/ x (sqrt y)) 1/2) (sqrt y)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (sqrt.f64 y) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64))))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (pow.f64 y #s(literal 2 binary64)) x) (*.f64 #s(literal -1 binary64) y)) x)) #s(literal 1 binary64))))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) x)) (pow.f64 y #s(literal 2 binary64))) x)) (*.f64 #s(literal -1 binary64) y)) x)) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 #s(literal 1/2 binary64) (/.f64 y (sqrt.f64 x))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 #s(literal -1/8 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 y (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (+ 1 (/ x y)) (/.f64 (+.f64 x y) y)) |
#s(approx (+ (/ 1 x) (/ 1 y)) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) y)) |
#s(approx (* y y) (pow.f64 y #s(literal 2 binary64))) |
#s(approx (/ x (- 1 (/ y x))) (+.f64 x (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 y x))))) |
#s(approx (/ x (- 1 (/ y x))) (+.f64 x (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 y (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 y (pow.f64 x #s(literal 2 binary64))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (/ x (sqrt y)) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
#s(approx (- 1 (/ (* y y) (* x x))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))) |
#s(approx (/ x (- 1 (/ y x))) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) y) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 2 binary64)))) y)) |
#s(approx (/ x (- 1 (/ y x))) (/.f64 (-.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 2 binary64))) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) y)) y)) |
#s(approx (/ x (- 1 (/ y x))) (/.f64 (-.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 5 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 2 binary64)))) (+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 2 binary64))))) y)) |
#s(approx (- 1 (/ y x)) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))) |
#s(approx (/ x (sqrt y)) (*.f64 #s(literal -1 binary64) (/.f64 x (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64))))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) y) (pow.f64 x #s(literal 2 binary64))) y))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) y)) (pow.f64 x #s(literal 3 binary64))) y) (pow.f64 x #s(literal 2 binary64))) y))) |
#s(approx (/ x (- 1 (/ y x))) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 5 binary64)) y) (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64)))) y)) (pow.f64 x #s(literal 3 binary64))) y) (pow.f64 x #s(literal 2 binary64))) y))) |
#s(approx (- 1 (/ y x)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 92.0ms | y | -inf |
| 19.0ms | y | inf |
| 10.0ms | x | 0 |
| 4.0ms | x | inf |
| 3.0ms | x | -inf |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
(fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y)) |
(/.f64 x (sqrt.f64 y)) |
x |
(sqrt.f64 y) |
y |
#s(literal 1/2 binary64) |
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))) |
#s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))))) |
(*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))) |
(*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(/.f64 #s(literal 1 binary64) y) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))) |
#s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))))) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (*.f64 y y) (*.f64 x x)) |
(*.f64 y y) |
(*.f64 x x) |
(/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x))) |
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 y x) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(fma.f64 (/.f64 y x) x x) |
| Outputs |
|---|
#s(approx y (fma.f64 y #s(literal 1/2 binary64) y)) |
(*.f64 (fma.f64 y #s(literal 1/2 binary64) y) y) |
(*.f64 y (fma.f64 y #s(literal 1/2 binary64) y)) |
(*.f64 (pow.f64 (fma.f64 y #s(literal 1/2 binary64) y) (/.f64 #s(literal 3 binary64) #s(literal 1 binary64))) (pow.f64 (fma.f64 y #s(literal 1/2 binary64) y) (/.f64 #s(literal 3 binary64) #s(literal 1 binary64)))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y y) (fma.f64 y #s(literal 1/2 binary64) y)) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y y) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y #s(literal 1/2 binary64) y) y)) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
#s(literal 0 binary64) |
x |
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
#s(literal 1/2 binary64) |
(sqrt.f64 #s(approx y (*.f64 y #s(approx y y)))) |
#s(approx y (*.f64 y #s(approx y y))) |
(*.f64 y #s(approx y y)) |
#s(approx y y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
#s(literal 0 binary64) |
x |
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
#s(literal 0 binary64) |
x |
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
(sqrt.f64 #s(approx y y)) |
#s(approx y y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
#s(literal 1 binary64) |
#s(literal 2 binary64) |
#s(literal 0 binary64) |
x |
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
(sqrt.f64 #s(approx y y)) |
#s(approx y y) |
y |
(*.f64 y y) |
(*.f64 y #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) y) |
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) y) |
Compiled 2 769 to 644 computations (76.7% saved)
8 alts after pruning (0 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 108 | 0 | 108 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 4 | 4 |
| Total | 108 | 8 | 116 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.6% | (sqrt.f64 (+.f64 x y)) |
| ✓ | 72.7% | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
| ✓ | 18.3% | (sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))) |
| ✓ | 98.6% | (sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
| ✓ | 98.5% | (sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))) |
| ✓ | 97.8% | (sqrt.f64 #s(approx (+ x y) y)) |
| ✓ | 98.4% | #s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
| ✓ | 6.4% | #s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
Compiled 97 to 69 computations (28.9% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) y)) |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
#s(approx (sqrt (+ x y)) (fma.f64 (/.f64 x (sqrt.f64 y)) #s(literal 1/2 binary64) (sqrt.f64 y))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 y #s(approx (+ 1 (/ x y)) (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))))))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 y y) (*.f64 x x))) (/.f64 x (-.f64 #s(literal 1 binary64) (/.f64 y x)))))) |
(sqrt.f64 (*.f64 (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 x y) (*.f64 x x)))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))) |
16 calls:
| 5.0ms | y |
| 3.0ms | x |
| 3.0ms | (sqrt.f64 (+.f64 x y)) |
| 3.0ms | (+.f64 x y) |
| 3.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 6.4% | 1 | (+.f64 x y) |
| 6.4% | 1 | (sqrt.f64 (+.f64 x y)) |
| 6.4% | 1 | x |
| 6.4% | 1 | y |
| 97.8% | 1 | (+.f64 x y) |
| 97.8% | 1 | (sqrt.f64 (+.f64 x y)) |
| 97.8% | 1 | x |
| 97.8% | 1 | y |
| 98.6% | 1 | (+.f64 x y) |
| 98.6% | 1 | (sqrt.f64 (+.f64 x y)) |
| 98.6% | 1 | x |
| 98.6% | 1 | y |
| 98.6% | 1 | (+.f64 x y) |
| 98.6% | 1 | (sqrt.f64 (+.f64 x y)) |
| 98.6% | 1 | x |
| 98.6% | 1 | y |
Compiled 188 to 105 computations (44.1% saved)
| 1× | done |
Compiled 29 to 16 computations (44.8% saved)
(abs y)
(sort x y)
Compiled 285 to 228 computations (20% saved)
Loading profile data...