
Time bar (total: 2.1s)
| 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 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 30.8% | 25% | 56.2% | 0.1% | 0% | 18.7% | 0% | 5 |
| 32% | 25% | 53.1% | 0.1% | 0% | 21.9% | 0% | 6 |
| 55.8% | 37.5% | 29.7% | 0.1% | 0% | 32.8% | 0% | 7 |
| 57.8% | 37.5% | 27.3% | 0.1% | 0% | 35.1% | 0% | 8 |
| 74.2% | 43.7% | 15.2% | 0.1% | 0% | 41% | 0% | 9 |
| 75.9% | 43.7% | 13.9% | 0.1% | 0% | 42.3% | 0% | 10 |
| 85.9% | 46.8% | 7.7% | 0.1% | 0% | 45.4% | 0% | 11 |
| 87% | 46.8% | 7% | 0.1% | 0% | 46.1% | 0% | 12 |
Compiled 10 to 8 computations (20% saved)
| 546.0ms | 8 256× | 0 | valid |
| 64.0ms | 619× | 0 | invalid |
ival-mult!: 150.0ms (55.8% of total)ival-sqrt: 96.0ms (35.7% of total)ival-sub!: 21.0ms (7.8% of total)adjust: 2.0ms (0.7% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 50 |
| 1 | 75 | 50 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.2% | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
(abs a)
(abs b)
Compiled 16 to 12 computations (25% saved)
| Inputs |
|---|
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 (pow.f64 a #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 (pow.f64 a #s(literal 2 binary64)) (fma.f64 (pow.f64 a #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (- (* a a) (* b b)) (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) |
#s(approx (- (* a a) (* b b)) (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64)))) |
#s(approx (* a a) (pow.f64 a #s(literal 2 binary64))) |
#s(approx a a) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))))))))) |
#s(approx (- (* a a) (* b b)) (*.f64 (pow.f64 a #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (- (* a a) (* b b)) (fma.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (* b b) (pow.f64 b #s(literal 2 binary64))) |
#s(approx b b) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (- (* a a) (* b b)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64))) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 15.0ms | a | 0 |
| 2.0ms | a | inf |
| 2.0ms | b | inf |
| 2.0ms | a | -inf |
| 1.0ms | b | 0 |
| Inputs |
|---|
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
| Outputs |
|---|
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))) |
(pow.f64 (*.f64 (+.f64 a b) (-.f64 a b)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 a a) (neg.f64 (*.f64 b b))) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (neg.f64 (*.f64 b b))) |
(fma.f64 (neg.f64 a) (neg.f64 a) (neg.f64 (*.f64 b b))) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (neg.f64 (*.f64 b b))) |
(fma.f64 a a (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) |
(*.f64 a a) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(pow.f64 a #s(literal 2 binary64)) |
a |
(*.f64 b b) |
(*.f64 (neg.f64 b) (neg.f64 b)) |
(*.f64 (fabs.f64 b) (fabs.f64 b)) |
(pow.f64 b #s(literal 2 binary64)) |
b |
Compiled 1 060 to 216 computations (79.6% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 3 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 49 | 3 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.5% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ▶ | 90.6% | #s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
| ▶ | 1.0% | #s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) a)) |
Compiled 42 to 31 computations (26.2% saved)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) a)) |
(*.f64 #s(literal -1 binary64) a) |
#s(literal -1 binary64) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
(*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))) |
#s(literal 1 binary64) |
(*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) |
#s(literal -1/2 binary64) |
(/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) |
(pow.f64 b #s(literal 2 binary64)) |
b |
#s(literal 2 binary64) |
(pow.f64 a #s(literal 2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 a b) |
(-.f64 a b) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 (pow.f64 a #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 (pow.f64 a #s(literal 2 binary64)) (fma.f64 (pow.f64 a #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (* -1 a) (*.f64 #s(literal -1 binary64) a)) |
#s(approx a a) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) a))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (/.f64 (fma.f64 #s(literal -1/2 binary64) (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) a)) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (/.f64 (fma.f64 #s(literal -1/2 binary64) (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (/ (pow b 2) (pow a 2)) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (pow a 2) (pow.f64 a #s(literal 2 binary64))) |
#s(approx (sqrt (* (+ a b) (- a b))) (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (+.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a (+.f64 b (*.f64 #s(literal -1 binary64) b))) (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (+.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) (*.f64 a (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) #s(literal 2 binary64)))))) (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (+.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) (*.f64 a (fma.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))))) (*.f64 a (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 a (*.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) #s(literal 2 binary64))))))) (pow.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) #s(literal 2 binary64))))) (sqrt.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))))))))))) |
#s(approx (* (+ a b) (- a b)) (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)))) |
#s(approx (* (+ a b) (- a b)) (fma.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)) (*.f64 a (+.f64 b (*.f64 #s(literal -1 binary64) b))))) |
#s(approx (* (+ a b) (- a b)) (fma.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64)) (*.f64 a (+.f64 a (+.f64 b (*.f64 #s(literal -1 binary64) b)))))) |
#s(approx (+ a b) b) |
#s(approx (+ a b) (+.f64 a b)) |
#s(approx (- a b) (*.f64 #s(literal -1 binary64) b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))))))))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) a))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) a) (*.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)))) (pow.f64 a #s(literal 2 binary64)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) (-.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64))))) (pow.f64 a #s(literal 3 binary64))) (fma.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) a) (*.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)))) (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 a #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 b a) (/.f64 b a))))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 a #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 b a) (fma.f64 #s(literal -1 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (/.f64 b a)))))) |
#s(approx (+ a b) (*.f64 a (+.f64 #s(literal 1 binary64) (/.f64 b a)))) |
#s(approx (- a b) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 b a))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64)))))))))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (*.f64 #s(literal -1 binary64) (*.f64 a (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) #s(literal 1 binary64))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) a)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1/2 binary64) (+.f64 b (*.f64 #s(literal -1 binary64) b)) (*.f64 #s(literal -1/2 binary64) (/.f64 (-.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)))) a))) a)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) (-.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64))))) a) (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 #s(literal -1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/4 binary64) (pow.f64 (+.f64 b (*.f64 #s(literal -1 binary64) b)) #s(literal 2 binary64)))))) a) (*.f64 #s(literal -1/2 binary64) (+.f64 b (*.f64 #s(literal -1 binary64) b)))) a)))))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 a #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (+.f64 b (*.f64 #s(literal -1 binary64) b)) (/.f64 (pow.f64 b #s(literal 2 binary64)) a)) a))))) |
#s(approx (+ a b) (*.f64 #s(literal -1 binary64) (*.f64 a (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 b a)) #s(literal 1 binary64))))) |
#s(approx (- a b) (*.f64 #s(literal -1 binary64) (*.f64 a (-.f64 (/.f64 b a) #s(literal 1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (+.f64 a (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) a)))) |
#s(approx (pow b 2) (pow.f64 b #s(literal 2 binary64))) |
#s(approx (sqrt (* (+ a b) (- a b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 b (+.f64 a (*.f64 #s(literal -1 binary64) a))) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 b (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 b (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 2 binary64)))))) (sqrt.f64 (pow.f64 a #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 b (fma.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (sqrt.f64 (pow.f64 a #s(literal 2 binary64)))) (*.f64 b (fma.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 2 binary64))))) (sqrt.f64 (pow.f64 a #s(literal 2 binary64)))) (*.f64 #s(literal 1/4 binary64) (/.f64 (*.f64 b (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 2 binary64))))) (+.f64 a (*.f64 #s(literal -1 binary64) a)))) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))))))))) |
#s(approx (* (+ a b) (- a b)) (fma.f64 b (+.f64 a (*.f64 #s(literal -1 binary64) a)) (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (* (+ a b) (- a b)) (fma.f64 b (+.f64 a (fma.f64 #s(literal -1 binary64) a (*.f64 #s(literal -1 binary64) b))) (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (- a b) (+.f64 a (*.f64 #s(literal -1 binary64) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (/.f64 a (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) a))))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (-.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))) (*.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (fma.f64 #s(literal -1 binary64) (/.f64 a b) (/.f64 a b)) #s(literal 1 binary64)))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (fma.f64 #s(literal -1 binary64) (/.f64 a b) (+.f64 (/.f64 a b) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64))))) #s(literal 1 binary64)))) |
#s(approx (+ a b) (*.f64 b (+.f64 #s(literal 1 binary64) (/.f64 a b)))) |
#s(approx (- a b) (*.f64 b (-.f64 (/.f64 a b) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal -1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (*.f64 b (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (sqrt.f64 #s(literal -1 binary64))))) b)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/4 binary64) (/.f64 (*.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (-.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64)))))) (*.f64 b (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (/.f64 (pow.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) #s(literal 2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 2 binary64))))) (sqrt.f64 #s(literal -1 binary64))))) b) (*.f64 #s(literal 1/2 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) (sqrt.f64 #s(literal -1 binary64))))) b)))))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 a (*.f64 #s(literal -1 binary64) a)) b)) #s(literal 1 binary64)))) |
#s(approx (* (+ a b) (- a b)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 a (fma.f64 #s(literal -1 binary64) a (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) b)))) b)) #s(literal 1 binary64)))) |
#s(approx (+ a b) (*.f64 #s(literal -1 binary64) (*.f64 b (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 a b)) #s(literal 1 binary64))))) |
#s(approx (- a b) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 a b)))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 6.0ms | b | 0 |
| 3.0ms | a | 0 |
| 3.0ms | b | inf |
| 2.0ms | a | -inf |
| 2.0ms | a | inf |
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) a)) |
(*.f64 #s(literal -1 binary64) a) |
#s(literal -1 binary64) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
(*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))) |
#s(literal 1 binary64) |
(*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) |
#s(literal -1/2 binary64) |
(/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) |
(pow.f64 b #s(literal 2 binary64)) |
b |
#s(literal 2 binary64) |
(pow.f64 a #s(literal 2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 a b) |
(-.f64 a b) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
(*.f64 #s(literal -1 binary64) a) |
(*.f64 a #s(literal -1 binary64)) |
(neg.f64 a) |
#s(literal -1 binary64) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
(*.f64 a (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a) |
(+.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)) a)) |
(+.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)))) |
(fma.f64 #s(literal 1 binary64) a (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)) a)) |
(fma.f64 a #s(literal 1 binary64) (*.f64 a (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)))) |
(+.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a))) |
(+.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 b b) (*.f64 a a)))) |
(-.f64 #s(literal 1 binary64) (neg.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)))) |
(fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(cosh.f64 #s(literal 0 binary64)) |
(exp.f64 #s(literal 0 binary64)) |
(*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 b b) (*.f64 a a))) |
(*.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (*.f64 a a)) |
#s(literal -1/2 binary64) |
(*.f64 (*.f64 b b) (/.f64 #s(literal 1 binary64) (*.f64 a a))) |
(/.f64 (*.f64 b b) (*.f64 a a)) |
(/.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 a a))) |
(*.f64 b b) |
(*.f64 (fabs.f64 b) (fabs.f64 b)) |
(*.f64 (neg.f64 b) (neg.f64 b)) |
(pow.f64 b #s(literal 2 binary64)) |
b |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(*.f64 a a) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(pow.f64 a #s(literal 2 binary64)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))) |
(pow.f64 (*.f64 (+.f64 a b) (-.f64 a b)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(*.f64 (-.f64 a b) (+.f64 a b)) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(+.f64 (*.f64 a a) (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 a a (neg.f64 (*.f64 b b))) |
(fma.f64 (neg.f64 a) (neg.f64 a) (neg.f64 (*.f64 b b))) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (neg.f64 (*.f64 b b))) |
(neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) |
(+.f64 a b) |
(+.f64 b a) |
(-.f64 a (neg.f64 b)) |
(+.f64 a (neg.f64 b)) |
(-.f64 a b) |
(neg.f64 (-.f64 b a)) |
Compiled 3 519 to 674 computations (80.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 128 | 2 | 130 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 0 | 0 |
| Total | 130 | 3 | 133 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.5% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ▶ | 99.4% | #s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)))) |
| ▶ | 1.0% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
Compiled 43 to 32 computations (25.6% saved)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)))) |
(*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 (pow.f64 a #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) (*.f64 (pow.f64 a #s(literal 2 binary64)) (fma.f64 (pow.f64 a #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (neg.f64 (pow.f64 b #s(literal 2 binary64)))))))))) |
#s(approx (neg a) (*.f64 #s(literal -1 binary64) a)) |
#s(approx a a) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) a))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (/.f64 (fma.f64 #s(literal -1/2 binary64) (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) a)) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (/.f64 (fma.f64 #s(literal -1/2 binary64) (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))))))))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 a (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64)))))))))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (*.f64 #s(literal -1 binary64) (*.f64 a (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) #s(literal 1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (pow.f64 a #s(literal 2 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (+.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 a #s(literal 2 binary64))) #s(literal 3 binary64)))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 a #s(literal 2 binary64))))))))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (+.f64 a (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) a)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (/.f64 a (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) a))))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) (*.f64 (pow.f64 b #s(literal 2 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 b #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 a #s(literal 2 binary64))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) (*.f64 b (+.f64 (sqrt.f64 #s(literal -1 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 a #s(literal 2 binary64)) (*.f64 (pow.f64 b #s(literal 2 binary64)) (sqrt.f64 #s(literal -1 binary64))))))))))) |
6 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | a | -inf |
| 1.0ms | a | 0 |
| 1.0ms | b | inf |
| 1.0ms | a | inf |
| 1.0ms | b | -inf |
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)))) |
(*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64))) |
#s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (/ (* -1/2 (* b b)) (* a a))) #s(literal 1 binary64)))) |
(*.f64 a #s(approx (+ 1 (/ (* -1/2 (* b b)) (* a a))) #s(literal 1 binary64))) |
#s(approx (+ 1 (/ (* -1/2 (* b b)) (* a a))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(cosh.f64 #s(literal 0 binary64)) |
(exp.f64 #s(literal 0 binary64)) |
Compiled 1 222 to 208 computations (83% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 0 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 39 | 3 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.5% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ✓ | 99.4% | #s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)))) |
| ✓ | 1.0% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
Compiled 43 to 32 computations (25.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) a)) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 #s(literal -1 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))))))) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 a #s(approx (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))) #s(literal 1 binary64)))) |
12 calls:
| 3.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 3.0ms | b |
| 3.0ms | a |
| 2.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 2.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 1.0% | 1 | (*.f64 b b) |
| 1.0% | 1 | (*.f64 a a) |
| 1.0% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0% | 1 | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| 1.0% | 1 | a |
| 1.0% | 1 | b |
| 99.4% | 1 | (*.f64 b b) |
| 99.4% | 1 | (*.f64 a a) |
| 99.4% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 99.4% | 1 | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| 99.4% | 1 | a |
| 99.4% | 1 | b |
Compiled 131 to 82 computations (37.4% saved)
| 1× | done |
Compiled 35 to 20 computations (42.9% saved)
(abs b)
(abs a)
Compiled 231 to 166 computations (28.1% saved)
Loading profile data...