
Time bar (total: 1.3s)
| 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)
| 451.0ms | 8 256× | 0 | valid |
| 94.0ms | 637× | 0 | invalid |
ival-mult!: 120.0ms (57.4% of total)ival-sqrt: 69.0ms (33% of total)ival-sub!: 19.0ms (9.1% of total)adjust: 2.0ms (1% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 50 |
| 1 | 65 | 50 |
| 2 | 234 | 50 |
| 3 | 394 | 50 |
| 4 | 1100 | 50 |
| 5 | 3701 | 50 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.3% | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
(abs a)
(abs b)
Compiled 12 to 12 computations (0% 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))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | 0 | ((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | b | @ | inf | ((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | a | @ | inf | ((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | a | @ | -inf | ((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | b | @ | -inf | ((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 157 | 835 |
| 0 | 160 | 800 |
| 0 | 814 | 774 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| 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 |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
| Outputs |
|---|
(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 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b b) (*.f64 b b))) (fma.f64 a a (*.f64 b b))) |
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (fma.f64 (*.f64 a a) (*.f64 a a) (fma.f64 (*.f64 b b) (*.f64 b b) (*.f64 (*.f64 a a) (*.f64 b b))))) |
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 a a (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(*.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64))) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 a a) |
(pow.f64 a #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) |
a |
(*.f64 (pow.f64 b #s(literal 1 binary64)) (pow.f64 b #s(literal 1 binary64))) |
(*.f64 (fabs.f64 b) (fabs.f64 b)) |
(*.f64 (neg.f64 b) (neg.f64 b)) |
(*.f64 b b) |
(pow.f64 b #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) |
b |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 a a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b))) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 a b) (-.f64 a b))) |
#s(approx (* a a) (*.f64 a a)) |
#s(approx a a) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)) a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (/.f64 (neg.f64 (*.f64 b b)) (*.f64 a a)) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 b b)) (pow.f64 a #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) a))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (- (* a a) (* b b)) (fma.f64 a a (neg.f64 (*.f64 b b)))) |
#s(approx (* b b) (*.f64 b b)) |
#s(approx b b) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (/.f64 (*.f64 a a) (*.f64 b b)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))) |
Compiled 613 to 217 computations (64.6% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 4 | 50 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 46 | 5 | 51 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 51.3% | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| ▶ | 51.9% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ▶ | 1.4% | (sqrt.f64 #s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b)))) |
| ▶ | 91.4% | #s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
| ▶ | 1.1% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
Compiled 40 to 40 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
(fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a) |
(/.f64 (*.f64 b b) a) |
(*.f64 b b) |
b |
#s(literal -1/2 binary64) |
(sqrt.f64 #s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b)))) |
#s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b))) |
(neg.f64 (*.f64 b b)) |
(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))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a)))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a))) |
#s(approx (/ (* b b) a) #s(hole binary64 (/ (pow b 2) a))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))))) |
#s(approx (+ a b) #s(hole binary64 b)) |
#s(approx (+ a b) #s(hole binary64 (+ a b))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))))) |
#s(approx (+ a b) #s(hole binary64 (* a (+ 1 (/ b a))))) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (* -1 (* a (- (* 1/2 (/ (pow b 2) (pow a 2))) 1))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2)))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3)))))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2)))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a)))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)))) |
#s(approx (+ a b) #s(hole binary64 (* b (+ 1 (/ a b))))) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | b | @ | -inf | ((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (/ (* b b) a) -1/2) a) (/ (* b b) a) (* b b) b -1/2 (sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (neg (* b b)) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b)) |
| 3.0ms | b | @ | inf | ((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (/ (* b b) a) -1/2) a) (/ (* b b) a) (* b b) b -1/2 (sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (neg (* b b)) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b)) |
| 2.0ms | b | @ | 0 | ((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (/ (* b b) a) -1/2) a) (/ (* b b) a) (* b b) b -1/2 (sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (neg (* b b)) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b)) |
| 2.0ms | a | @ | -inf | ((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (/ (* b b) a) -1/2) a) (/ (* b b) a) (* b b) b -1/2 (sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (neg (* b b)) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b)) |
| 2.0ms | a | @ | 0 | ((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (/ (* b b) a) -1/2) a) (/ (* b b) a) (* b b) b -1/2 (sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (neg (* b b)) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 452 | 2413 |
| 0 | 465 | 2156 |
| 0 | 2758 | 2078 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
(fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a) |
(/.f64 (*.f64 b b) a) |
(*.f64 b b) |
b |
#s(literal -1/2 binary64) |
(sqrt.f64 #s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b)))) |
#s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b))) |
(neg.f64 (*.f64 b b)) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 a b) |
(-.f64 a b) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a)))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a))) |
#s(approx (/ (* b b) a) #s(hole binary64 (/ (pow b 2) a))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))))) |
#s(approx (+ a b) #s(hole binary64 b)) |
#s(approx (+ a b) #s(hole binary64 (+ a b))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))))) |
#s(approx (+ a b) #s(hole binary64 (* a (+ 1 (/ b a))))) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (* -1 (* a (- (* 1/2 (/ (pow b 2) (pow a 2))) 1))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2)))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2)))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3)))))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2)))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a)))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)))) |
#s(approx (+ a b) #s(hole binary64 (* b (+ 1 (/ a b))))) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b))))))) |
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b))))))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)))) |
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ 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) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
(/.f64 (-.f64 (*.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64))) (*.f64 a a)) (-.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) a)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)))) (-.f64 a (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (*.f64 (*.f64 a a) a)) (fma.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) (-.f64 (*.f64 a a) (*.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) a)))) |
(/.f64 (fma.f64 (*.f64 a a) a (pow.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64))) (*.f64 a (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)))))) |
(fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a) |
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 b b) a) a) |
(-.f64 a (*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 b b) a))) |
(+.f64 (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)) a) |
(+.f64 a (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64))) |
(*.f64 b (/.f64 b a)) |
(/.f64 (*.f64 (neg.f64 b) b) (neg.f64 a)) |
(/.f64 (*.f64 b b) a) |
(*.f64 (pow.f64 b #s(literal 1 binary64)) (pow.f64 b #s(literal 1 binary64))) |
(*.f64 (fabs.f64 b) (fabs.f64 b)) |
(*.f64 (neg.f64 b) (neg.f64 b)) |
(*.f64 b b) |
(pow.f64 b #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) |
b |
#s(literal -1/2 binary64) |
(pow.f64 #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b))) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(*.f64 (*.f64 b b) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 2 binary64)) |
(neg.f64 (*.f64 b b)) |
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b))) |
(pow.f64 (*.f64 (-.f64 a b) (+.f64 b a)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (-.f64 a b) (+.f64 b a))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b)) (*.f64 (*.f64 a a) (*.f64 a a))) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))) |
(/.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b b) (*.f64 b b))) (fma.f64 a a (*.f64 b b))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (neg.f64 b) b) #s(literal 3 binary64)) (pow.f64 (*.f64 a a) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b) (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (fma.f64 (*.f64 a a) (*.f64 a a) (fma.f64 (*.f64 b b) (*.f64 b b) (*.f64 (*.f64 a a) (*.f64 b b))))) |
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 a a)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 #s(literal -1 binary64) (*.f64 b b) (*.f64 a a)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(/.f64 (fma.f64 (*.f64 a a) a (*.f64 (*.f64 b b) b)) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 a b)))) |
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (-.f64 a b)) |
(+.f64 b a) |
(+.f64 a b) |
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 a a (fma.f64 b b (*.f64 a b)))) |
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (+.f64 b a)) |
(-.f64 a b) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) b))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 a a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) b)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (neg a) (neg.f64 a)) |
#s(approx a a) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1/2 binary64) (*.f64 a a)) a)) |
#s(approx (/ (* b b) a) (/.f64 (*.f64 b b) a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) (*.f64 (neg.f64 b) b)) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (/.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 a (fma.f64 a (fma.f64 (/.f64 (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) (*.f64 (neg.f64 b) b)) #s(literal 1/4 binary64))) (*.f64 #s(literal 0 binary64) b)) a) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) b))) #s(literal -1/4 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) (*.f64 (neg.f64 b) b)) #s(literal 1/4 binary64)))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (- (* a a) (* b b)) (fma.f64 (neg.f64 b) b (*.f64 (*.f64 #s(literal 0 binary64) b) a))) |
#s(approx (- (* a a) (* b b)) (fma.f64 (neg.f64 b) b (*.f64 (fma.f64 #s(literal 0 binary64) b a) a))) |
#s(approx (+ a b) b) |
#s(approx (+ a b) (+.f64 b a)) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)) a)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (/.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 #s(literal 0 binary64) (/.f64 b a)) #s(literal 1/2 binary64) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 0 binary64) (/.f64 b a) (/.f64 (fma.f64 (neg.f64 b) b (*.f64 #s(literal -1/4 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)))) (*.f64 a a))) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 0 binary64) (/.f64 b a) (/.f64 (fma.f64 (neg.f64 b) b (*.f64 #s(literal -1/4 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)))) (*.f64 a a))) (*.f64 (/.f64 (*.f64 (fma.f64 (neg.f64 b) b (*.f64 #s(literal -1/4 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)))) (*.f64 #s(literal 0 binary64) b)) (*.f64 (*.f64 a a) a)) #s(literal -1/4 binary64))) #s(literal 1 binary64)) a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 b a) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (+.f64 (+.f64 (/.f64 (neg.f64 b) a) (/.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))) (/.f64 b a)) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (+ a b) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a)) |
#s(approx (- a b) (*.f64 (+.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)))) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) (*.f64 (neg.f64 a) (-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 b b)) (*.f64 a a)) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (*.f64 #s(literal 0 binary64) (/.f64 b a)) #s(literal -1/2 binary64) #s(literal -1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (neg.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal -1 binary64)))) a) #s(literal -1/2 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64))) a)) #s(literal -1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (neg.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) b)) (neg.f64 a)) #s(literal 1/4 binary64) (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal -1 binary64)))) #s(literal 1/2 binary64))) a))) a)) #s(literal -1 binary64)))) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (neg.f64 (/.f64 (fma.f64 b (/.f64 b a) (neg.f64 (*.f64 #s(literal 0 binary64) b))) a)) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (+ a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64)))) |
#s(approx (- a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 b a) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 b b)) (pow.f64 a #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) a))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (* b b) (*.f64 b b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) b) a) #s(literal 1/2 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) b) a) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 b (fma.f64 b (fma.f64 (/.f64 (*.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 0 binary64) a)) b) (*.f64 (*.f64 a a) a)) #s(literal 1/4 binary64) (*.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a) #s(literal -1/2 binary64))) (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) a)) |
#s(approx (- (* a a) (* b b)) (fma.f64 (*.f64 #s(literal 0 binary64) a) b (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (fma.f64 (fma.f64 #s(literal 0 binary64) a (neg.f64 b)) b (*.f64 a a))) |
#s(approx (- a b) (+.f64 (neg.f64 b) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (+ (* (/ (* b b) a) -1/2) a) (*.f64 (-.f64 (/.f64 a (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (/.f64 (*.f64 a a) (*.f64 b b)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) #s(literal -1 binary64)))) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) b))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) #s(literal -1 binary64)))) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 a b) (/.f64 (*.f64 a a) (*.f64 b b))) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (+ a b) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (sqrt.f64 #s(literal -1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (+.f64 (neg.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) #s(literal -1 binary64)))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal -1/2 binary64))) b)) (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (+.f64 (neg.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) b)) #s(literal 1/4 binary64))) b))) b)) (sqrt.f64 #s(literal -1 binary64))))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b))) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) a (neg.f64 (/.f64 (*.f64 a a) b))) b)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (+ a b) (*.f64 (neg.f64 b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64)))) |
#s(approx (- a b) (*.f64 (neg.f64 b) (+.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64)))) |
Compiled 1 540 to 607 computations (60.6% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 129 | 2 | 131 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 2 | 4 |
| Done | 0 | 1 | 1 |
| Total | 131 | 5 | 136 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 51.3% | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| ✓ | 51.9% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ▶ | 99.2% | #s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
| ▶ | 98.4% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a))) |
| ✓ | 1.1% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
Compiled 40 to 40 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a))) |
(neg.f64 (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
(fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a) |
(*.f64 b (/.f64 b a)) |
b |
(/.f64 b a) |
#s(literal -1/2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (neg (neg a)) #s(hole binary64 a)) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a)))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a))) |
#s(approx (* b (/ b a)) #s(hole binary64 (/ (pow b 2) a))) |
#s(approx (/ b a) #s(hole binary64 (/ b a))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (* -1 (* a (- (* 1/2 (/ (pow b 2) (pow a 2))) 1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a)))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (* b (/ b a)) -1/2) a) (* b (/ b a)) b (/ b a) -1/2) |
| 1.0ms | b | @ | -inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (* b (/ b a)) -1/2) a) (* b (/ b a)) b (/ b a) -1/2) |
| 1.0ms | b | @ | inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (* b (/ b a)) -1/2) a) (* b (/ b a)) b (/ b a) -1/2) |
| 1.0ms | a | @ | inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (* b (/ b a)) -1/2) a) (* b (/ b a)) b (/ b a) -1/2) |
| 1.0ms | a | @ | 0 | ((sqrt (- (* a a) (* b b))) (neg (neg a)) (neg a) a (sqrt (- (* a a) (* b b))) (+ (* (* b (/ b a)) -1/2) a) (* b (/ b a)) b (/ b a) -1/2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 166 | 860 |
| 0 | 174 | 818 |
| 0 | 840 | 793 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a))) |
(neg.f64 (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
(fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a) |
(*.f64 b (/.f64 b a)) |
b |
(/.f64 b a) |
#s(literal -1/2 binary64) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (neg (neg a)) #s(hole binary64 a)) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a)))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a))) |
#s(approx (* b (/ b a)) #s(hole binary64 (/ (pow b 2) a))) |
#s(approx (/ b a) #s(hole binary64 (/ b a))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (* -1 (* a (- (* 1/2 (/ (pow b 2) (pow a 2))) 1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a)))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) a) |
a |
(*.f64 #s(literal -1 binary64) a) |
(*.f64 a #s(literal -1 binary64)) |
(neg.f64 a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64) a)) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64))) (*.f64 a a)) (-.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) a)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)))) (-.f64 a (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (*.f64 (*.f64 a a) a)) (fma.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) (-.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) a)))) |
(/.f64 (fma.f64 (*.f64 a a) a (pow.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64))) (*.f64 a (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)))))) |
(fma.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64) a) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 (/.f64 b a) b) a) |
(fma.f64 b (*.f64 (/.f64 b a) #s(literal -1/2 binary64)) a) |
(-.f64 a (*.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 b a) b))) |
(+.f64 (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64)) a) |
(+.f64 a (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64))) |
(*.f64 (/.f64 b a) b) |
(*.f64 b (/.f64 b a)) |
(/.f64 (neg.f64 (*.f64 b b)) (neg.f64 a)) |
(/.f64 (*.f64 b b) a) |
b |
(/.f64 (neg.f64 b) (neg.f64 a)) |
(/.f64 b a) |
#s(literal -1/2 binary64) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 a a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (neg (neg a)) a) |
#s(approx (neg a) (neg.f64 a)) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) (*.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1/2 binary64) (*.f64 a a)) a)) |
#s(approx (* b (/ b a)) (*.f64 (/.f64 b a) b)) |
#s(approx (/ b a) (/.f64 b a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)))) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) (*.f64 (neg.f64 a) (-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 b b)) (*.f64 a a)) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 (/.f64 b a) b) #s(literal -1/2 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 b b)) (pow.f64 a #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) a))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx b b) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (+ (* (* b (/ b a)) -1/2) a) (*.f64 (-.f64 (/.f64 a (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))) |
Compiled 639 to 212 computations (66.8% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 1 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 3 | 3 |
| Total | 47 | 5 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 51.3% | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| ✓ | 51.9% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ✓ | 99.2% | #s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
| ✓ | 1.1% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
| ▶ | 98.4% | #s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
Compiled 41 to 41 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
#s(approx (neg (neg a)) a) |
a |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (neg (neg a)) #s(hole binary64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | a | @ | -inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) a) |
| 0.0ms | a | @ | inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) a) |
| 0.0ms | a | @ | 0 | ((sqrt (- (* a a) (* b b))) (neg (neg a)) a) |
| 0.0ms | b | @ | inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) a) |
| 0.0ms | b | @ | -inf | ((sqrt (- (* a a) (* b b))) (neg (neg a)) a) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 139 | 728 |
| 0 | 139 | 690 |
| 0 | 732 | 665 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
#s(approx (neg (neg a)) a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1)))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1))))))))) |
#s(approx (neg (neg a)) #s(hole binary64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))) |
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
#s(approx (neg (neg a)) a) |
a |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 a a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (neg (neg a)) a) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64))))) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64)))) #s(literal 1 binary64)))) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 b b)) (pow.f64 a #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) a))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b)) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b))) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))) |
Compiled 425 to 115 computations (72.9% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 0 | 20 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 20 | 5 | 25 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 51.3% | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| ✓ | 51.9% | (sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
| ✓ | 99.2% | #s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
| ✓ | 1.1% | #s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
| ✓ | 98.4% | #s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
Compiled 88 to 74 computations (15.9% saved)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a))) |
(sqrt.f64 #s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b)))) |
(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))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a)) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 b (/.f64 b a)) #s(literal -1/2 binary64) a)) |
6 calls:
| 36.0ms | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| 5.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 3.0ms | b |
| 3.0ms | a |
| 2.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (*.f64 b b) |
| 99.2% | 1 | (*.f64 a a) |
| 99.2% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 99.2% | 1 | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| 99.2% | 1 | a |
| 99.2% | 1 | b |
Compiled 17 to 21 computations (-23.5% saved)
Total -62.5b remaining (-5974.1%)
Threshold costs -62.5b (-5974.1%)
| Inputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a)) |
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a))) |
(sqrt.f64 #s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b)))) |
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b))) |
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| Outputs |
|---|
#s(approx (sqrt (- (* a a) (* b b))) #s(approx (neg (neg a)) a)) |
6 calls:
| 2.0ms | b |
| 2.0ms | a |
| 2.0ms | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| 2.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 2.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.4% | 1 | (*.f64 b b) |
| 98.4% | 1 | (*.f64 a a) |
| 98.4% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 98.4% | 1 | (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) |
| 98.4% | 1 | a |
| 98.4% | 1 | b |
Compiled 17 to 21 computations (-23.5% saved)
| 1× | done |
Compiled 19 to 15 computations (21.1% saved)
(abs b)
Compiled 151 to 147 computations (2.6% saved)
Loading profile data...