bug366, discussion (missed optimization)

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze34.0ms (2.5%)

Memory
17.4MiB live, 58.3MiB allocated; 7ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
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
Compiler

Compiled 10 to 8 computations (20% saved)

sample712.0ms (53.8%)

Memory
20.8MiB live, 716.3MiB allocated; 192ms collecting garbage
Samples
437.0ms8 256×0valid
25.0ms637×0invalid
Precisions
Click to see histograms. Total time spent on operations: 246.0ms
ival-mult!: 159.0ms (64.6% of total)
ival-sqrt: 65.0ms (26.4% of total)
ival-sub!: 20.0ms (8.1% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

preprocess53.0ms (4%)

Memory
-29.1MiB live, 16.0MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
16550
223450
339450
4110050
5370150
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.0%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Symmetry

(abs a)

(abs b)

Compiler

Compiled 12 to 12 computations (0% saved)

series7.0ms (0.5%)

Memory
9.7MiB live, 9.7MiB allocated; 0ms collecting garbage
Counts
6 → 32
Calls
Call 1
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 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#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 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#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))))
#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)))))))))))
Calls

6 calls:

TimeVariablePointExpression
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)
1.0ms
a
@0
((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
@0
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)

rewrite50.0ms (3.8%)

Memory
13.5MiB live, 58.6MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0160892
0163857
0814832
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
38 → 57
Calls
Call 1
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 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#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 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#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))))
#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))) (sqrt.f64 (neg.f64 (*.f64 b b))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b 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 (neg.f64 (*.f64 b b)) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b 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 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #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 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #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))) (sqrt.f64 (*.f64 a a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) (sqrt.f64 (*.f64 a a))) #s(literal -1/2 binary64) (sqrt.f64 (*.f64 a a))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (*.f64 a a)))) (*.f64 b b) (sqrt.f64 (*.f64 a 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 (*.f64 a a) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (*.f64 a a)))) (*.f64 b b) (sqrt.f64 (*.f64 a 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 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 b #s(literal 6 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (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 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 b #s(literal 6 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (sqrt.f64 #s(literal -1 binary64))) b)))

eval5.0ms (0.4%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Compiler

Compiled 606 to 221 computations (63.5% saved)

prune2.0ms (0.2%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh000
Picked101
Done000
Total49453
Accuracy
95.6%
Counts
53 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.3%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
88.5%
#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))
52.0%
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (*.f64 a a)))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
Compiler

Compiled 37 to 37 computations (0% saved)

series24.0ms (1.8%)

Memory
-31.3MiB live, 27.3MiB allocated; 6ms collecting garbage
Counts
18 → 81
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
(neg.f64 a)
a
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (*.f64 a a)))
(sqrt.f64 (*.f64 a a))
(*.f64 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))
(*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)
(fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64))
(/.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b b)
b
#s(literal -1/2 binary64)
#s(literal 1 binary64)
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(*.f64 (+.f64 a b) (-.f64 a b))
(+.f64 a b)
(-.f64 a b)
Outputs
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (neg a) #s(hole binary64 (* -1 a)))
#s(approx a #s(hole binary64 a))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a))))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a)))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (* -1/2 (/ (pow b 2) (pow a 2)))))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) (pow a 2))))
#s(approx (/ (* b b) (* a a)) #s(hole binary64 (/ (pow b 2) (pow a 2))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (sqrt (* -1 (pow b 2)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (* -1 (pow b 2))) (* 1/2 (/ (* a (+ b (* -1 b))) (sqrt (* -1 (pow b 2))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (* -1 (pow b 2))) (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt (* -1 (pow b 2))) 2))))) (sqrt (* -1 (pow b 2))))) (* 1/2 (/ (+ b (* -1 b)) (sqrt (* -1 (pow b 2))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (* -1 (pow b 2))) (* a (+ (* 1/2 (/ (+ b (* -1 b)) (sqrt (* -1 (pow b 2))))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt (* -1 (pow b 2))) 2)))))) (pow (sqrt (* -1 (pow b 2))) 3))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt (* -1 (pow b 2))) 2)))) (sqrt (* -1 (pow b 2))))))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* -1 (pow b 2))))
#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 (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 1))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (+ 1 (* -1/2 (/ (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 a)) -1/2) 1) 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 (+ 1 (* 1/2 (/ (+ b (* -1 b)) a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ (+ (* -1/2 (+ b (* -1 b))) (* -1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) a))) a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ (+ (* -1 (/ (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) a)) (* 1/2 (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))))) a)) (* -1/2 (+ b (* -1 b)))) a)))))))
#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 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (* b b) #s(hole binary64 (pow b 2)))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* 1/2 (/ (* b (+ a (* -1 a))) (sqrt (pow a 2)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt (pow a 2)) 2))))) (sqrt (pow a 2)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt (pow a 2)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* b (+ (* 1/2 (/ (+ a (* -1 a)) (sqrt (pow a 2)))) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt (pow a 2)) 2)))) (sqrt (pow a 2)))) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt (pow a 2)) 2)))) (+ a (* -1 a)))) (pow (sqrt (pow a 2)) 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))))
#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 a)) -1/2) 1) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a))))))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (* (pow b 2) (- (/ 1 (pow b 2)) (* 1/2 (/ 1 (pow a 2)))))))
#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)))))))
Calls

6 calls:

TimeVariablePointExpression
10.0ms
b
@inf
((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (sqrt (* a a)) (* a a) (sqrt (- (* a a) (* b b))) (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (+ (* (/ (* b b) (* a a)) -1/2) 1) (/ (* b b) (* a a)) (* b b) b -1/2 1 (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b))
3.0ms
a
@0
((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (sqrt (* a a)) (* a a) (sqrt (- (* a a) (* b b))) (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (+ (* (/ (* b b) (* a a)) -1/2) 1) (/ (* b b) (* a a)) (* b b) b -1/2 1 (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b))
3.0ms
b
@0
((sqrt (- (* a a) (* b b))) (neg a) a (sqrt (- (* a a) (* b b))) (sqrt (* a a)) (* a a) (sqrt (- (* a a) (* b b))) (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (+ (* (/ (* b b) (* a a)) -1/2) 1) (/ (* b b) (* a a)) (* b b) b -1/2 1 (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))) (sqrt (* a a)) (* a a) (sqrt (- (* a a) (* b b))) (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (+ (* (/ (* b b) (* a a)) -1/2) 1) (/ (* b b) (* a a)) (* b b) b -1/2 1 (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))) (sqrt (* a a)) (* a a) (sqrt (- (* a a) (* b b))) (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (+ (* (/ (* b b) (* a a)) -1/2) 1) (/ (* b b) (* a a)) (* b b) b -1/2 1 (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) (- a b))

rewrite91.0ms (6.9%)

Memory
38.0MiB live, 83.1MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04612577
04752284
028072216
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
99 → 152
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
(neg.f64 a)
a
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (*.f64 a a)))
(sqrt.f64 (*.f64 a a))
(*.f64 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))
(*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)
(fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64))
(/.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b b)
b
#s(literal -1/2 binary64)
#s(literal 1 binary64)
(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 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (neg a) #s(hole binary64 (* -1 a)))
#s(approx a #s(hole binary64 a))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a))))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a)))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (* -1/2 (/ (pow b 2) (pow a 2)))))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) (pow a 2))))
#s(approx (/ (* b b) (* a a)) #s(hole binary64 (/ (pow b 2) (pow a 2))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (sqrt (* -1 (pow b 2)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (* -1 (pow b 2))) (* 1/2 (/ (* a (+ b (* -1 b))) (sqrt (* -1 (pow b 2))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (* -1 (pow b 2))) (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt (* -1 (pow b 2))) 2))))) (sqrt (* -1 (pow b 2))))) (* 1/2 (/ (+ b (* -1 b)) (sqrt (* -1 (pow b 2))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (* -1 (pow b 2))) (* a (+ (* 1/2 (/ (+ b (* -1 b)) (sqrt (* -1 (pow b 2))))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt (* -1 (pow b 2))) 2)))))) (pow (sqrt (* -1 (pow b 2))) 3))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt (* -1 (pow b 2))) 2)))) (sqrt (* -1 (pow b 2))))))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* -1 (pow b 2))))
#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 (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 1))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (+ 1 (* -1/2 (/ (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 a)) -1/2) 1) 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 (+ 1 (* 1/2 (/ (+ b (* -1 b)) a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ (+ (* -1/2 (+ b (* -1 b))) (* -1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) a))) a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ (+ (* -1 (/ (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) a)) (* 1/2 (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))))) a)) (* -1/2 (+ b (* -1 b)))) a)))))))
#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 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (* b b) #s(hole binary64 (pow b 2)))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* 1/2 (/ (* b (+ a (* -1 a))) (sqrt (pow a 2)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt (pow a 2)) 2))))) (sqrt (pow a 2)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt (pow a 2)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* b (+ (* 1/2 (/ (+ a (* -1 a)) (sqrt (pow a 2)))) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt (pow a 2)) 2)))) (sqrt (pow a 2)))) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt (pow a 2)) 2)))) (+ a (* -1 a)))) (pow (sqrt (pow a 2)) 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))))
#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 a)) -1/2) 1) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a))))))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(hole binary64 (* (pow b 2) (- (/ 1 (pow b 2)) (* 1/2 (/ 1 (pow a 2)))))))
#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))) (fabs.f64 a))
(*.f64 (sqrt.f64 a) (sqrt.f64 a))
(pow.f64 (*.f64 a a) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 a a))
(fabs.f64 a)
(*.f64 (pow.f64 (fabs.f64 a) #s(literal 1 binary64)) (pow.f64 (fabs.f64 a) #s(literal 1 binary64)))
(*.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 (fabs.f64 a) #s(literal 2 binary64))
(pow.f64 (*.f64 a a) #s(literal 1 binary64))
(pow.f64 a #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 (fabs.f64 a)) #s(literal 2 binary64)))
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64)) a))
(*.f64 (fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64)) a)
(*.f64 a (fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) a (*.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) a))
(fma.f64 a #s(literal 1 binary64) (*.f64 a (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a))))
(+.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a))))
(+.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) a))
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a))) #s(literal 1 binary64)) (-.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)))) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a))))
(/.f64 (+.f64 (pow.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) #s(literal 1 binary64)))))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a))) (*.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a))))))
(fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -1/2 binary64) (*.f64 b (/.f64 b (*.f64 a a))) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 b b)) (*.f64 a a)))
(+.f64 (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)))
(*.f64 (/.f64 b a) (/.f64 b a))
(*.f64 b (/.f64 b (*.f64 a a)))
(/.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 a a)))
(/.f64 (/.f64 (*.f64 b b) a) a)
(/.f64 (*.f64 b b) (*.f64 a 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)
#s(literal 1 binary64)
(*.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 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 (fabs.f64 a) #s(literal 1 binary64)) (pow.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (neg.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 (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))) (sqrt.f64 (neg.f64 (*.f64 b b))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 a a) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 5/2 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (neg a) (neg.f64 a))
#s(approx a a)
#s(approx (* a a) (*.f64 a a))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1/2 binary64) (*.f64 a a)) a))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) (/.f64 (*.f64 (*.f64 b b) #s(literal -1/2 binary64)) (*.f64 a a)))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1/2 binary64) (*.f64 a a)) (*.f64 a a)))
#s(approx (/ (* b b) (* a a)) (*.f64 b (/.f64 b (*.f64 a a))))
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (neg.f64 (*.f64 b b))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) (sqrt.f64 (neg.f64 (*.f64 b b)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 a (*.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 (sqrt.f64 (neg.f64 (*.f64 b b))) (sqrt.f64 (neg.f64 (*.f64 b b))))) #s(literal 1/4 binary64))) (sqrt.f64 (neg.f64 (*.f64 b b)))) (/.f64 (*.f64 #s(literal 0 binary64) b) (sqrt.f64 (neg.f64 (*.f64 b b)))))) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 a (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) (*.f64 (sqrt.f64 (neg.f64 (*.f64 b b))) (sqrt.f64 (neg.f64 (*.f64 b b))))) #s(literal 1/4 binary64)))) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64))) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) (*.f64 (sqrt.f64 (neg.f64 (*.f64 b b))) (sqrt.f64 (neg.f64 (*.f64 b b))))) #s(literal 1/4 binary64))) (sqrt.f64 (neg.f64 (*.f64 b b)))) #s(literal 1/2 binary64))) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 0 binary64) b)) (sqrt.f64 (neg.f64 (*.f64 b b))))) a (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (* (+ a b) (- a b)) (neg.f64 (*.f64 b b)))
#s(approx (* (+ a b) (- a b)) (fma.f64 (*.f64 #s(literal 0 binary64) b) a (neg.f64 (*.f64 b b))))
#s(approx (* (+ a b) (- a b)) (fma.f64 (fma.f64 #s(literal 0 binary64) b a) a (neg.f64 (*.f64 b b))))
#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 b (/.f64 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 b (/.f64 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 b (/.f64 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 (+ (* (/ (* b b) (* a a)) -1/2) 1) #s(literal 1 binary64))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) (fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64)))
#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 (-.f64 (neg.f64 (*.f64 b b)) (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal 1/4 binary64))) (*.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 (-.f64 (neg.f64 (*.f64 b b)) (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal 1/4 binary64))) (*.f64 a a))) (*.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (-.f64 (neg.f64 (*.f64 b b)) (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal 1/4 binary64)))) (*.f64 (*.f64 a a) a)) #s(literal -1/4 binary64))) #s(literal 1 binary64)) a))
#s(approx (* (+ a b) (- a b)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 b a) #s(literal 1 binary64)) (*.f64 a a)))
#s(approx (* (+ a b) (- a b)) (*.f64 (+.f64 (+.f64 (+.f64 (/.f64 (neg.f64 b) a) (/.f64 (neg.f64 (*.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 b (/.f64 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 b (/.f64 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 b (/.f64 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 a)) -1/2) 1) 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))) (*.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 (*.f64 #s(literal -1/2 binary64) (fma.f64 #s(literal 0 binary64) b (/.f64 (-.f64 (neg.f64 (*.f64 b b)) (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal 1/4 binary64))) a))) 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 #s(literal 0 binary64) b) (/.f64 (-.f64 (neg.f64 (*.f64 b b)) (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal 1/4 binary64))) a)) #s(literal -1/4 binary64) (*.f64 (-.f64 (neg.f64 (*.f64 b b)) (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) (*.f64 #s(literal 0 binary64) b)) #s(literal 1/4 binary64))) #s(literal 1/2 binary64))) a))) a)) #s(literal 1 binary64))))
#s(approx (* (+ a b) (- a b)) (*.f64 (+.f64 (neg.f64 (/.f64 (+.f64 (neg.f64 (*.f64 #s(literal 0 binary64) b)) (/.f64 (*.f64 b b) a)) 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))) (fabs.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) (fabs.f64 a)) #s(literal -1/2 binary64) (fabs.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 b b) (*.f64 (fabs.f64 a) (*.f64 a a))) #s(literal -1/8 binary64)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b) (fabs.f64 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 (fabs.f64 a) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (fabs.f64 a) (*.f64 a a)))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b) (fabs.f64 a)))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a))
#s(approx (* b b) (*.f64 b b))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) b) (fabs.f64 a)) #s(literal 1/2 binary64) (fabs.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 b (fma.f64 b (fma.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)) (fabs.f64 a)) #s(literal -1/2 binary64) (/.f64 (*.f64 #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)) (*.f64 #s(literal 0 binary64) a)) b)) (*.f64 (fabs.f64 a) (*.f64 a a)))) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 0 binary64) a)) (fabs.f64 a))) (fabs.f64 a)))
#s(approx (* (+ a b) (- a b)) (fma.f64 (*.f64 #s(literal 0 binary64) a) b (*.f64 a a)))
#s(approx (* (+ a b) (- a 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 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (+ (* (/ (* b b) (* a a)) -1/2) 1) a) (*.f64 (-.f64 (/.f64 a (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b)))
#s(approx (+ (* (/ (* b b) (* a a)) -1/2) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (*.f64 a a))) (*.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 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (*.f64 b b) b) (*.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) #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 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (* (+ a b) (- a 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 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (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 b) (- a b)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b))) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (* (+ a b) (- a 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))))

eval17.0ms (1.3%)

Memory
-19.3MiB live, 26.9MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 761 to 699 computations (60.3% saved)

prune5.0ms (0.4%)

Memory
5.9MiB live, 5.9MiB allocated; 0ms collecting garbage
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1473150
Fresh000
Picked224
Done000
Total1495154
Accuracy
100.0%
Counts
154 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
52.3%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
93.1%
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a)))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
99.6%
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
Compiler

Compiled 57 to 53 computations (7% saved)

series29.0ms (2.2%)

Memory
-15.8MiB live, 29.9MiB allocated; 3ms collecting garbage
Counts
26 → 106
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
(fabs.f64 a)
a
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a)))
(fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a))
(fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a)))
(/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a))
(*.f64 #s(literal 0 binary64) a)
#s(literal 0 binary64)
#s(literal 1/2 binary64)
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))
(*.f64 #s(literal -1/2 binary64) (*.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))
#s(literal -1/2 binary64)
(*.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)
(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 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) (*.f64 a a))
(*.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
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 (+.f64 b a))
(+.f64 b a)
(sqrt.f64 (-.f64 a b))
(-.f64 a b)
Outputs
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (fabs a) #s(hole binary64 (fabs a)))
#s(approx a #s(hole binary64 a))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (+ (fabs a) (* -1/2 (/ (pow b 2) (fabs a))))))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) #s(hole binary64 (* -1/2 (/ b (fabs a)))))
#s(approx (/ (* 0 a) (fabs a)) #s(hole binary64 0))
#s(approx (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) #s(hole binary64 (* -1/2 b)))
#s(approx (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) #s(hole binary64 b))
#s(approx (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) #s(hole binary64 1))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (sqrt b) (sqrt (neg b)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (sqrt b) (sqrt (neg b)))) (* 1/2 (/ (sqrt (neg b)) (sqrt b))))) (* (sqrt b) (sqrt (neg b))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (sqrt b) (sqrt (neg b)))) (+ (* 1/2 (/ (sqrt (neg b)) (sqrt b))) (* a (+ (* -1/8 (/ (sqrt b) (pow (sqrt (neg b)) 3))) (+ (* -1/8 (/ (sqrt (neg b)) (pow (sqrt b) 3))) (* 1/4 (/ 1 (* (sqrt b) (sqrt (neg b))))))))))) (* (sqrt b) (sqrt (neg b))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (sqrt b) (sqrt (neg b)))) (+ (* 1/2 (/ (sqrt (neg b)) (sqrt b))) (* a (+ (* -1/8 (/ (sqrt b) (pow (sqrt (neg b)) 3))) (+ (* -1/8 (/ (sqrt (neg b)) (pow (sqrt b) 3))) (+ (* 1/4 (/ 1 (* (sqrt b) (sqrt (neg b))))) (* a (- (+ (* 1/16 (/ (sqrt b) (pow (sqrt (neg b)) 5))) (* 1/16 (/ (sqrt (neg b)) (pow (sqrt b) 5)))) (+ (* 1/16 (/ 1 (* (sqrt b) (pow (sqrt (neg b)) 3)))) (* 1/16 (/ 1 (* (pow (sqrt b) 3) (sqrt (neg b))))))))))))))) (* (sqrt b) (sqrt (neg b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt b)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* 1/2 (/ a (sqrt b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* -1/8 (/ a (pow (sqrt b) 3))) (* 1/2 (/ 1 (sqrt b))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* a (- (* 1/16 (/ a (pow (sqrt b) 5))) (* 1/8 (/ 1 (pow (sqrt b) 3))))) (* 1/2 (/ 1 (sqrt b))))))))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx (sqrt (- a b)) #s(hole binary64 (sqrt (neg b))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt (neg b)) (* 1/2 (/ a (sqrt (neg b)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt (neg b)) (* a (+ (* -1/8 (/ a (pow (sqrt (neg b)) 3))) (* 1/2 (/ 1 (sqrt (neg b)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt (neg b)) (* a (+ (* a (- (* 1/16 (/ a (pow (sqrt (neg b)) 5))) (* 1/8 (/ 1 (pow (sqrt (neg b)) 3))))) (* 1/2 (/ 1 (sqrt (neg 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 (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (pow (sqrt (/ 1 a)) 2))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (+ (* -1/2 (/ b (pow a 2))) (+ (* 1/2 (/ b (pow a 2))) (pow (sqrt (/ 1 a)) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (+ (* -1/2 (/ b (pow a 2))) (+ (* -1/2 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 2)))) (+ (* 1/2 (/ b (pow a 2))) (pow (sqrt (/ 1 a)) 2)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (+ (* -1/2 (/ b (pow a 2))) (+ (* -1/2 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 2)))) (+ (* -1/8 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 4)))) (+ (* 1/8 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 4)))) (+ (* 1/2 (/ b (pow a 2))) (pow (sqrt (/ 1 a)) 2)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (sqrt (/ 1 a)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (+ (* 1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* -1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5))))))))))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#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 (+ b a)) #s(hole binary64 (* -1 (* a (sqrt (/ 1 a))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (+ (* 1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* -1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5)))))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (pow (sqrt a) 2)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* -1/2 (/ (pow b 2) (pow (sqrt a) 2))) (pow (sqrt a) 2))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* (pow b 2) (- (* (pow b 2) (- (* 1/64 (/ 1 (pow (sqrt a) 6))) (* 9/64 (/ 1 (pow (sqrt a) 6))))) (* 1/2 (/ 1 (pow (sqrt a) 2))))) (pow (sqrt a) 2))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* 1/2 (/ b (sqrt a))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/8 (/ b (pow (sqrt a) 3))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* b (- (* 1/16 (/ b (pow (sqrt a) 5))) (* 1/8 (/ 1 (pow (sqrt a) 3))))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* -1/2 (/ b (sqrt a))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (- (* -1/8 (/ b (pow (sqrt a) 3))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (- (* b (- (* -1/16 (/ b (pow (sqrt a) 5))) (* 1/8 (/ 1 (pow (sqrt a) 3))))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#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 (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* -1/2 (/ (pow b 2) (fabs a)))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* (pow b 2) (- (/ (fabs a) (pow b 2)) (* 1/2 (/ 1 (fabs a)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (* (sqrt (/ -1 b)) (sqrt (/ 1 b))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (+ (* 1/2 (/ (* a (sqrt (/ -1 b))) (* (pow b 2) (sqrt (/ 1 b))))) (+ (* 1/2 (/ (* a (sqrt (/ 1 b))) (* (pow b 2) (sqrt (/ -1 b))))) (* (sqrt (/ -1 b)) (sqrt (/ 1 b))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ -1 b))) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ 1 b))) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* 1/4 (/ (pow a 2) (* (pow b 4) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))) (+ (* 1/2 (/ (* a (sqrt (/ -1 b))) (* (pow b 2) (sqrt (/ 1 b))))) (+ (* 1/2 (/ (* a (sqrt (/ 1 b))) (* (pow b 2) (sqrt (/ -1 b))))) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ -1 b))) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ 1 b))) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* -1/16 (/ (pow a 3) (* (pow b 6) (* (sqrt (/ -1 b)) (pow (sqrt (/ 1 b)) 3))))) (+ (* -1/16 (/ (pow a 3) (* (pow b 6) (* (pow (sqrt (/ -1 b)) 3) (sqrt (/ 1 b)))))) (+ (* 1/16 (/ (* (pow a 3) (sqrt (/ -1 b))) (* (pow b 6) (pow (sqrt (/ 1 b)) 5)))) (+ (* 1/16 (/ (* (pow a 3) (sqrt (/ 1 b))) (* (pow b 6) (pow (sqrt (/ -1 b)) 5)))) (+ (* 1/4 (/ (pow a 2) (* (pow b 4) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))) (+ (* 1/2 (/ (* a (sqrt (/ -1 b))) (* (pow b 2) (sqrt (/ 1 b))))) (+ (* 1/2 (/ (* a (sqrt (/ 1 b))) (* (pow b 2) (sqrt (/ -1 b))))) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (sqrt (/ 1 b)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ 1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b)))))))))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (sqrt (/ -1 b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (sqrt (/ -1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ -1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 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 (+ b a)) #s(hole binary64 (* -1 (* b (sqrt (/ 1 b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ 1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b)))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ 1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b))))))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (sqrt (/ -1 b))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ -1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b)))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ -1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b))))))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

TimeVariablePointExpression
6.0ms
a
@inf
((sqrt (- (* a a) (* b b))) (fabs a) a (sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (/ (* 0 a) (fabs a)) (* 0 a) 0 1/2 (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a)) (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) (/ (* (* 0 a) (* 0 a)) (* a a)) (* (* 0 a) (* 0 a)) (* a a) 1/4 1 b (* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) (sqrt (- a b)) (- a b))
5.0ms
b
@inf
((sqrt (- (* a a) (* b b))) (fabs a) a (sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (/ (* 0 a) (fabs a)) (* 0 a) 0 1/2 (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a)) (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) (/ (* (* 0 a) (* 0 a)) (* a a)) (* (* 0 a) (* 0 a)) (* a a) 1/4 1 b (* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) (sqrt (- a b)) (- a b))
5.0ms
b
@0
((sqrt (- (* a a) (* b b))) (fabs a) a (sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (/ (* 0 a) (fabs a)) (* 0 a) 0 1/2 (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a)) (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) (/ (* (* 0 a) (* 0 a)) (* a a)) (* (* 0 a) (* 0 a)) (* a a) 1/4 1 b (* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) (sqrt (- a b)) (- a b))
4.0ms
a
@-inf
((sqrt (- (* a a) (* b b))) (fabs a) a (sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (/ (* 0 a) (fabs a)) (* 0 a) 0 1/2 (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a)) (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) (/ (* (* 0 a) (* 0 a)) (* a a)) (* (* 0 a) (* 0 a)) (* a a) 1/4 1 b (* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) (sqrt (- a b)) (- a b))
3.0ms
a
@0
((sqrt (- (* a a) (* b b))) (fabs a) a (sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (/ (* 0 a) (fabs a)) (* 0 a) 0 1/2 (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a)) (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) (/ (* (* 0 a) (* 0 a)) (* a a)) (* (* 0 a) (* 0 a)) (* a a) 1/4 1 b (* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) (sqrt (- a b)) (- a b))

rewrite114.0ms (8.6%)

Memory
4.2MiB live, 100.3MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06033748
06333382
034263261
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
132 → 186
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
(fabs.f64 a)
a
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a)))
(fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a))
(fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a)))
(/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a))
(*.f64 #s(literal 0 binary64) a)
#s(literal 0 binary64)
#s(literal 1/2 binary64)
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))
(*.f64 #s(literal -1/2 binary64) (*.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))
#s(literal -1/2 binary64)
(*.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)
(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 (*.f64 (*.f64 #s(literal 0 binary64) a) (*.f64 #s(literal 0 binary64) a)) (*.f64 a a))
(*.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
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 (+.f64 b a))
(+.f64 b a)
(sqrt.f64 (-.f64 a b))
(-.f64 a b)
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (fabs a) #s(hole binary64 (fabs a)))
#s(approx a #s(hole binary64 a))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (+ (fabs a) (* -1/2 (/ (pow b 2) (fabs a))))))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) #s(hole binary64 (* -1/2 (/ b (fabs a)))))
#s(approx (/ (* 0 a) (fabs a)) #s(hole binary64 0))
#s(approx (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) #s(hole binary64 (* -1/2 b)))
#s(approx (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) #s(hole binary64 b))
#s(approx (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) #s(hole binary64 1))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (sqrt b) (sqrt (neg b)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (sqrt b) (sqrt (neg b)))) (* 1/2 (/ (sqrt (neg b)) (sqrt b))))) (* (sqrt b) (sqrt (neg b))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (sqrt b) (sqrt (neg b)))) (+ (* 1/2 (/ (sqrt (neg b)) (sqrt b))) (* a (+ (* -1/8 (/ (sqrt b) (pow (sqrt (neg b)) 3))) (+ (* -1/8 (/ (sqrt (neg b)) (pow (sqrt b) 3))) (* 1/4 (/ 1 (* (sqrt b) (sqrt (neg b))))))))))) (* (sqrt b) (sqrt (neg b))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (sqrt b) (sqrt (neg b)))) (+ (* 1/2 (/ (sqrt (neg b)) (sqrt b))) (* a (+ (* -1/8 (/ (sqrt b) (pow (sqrt (neg b)) 3))) (+ (* -1/8 (/ (sqrt (neg b)) (pow (sqrt b) 3))) (+ (* 1/4 (/ 1 (* (sqrt b) (sqrt (neg b))))) (* a (- (+ (* 1/16 (/ (sqrt b) (pow (sqrt (neg b)) 5))) (* 1/16 (/ (sqrt (neg b)) (pow (sqrt b) 5)))) (+ (* 1/16 (/ 1 (* (sqrt b) (pow (sqrt (neg b)) 3)))) (* 1/16 (/ 1 (* (pow (sqrt b) 3) (sqrt (neg b))))))))))))))) (* (sqrt b) (sqrt (neg b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt b)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* 1/2 (/ a (sqrt b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* -1/8 (/ a (pow (sqrt b) 3))) (* 1/2 (/ 1 (sqrt b))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* a (- (* 1/16 (/ a (pow (sqrt b) 5))) (* 1/8 (/ 1 (pow (sqrt b) 3))))) (* 1/2 (/ 1 (sqrt b))))))))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx (sqrt (- a b)) #s(hole binary64 (sqrt (neg b))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt (neg b)) (* 1/2 (/ a (sqrt (neg b)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt (neg b)) (* a (+ (* -1/8 (/ a (pow (sqrt (neg b)) 3))) (* 1/2 (/ 1 (sqrt (neg b)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt (neg b)) (* a (+ (* a (- (* 1/16 (/ a (pow (sqrt (neg b)) 5))) (* 1/8 (/ 1 (pow (sqrt (neg b)) 3))))) (* 1/2 (/ 1 (sqrt (neg 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 (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (pow (sqrt (/ 1 a)) 2))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (+ (* -1/2 (/ b (pow a 2))) (+ (* 1/2 (/ b (pow a 2))) (pow (sqrt (/ 1 a)) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (+ (* -1/2 (/ b (pow a 2))) (+ (* -1/2 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 2)))) (+ (* 1/2 (/ b (pow a 2))) (pow (sqrt (/ 1 a)) 2)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow a 2) (+ (* -1/2 (/ b (pow a 2))) (+ (* -1/2 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 2)))) (+ (* -1/8 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 4)))) (+ (* 1/8 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 4)))) (+ (* 1/2 (/ b (pow a 2))) (pow (sqrt (/ 1 a)) 2)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (sqrt (/ 1 a)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (+ (* 1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* -1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5))))))))))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#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 (+ b a)) #s(hole binary64 (* -1 (* a (sqrt (/ 1 a))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a)))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (+ (* 1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5)))) (* 1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (/ b (* (pow a 2) (sqrt (/ 1 a))))) (+ (* -1/8 (/ (pow b 2) (* (pow a 4) (pow (sqrt (/ 1 a)) 3)))) (* -1/16 (/ (pow b 3) (* (pow a 6) (pow (sqrt (/ 1 a)) 5)))))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (pow (sqrt a) 2)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* -1/2 (/ (pow b 2) (pow (sqrt a) 2))) (pow (sqrt a) 2))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* (pow b 2) (- (* (pow b 2) (- (* 1/64 (/ 1 (pow (sqrt a) 6))) (* 9/64 (/ 1 (pow (sqrt a) 6))))) (* 1/2 (/ 1 (pow (sqrt a) 2))))) (pow (sqrt a) 2))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* 1/2 (/ b (sqrt a))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/8 (/ b (pow (sqrt a) 3))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* b (- (* 1/16 (/ b (pow (sqrt a) 5))) (* 1/8 (/ 1 (pow (sqrt a) 3))))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* -1/2 (/ b (sqrt a))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (- (* -1/8 (/ b (pow (sqrt a) 3))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (- (* b (- (* -1/16 (/ b (pow (sqrt a) 5))) (* 1/8 (/ 1 (pow (sqrt a) 3))))) (* 1/2 (/ 1 (sqrt a))))))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#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 (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* -1/2 (/ (pow b 2) (fabs a)))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* (pow b 2) (- (/ (fabs a) (pow b 2)) (* 1/2 (/ 1 (fabs a)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (* (sqrt (/ -1 b)) (sqrt (/ 1 b))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (+ (* 1/2 (/ (* a (sqrt (/ -1 b))) (* (pow b 2) (sqrt (/ 1 b))))) (+ (* 1/2 (/ (* a (sqrt (/ 1 b))) (* (pow b 2) (sqrt (/ -1 b))))) (* (sqrt (/ -1 b)) (sqrt (/ 1 b))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ -1 b))) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ 1 b))) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* 1/4 (/ (pow a 2) (* (pow b 4) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))) (+ (* 1/2 (/ (* a (sqrt (/ -1 b))) (* (pow b 2) (sqrt (/ 1 b))))) (+ (* 1/2 (/ (* a (sqrt (/ 1 b))) (* (pow b 2) (sqrt (/ -1 b))))) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* (pow b 2) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ -1 b))) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* -1/8 (/ (* (pow a 2) (sqrt (/ 1 b))) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* -1/16 (/ (pow a 3) (* (pow b 6) (* (sqrt (/ -1 b)) (pow (sqrt (/ 1 b)) 3))))) (+ (* -1/16 (/ (pow a 3) (* (pow b 6) (* (pow (sqrt (/ -1 b)) 3) (sqrt (/ 1 b)))))) (+ (* 1/16 (/ (* (pow a 3) (sqrt (/ -1 b))) (* (pow b 6) (pow (sqrt (/ 1 b)) 5)))) (+ (* 1/16 (/ (* (pow a 3) (sqrt (/ 1 b))) (* (pow b 6) (pow (sqrt (/ -1 b)) 5)))) (+ (* 1/4 (/ (pow a 2) (* (pow b 4) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))) (+ (* 1/2 (/ (* a (sqrt (/ -1 b))) (* (pow b 2) (sqrt (/ 1 b))))) (+ (* 1/2 (/ (* a (sqrt (/ 1 b))) (* (pow b 2) (sqrt (/ -1 b))))) (* (sqrt (/ -1 b)) (sqrt (/ 1 b)))))))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (sqrt (/ 1 b)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ 1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b)))))))))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (sqrt (/ -1 b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (sqrt (/ -1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ -1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 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 (+ b a)) #s(hole binary64 (* -1 (* b (sqrt (/ 1 b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ 1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b)))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ 1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ 1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ 1 b))))))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (sqrt (/ -1 b))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ -1 b)) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b)))))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (sqrt (/ -1 b)) (+ (* -1/8 (/ (pow a 2) (* (pow b 4) (pow (sqrt (/ -1 b)) 3)))) (+ (* 1/16 (/ (pow a 3) (* (pow b 6) (pow (sqrt (/ -1 b)) 5)))) (* 1/2 (/ a (* (pow b 2) (sqrt (/ -1 b))))))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
(pow.f64 (*.f64 a a) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 a a))
(fabs.f64 (neg.f64 a))
(fabs.f64 a)
a
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b (fabs.f64 a)))
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b)) (*.f64 a a)) (-.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) (fabs.f64 a)))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) #s(literal 3 binary64)) (*.f64 (fabs.f64 a) (*.f64 a a))) (fma.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) (-.f64 (*.f64 a a) (*.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) (fabs.f64 a)))))
(fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b (fabs.f64 a))
(fma.f64 b (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) (fabs.f64 a))
(+.f64 (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b) (fabs.f64 a))
(+.f64 (fabs.f64 a) (*.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) b))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a))) (*.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))))) (-.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)))))
(/.f64 (+.f64 (pow.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)))) (*.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)))))))
(fma.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)) (/.f64 #s(literal 0 binary64) (fabs.f64 a)))
(fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))))
(fma.f64 #s(literal 0 binary64) (/.f64 a (fabs.f64 a)) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))))
(+.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))))
(+.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a))) (/.f64 #s(literal 0 binary64) (fabs.f64 a)))
(*.f64 (/.f64 #s(literal 0 binary64) (fabs.f64 a)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (fabs.f64 a)))
(*.f64 #s(literal 0 binary64) (/.f64 a (fabs.f64 a)))
(/.f64 #s(literal 0 binary64) (neg.f64 (fabs.f64 a)))
(/.f64 #s(literal 0 binary64) (fabs.f64 a))
#s(literal 0 binary64)
#s(literal 0 binary64)
#s(literal 1/2 binary64)
(*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) (fabs.f64 a)))
(/.f64 (neg.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64))) b)) (neg.f64 (fabs.f64 a)))
(/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64))) b) (fabs.f64 a))
(*.f64 (*.f64 #s(literal -1/2 binary64) (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64))) b)
(*.f64 (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b) #s(literal -1/2 binary64))
(*.f64 #s(literal -1/2 binary64) (*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b))
#s(literal -1/2 binary64)
(*.f64 (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)) b)
(*.f64 b (+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) (/.f64 #s(literal 0 binary64) (*.f64 a a))) #s(literal 1 binary64)) (-.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)))
(/.f64 (+.f64 (pow.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) (/.f64 #s(literal 0 binary64) (*.f64 a a)) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64)))))
(fma.f64 (/.f64 #s(literal 0 binary64) a) (/.f64 #s(literal 0 binary64) a) #s(literal 1 binary64))
(fma.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1/4 binary64) (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64))
(fma.f64 #s(literal 0 binary64) (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64))
(+.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) (*.f64 a a)))
(*.f64 (/.f64 #s(literal 0 binary64) a) (/.f64 #s(literal 0 binary64) a))
(*.f64 (/.f64 #s(literal 0 binary64) (*.f64 a a)) #s(literal 1/4 binary64))
(*.f64 #s(literal 1/4 binary64) (/.f64 #s(literal 0 binary64) (*.f64 a a)))
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 0 binary64) (*.f64 a a)))
(/.f64 (/.f64 #s(literal 0 binary64) a) a)
(/.f64 #s(literal 0 binary64) (neg.f64 (*.f64 a a)))
(/.f64 #s(literal 0 binary64) (*.f64 a a))
#s(literal 0 binary64)
(*.f64 (neg.f64 a) (neg.f64 a))
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 a)) (*.f64 (sqrt.f64 a) (sqrt.f64 a)))
(*.f64 (fabs.f64 a) (fabs.f64 a))
(*.f64 a a)
(pow.f64 a #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))
#s(literal 1/4 binary64)
#s(literal 1 binary64)
b
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (+.f64 b a)))
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(pow.f64 (*.f64 (+.f64 b a) (-.f64 a b)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (+.f64 b a) (-.f64 a b)))
(pow.f64 (+.f64 b a) #s(literal 1/2 binary64))
(sqrt.f64 (+.f64 b a))
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 b a))
(/.f64 (fma.f64 (*.f64 a a) a (*.f64 (*.f64 b b) b)) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 a b))))
(/.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) a)) (fma.f64 b b (-.f64 (*.f64 a a) (*.f64 b a))))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (-.f64 a b))
(+.f64 b a)
(+.f64 a b)
(pow.f64 (-.f64 a b) #s(literal 1/2 binary64))
(sqrt.f64 (-.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 b a) (-.f64 a b)) (+.f64 b a))
(-.f64 a b)
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (neg.f64 (*.f64 b b))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b 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 (neg.f64 (*.f64 b b)) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (fabs a) (fabs.f64 a))
#s(approx a a)
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (fma.f64 (/.f64 (*.f64 b b) (fabs.f64 a)) #s(literal -1/2 binary64) (fabs.f64 a)))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64)))
#s(approx (/ (* 0 a) (fabs a)) #s(literal 0 binary64))
#s(approx (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (*.f64 #s(literal -1/2 binary64) b))
#s(approx (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b) b)
#s(approx (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) #s(literal 1 binary64))
#s(approx (* a a) (*.f64 a a))
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (*.f64 b (neg.f64 b))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (sqrt.f64 (/.f64 b (neg.f64 b))) (sqrt.f64 (/.f64 (neg.f64 b) b)))) a (sqrt.f64 (*.f64 b (neg.f64 b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 a (fma.f64 #s(literal 1/2 binary64) (+.f64 (sqrt.f64 (/.f64 b (neg.f64 b))) (sqrt.f64 (/.f64 (neg.f64 b) b))) (*.f64 (fma.f64 (/.f64 (sqrt.f64 b) (*.f64 (*.f64 (sqrt.f64 (neg.f64 b)) (sqrt.f64 (neg.f64 b))) (sqrt.f64 (neg.f64 b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (sqrt.f64 (neg.f64 b)) (*.f64 (*.f64 (sqrt.f64 b) (sqrt.f64 b)) (sqrt.f64 b))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/4 binary64) (sqrt.f64 (*.f64 b (neg.f64 b)))))) a)) (sqrt.f64 (*.f64 b (neg.f64 b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (sqrt.f64 (/.f64 b (neg.f64 b))) (sqrt.f64 (/.f64 (neg.f64 b) b))) (*.f64 (fma.f64 (/.f64 (sqrt.f64 b) (*.f64 (*.f64 (sqrt.f64 (neg.f64 b)) (sqrt.f64 (neg.f64 b))) (sqrt.f64 (neg.f64 b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (sqrt.f64 (neg.f64 b)) (*.f64 (*.f64 (sqrt.f64 b) (sqrt.f64 b)) (sqrt.f64 b))) #s(literal -1/8 binary64) (fma.f64 a (-.f64 (-.f64 (*.f64 #s(literal 1/16 binary64) (+.f64 (/.f64 (sqrt.f64 b) (pow.f64 (neg.f64 b) #s(literal 5/2 binary64))) (/.f64 (sqrt.f64 (neg.f64 b)) (pow.f64 b #s(literal 5/2 binary64))))) (/.f64 #s(literal 1/16 binary64) (*.f64 (*.f64 (*.f64 (sqrt.f64 (neg.f64 b)) (sqrt.f64 (neg.f64 b))) (sqrt.f64 (neg.f64 b))) (sqrt.f64 b)))) (/.f64 #s(literal 1/16 binary64) (*.f64 (*.f64 (*.f64 (sqrt.f64 b) (sqrt.f64 b)) (sqrt.f64 b)) (sqrt.f64 (neg.f64 b))))) (/.f64 #s(literal 1/4 binary64) (sqrt.f64 (*.f64 b (neg.f64 b))))))) a)) a (sqrt.f64 (*.f64 b (neg.f64 b)))))
#s(approx (sqrt (+ b a)) (sqrt.f64 b))
#s(approx (sqrt (+ b a)) (fma.f64 (/.f64 a (sqrt.f64 b)) #s(literal 1/2 binary64) (sqrt.f64 b)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (/.f64 a (*.f64 (*.f64 (sqrt.f64 b) (sqrt.f64 b)) (sqrt.f64 b))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 b))) a (sqrt.f64 b)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 a (pow.f64 b #s(literal 5/2 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 b) (sqrt.f64 b)) (sqrt.f64 b)))) a (/.f64 #s(literal 1/2 binary64) (sqrt.f64 b))) a (sqrt.f64 b)))
#s(approx (+ b a) (+.f64 b a))
#s(approx (sqrt (- a b)) (sqrt.f64 (neg.f64 b)))
#s(approx (sqrt (- a b)) (fma.f64 (/.f64 a (sqrt.f64 (neg.f64 b))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (/.f64 a (*.f64 (*.f64 (sqrt.f64 (neg.f64 b)) (sqrt.f64 (neg.f64 b))) (sqrt.f64 (neg.f64 b)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 b)))) a (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 a (pow.f64 (neg.f64 b) #s(literal 5/2 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (neg.f64 b)) (sqrt.f64 (neg.f64 b))) (sqrt.f64 (neg.f64 b))))) a (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 b)))) a (sqrt.f64 (neg.f64 b))))
#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 (sqrt (- (* a a) (* b b))) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) (*.f64 a a)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 b (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 b (*.f64 a a)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))))) (*.f64 a a)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 b (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 b b) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/2 binary64) (fma.f64 (/.f64 b (*.f64 a a)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))) (*.f64 a a)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 b (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 b b) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)))) #s(literal 1/8 binary64) (fma.f64 (/.f64 b (*.f64 a a)) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))))) (*.f64 a a)))
#s(approx (sqrt (+ b a)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) a))
#s(approx (sqrt (+ b a)) (*.f64 (fma.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/8 binary64) (*.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)))) #s(literal 1/16 binary64) (*.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/8 binary64) (*.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal -1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)))) #s(literal -1/16 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (- a b) (*.f64 (+.f64 (/.f64 (neg.f64 b) a) #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 (+ b a)) (*.f64 (neg.f64 a) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/8 binary64) (*.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)))) #s(literal 1/16 binary64) (*.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))
#s(approx (+ b a) (*.f64 (neg.f64 a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))) #s(literal -1/8 binary64) (*.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal -1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) (*.f64 a a))) #s(literal -1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) b) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)))) #s(literal -1/16 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) a) #s(literal 3/2 binary64)) (*.f64 (*.f64 a a) (*.f64 a a)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))))
#s(approx (- a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 b a) #s(literal 1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) (fabs.f64 a)) #s(literal -1/2 binary64) (fabs.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 b b) (*.f64 (fabs.f64 a) (*.f64 a a))) #s(literal -1/8 binary64)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b) (fabs.f64 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 (fabs.f64 a) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (fabs.f64 a) (*.f64 a a)))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b) (fabs.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 a) (sqrt.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) (*.f64 (sqrt.f64 a) (sqrt.f64 a))) #s(literal -1/2 binary64) (*.f64 (sqrt.f64 a) (sqrt.f64 a))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 a a) a)) #s(literal -1/8 binary64)) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 a) (sqrt.f64 a)))) (*.f64 b b) (*.f64 (sqrt.f64 a) (sqrt.f64 a))))
#s(approx (sqrt (+ b a)) (sqrt.f64 a))
#s(approx (sqrt (+ b a)) (fma.f64 (/.f64 b (sqrt.f64 a)) #s(literal 1/2 binary64) (sqrt.f64 a)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (/.f64 b (*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 a)) (sqrt.f64 a))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 a))) b (sqrt.f64 a)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 b (pow.f64 a #s(literal 5/2 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 a)) (sqrt.f64 a)))) b (/.f64 #s(literal 1/2 binary64) (sqrt.f64 a))) b (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (/.f64 b (sqrt.f64 a)) #s(literal -1/2 binary64) (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (-.f64 (*.f64 (/.f64 b (*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 a)) (sqrt.f64 a))) #s(literal -1/8 binary64)) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 a))) b (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (-.f64 (*.f64 (-.f64 (*.f64 (/.f64 b (pow.f64 a #s(literal 5/2 binary64))) #s(literal -1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 a)) (sqrt.f64 a)))) b) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 a))) b (sqrt.f64 a)))
#s(approx (- a b) (+.f64 (neg.f64 b) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (fabs.f64 a)))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (*.f64 (-.f64 (/.f64 (fabs.f64 a) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal -1 binary64) b) (/.f64 #s(literal 1 binary64) b))) (*.f64 b b)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) a) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) a) (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (/.f64 #s(literal -1 binary64) b) (/.f64 #s(literal 1 binary64) b))))) (*.f64 b b)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 (*.f64 a a) (/.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b))))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (*.f64 a a) (/.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal -1 binary64) b) (/.f64 #s(literal 1 binary64) b))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal 1/4 binary64) (fma.f64 (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) a) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) a) (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (/.f64 #s(literal -1 binary64) b) (/.f64 #s(literal 1 binary64) b)))))))) (*.f64 b b)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 (*.f64 a a) (/.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b))))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (*.f64 a a) (/.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b))))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (sqrt.f64 (/.f64 #s(literal -1 binary64) b))) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal -1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal -1/16 binary64) (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) (/.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b))))) #s(literal 1/16 binary64) (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) (/.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b))))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 (*.f64 (/.f64 #s(literal -1 binary64) b) (/.f64 #s(literal 1 binary64) b))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal 1/4 binary64) (fma.f64 (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) a) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) a) (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64) (sqrt.f64 (*.f64 (/.f64 #s(literal -1 binary64) b) (/.f64 #s(literal 1 binary64) b)))))))))))) (*.f64 b b)))
#s(approx (sqrt (+ b a)) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) b))
#s(approx (sqrt (+ b a)) (*.f64 (fma.f64 (/.f64 a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (*.f64 (/.f64 a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a a) a) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (*.f64 (/.f64 a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (sqrt (- a b)) (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (/.f64 a (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal -1 binary64) b))) b))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (*.f64 (/.f64 a (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64))) (sqrt.f64 (/.f64 #s(literal -1 binary64) b))) b))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a a) a) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (*.f64 (/.f64 a (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64)))) (sqrt.f64 (/.f64 #s(literal -1 binary64) b))) 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 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (/.f64 a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 b)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (*.f64 (/.f64 a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a a) a) (*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) b) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (*.f64 (/.f64 a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (*.f64 b b))) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b)))))
#s(approx (+ b a) (*.f64 (neg.f64 b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (sqrt.f64 (/.f64 #s(literal -1 binary64) b))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (/.f64 a (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal -1 binary64) b)))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (*.f64 (/.f64 a (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64))) (sqrt.f64 (/.f64 #s(literal -1 binary64) b)))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 3/2 binary64)) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a a) a) (*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) b) #s(literal 5/2 binary64)) (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)))) #s(literal 1/16 binary64) (*.f64 (/.f64 a (*.f64 (sqrt.f64 (/.f64 #s(literal -1 binary64) b)) (*.f64 b b))) #s(literal 1/2 binary64)))) (sqrt.f64 (/.f64 #s(literal -1 binary64) b)))))
#s(approx (- a b) (*.f64 (neg.f64 b) (+.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64))))

eval18.0ms (1.3%)

Memory
27.1MiB live, 27.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 2 881 to 978 computations (66.1% saved)

prune6.0ms (0.5%)

Memory
-39.8MiB live, 5.9MiB allocated; 2ms collecting garbage
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1731174
Fresh000
Picked123
Done022
Total1745179
Accuracy
100.0%
Counts
179 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
52.3%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
99.8%
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a)))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
99.6%
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
Compiler

Compiled 64 to 59 computations (7.8% saved)

series8.0ms (0.6%)

Memory
11.3MiB live, 11.3MiB allocated; 0ms collecting garbage
Counts
9 → 31
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a)))
(fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64)))
(*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))
(/.f64 b (fabs.f64 a))
b
(fabs.f64 a)
a
#s(literal -1/2 binary64)
Outputs
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (+ (fabs a) (* -1/2 (/ (pow b 2) (fabs a))))))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) #s(hole binary64 (* -1/2 (/ b (fabs a)))))
#s(approx (/ b (fabs a)) #s(hole binary64 (/ b (fabs a))))
#s(approx (fabs a) #s(hole binary64 (fabs a)))
#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 (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 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx b #s(hole binary64 b))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#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 (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* -1/2 (/ (pow b 2) (fabs a)))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* (pow b 2) (- (/ (fabs a) (pow b 2)) (* 1/2 (/ 1 (fabs 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)))))))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
b
@-inf
((sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (* (/ b (fabs a)) -1/2) (/ b (fabs a)) b (fabs a) a -1/2)
1.0ms
b
@inf
((sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (* (/ b (fabs a)) -1/2) (/ b (fabs a)) b (fabs a) a -1/2)
1.0ms
a
@-inf
((sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (* (/ b (fabs a)) -1/2) (/ b (fabs a)) b (fabs a) a -1/2)
1.0ms
a
@inf
((sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (* (/ b (fabs a)) -1/2) (/ b (fabs a)) b (fabs a) a -1/2)
1.0ms
a
@0
((sqrt (- (* a a) (* b b))) (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (* (/ b (fabs a)) -1/2) (/ b (fabs a)) b (fabs a) a -1/2)

rewrite49.0ms (3.7%)

Memory
-3.9MiB live, 42.1MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01781111
0185976
0945940
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
40 → 52
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a)))
(fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64)))
(*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))
(/.f64 b (fabs.f64 a))
b
(fabs.f64 a)
a
#s(literal -1/2 binary64)
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (sqrt (neg (pow b 2)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* 1/2 (/ (pow a 2) (sqrt (neg (pow b 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 3))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (neg (pow b 2))) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (pow (sqrt (neg (pow b 2))) 5))) (* 1/8 (/ 1 (pow (sqrt (neg (pow b 2))) 3))))) (* 1/2 (/ 1 (sqrt (neg (pow b 2))))))))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (+ (fabs a) (* -1/2 (/ (pow b 2) (fabs a))))))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) #s(hole binary64 (* -1/2 (/ b (fabs a)))))
#s(approx (/ b (fabs a)) #s(hole binary64 (/ b (fabs a))))
#s(approx (fabs a) #s(hole binary64 (fabs a)))
#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 (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 (sqrt (pow a 2))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* -1/2 (/ (pow b 2) (sqrt (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow (sqrt (pow a 2)) 3))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (sqrt (pow a 2)) (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow (sqrt (pow a 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow a 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow a 2)))))))))
#s(approx b #s(hole binary64 b))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#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 (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* -1/2 (/ (pow b 2) (fabs a)))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) #s(hole binary64 (* (pow b 2) (- (/ (fabs a) (pow b 2)) (* 1/2 (/ 1 (fabs 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))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b)) (*.f64 a a)) (-.f64 (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) (fabs.f64 a)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) #s(literal 3 binary64)) (*.f64 (*.f64 a a) (fabs.f64 a))) (fma.f64 (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) (-.f64 (*.f64 a a) (*.f64 (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) (fabs.f64 a)))))
(fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a))
(fma.f64 b #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) (fabs.f64 a))
(+.f64 (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b) (fabs.f64 a))
(+.f64 (fabs.f64 a) (*.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64)))
(*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))
(*.f64 #s(literal -1/2 binary64) (/.f64 b (fabs.f64 a)))
(/.f64 (*.f64 #s(literal -1/2 binary64) b) (fabs.f64 a))
(/.f64 (*.f64 b #s(literal -1/2 binary64)) (fabs.f64 a))
(/.f64 (neg.f64 b) (neg.f64 (fabs.f64 a)))
(/.f64 b (fabs.f64 a))
b
(pow.f64 (*.f64 a a) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 a a))
(fabs.f64 (neg.f64 a))
(fabs.f64 a)
a
#s(literal -1/2 binary64)
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (neg.f64 (*.f64 b b))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))) #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b 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 (neg.f64 (*.f64 b b)) #s(literal 5/2 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 (neg.f64 (*.f64 b b)) #s(literal 3/2 binary64)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 (neg.f64 (*.f64 b b))))) (*.f64 a a) (sqrt.f64 (neg.f64 (*.f64 b b)))))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (fma.f64 (/.f64 (*.f64 b b) (fabs.f64 a)) #s(literal -1/2 binary64) (fabs.f64 a)))
#s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64)))
#s(approx (/ b (fabs a)) (/.f64 b (fabs.f64 a)))
#s(approx (fabs a) (fabs.f64 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 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #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 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #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))) (fabs.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) (fabs.f64 a)) #s(literal -1/2 binary64) (fabs.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 b b) (*.f64 (*.f64 a a) (fabs.f64 a))) #s(literal -1/8 binary64)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b) (fabs.f64 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 (fabs.f64 a) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) (fabs.f64 a)))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 a))) (*.f64 b b) (fabs.f64 a)))
#s(approx b b)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 b #s(literal 6 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 b b)) (fabs.f64 a)))
#s(approx (+ (* (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) b) (fabs a)) (*.f64 (-.f64 (/.f64 (fabs.f64 a) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) (fabs.f64 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 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))) #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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b)))) (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 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) (*.f64 b b)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)) (pow.f64 b #s(literal 6 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (*.f64 b b))))) (sqrt.f64 #s(literal -1 binary64))) b)))

eval4.0ms (0.3%)

Memory
9.6MiB live, 9.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 842 to 237 computations (71.9% saved)

prune3.0ms (0.3%)

Memory
4.0MiB live, 4.0MiB allocated; 0ms collecting garbage
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New40040
Fresh000
Picked011
Done044
Total40545
Accuracy
100.0%
Counts
45 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
52.3%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
99.8%
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a)))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
99.6%
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
Compiler

Compiled 161 to 125 computations (22.4% saved)

regimes17.0ms (1.3%)

Memory
24.1MiB live, 24.1MiB allocated; 0ms collecting garbage
Counts
9 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (*.f64 a a)))
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 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))) (fma.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (fabs.f64 a)) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.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)) (fabs.f64 a))) b (fabs.f64 a)))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 #s(approx (+ (* (/ (* 0 a) (fabs a)) 1/2) (/ (* -1/2 (* (+ (* (/ (* (* 0 a) (* 0 a)) (* a a)) 1/4) 1) b)) (fabs a))) (*.f64 (/.f64 b (fabs.f64 a)) #s(literal -1/2 binary64))) b (fabs.f64 a)))
Calls

6 calls:

3.0ms
a
3.0ms
b
3.0ms
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
3.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
3.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
99.8%1(*.f64 b b)
99.8%1(*.f64 a a)
99.8%1(-.f64 (*.f64 a a) (*.f64 b b))
99.8%1(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
99.8%1a
99.8%1b
Compiler

Compiled 17 to 21 computations (-23.5% saved)

regimes21.0ms (1.6%)

Memory
-37.9MiB live, 18.0MiB allocated; 14ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (sqrt.f64 (*.f64 a a)))
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) (fabs.f64 a))
Calls

6 calls:

11.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)
Results
AccuracySegmentsBranch
99.6%1(*.f64 b b)
99.6%1(*.f64 a a)
99.6%1(-.f64 (*.f64 a a) (*.f64 b b))
99.6%1(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
99.6%1a
99.6%1b
Compiler

Compiled 17 to 21 computations (-23.5% saved)

regimes6.0ms (0.4%)

Memory
14.4MiB live, 14.4MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
Calls

6 calls:

1.0ms
b
1.0ms
a
1.0ms
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
1.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
1.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
1.1%1(*.f64 b b)
1.1%1(*.f64 a a)
1.1%1(-.f64 (*.f64 a a) (*.f64 b b))
1.1%1(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
1.1%1a
1.1%1b
Compiler

Compiled 17 to 21 computations (-23.5% saved)

derivations29.0ms (2.2%)

Memory
-25.2MiB live, 21.0MiB allocated; 2ms collecting garbage
Stop Event
done
Compiler

Compiled 47 to 33 computations (29.8% saved)

preprocess21.0ms (1.6%)

Memory
33.9MiB live, 33.9MiB allocated; 0ms collecting garbage
Remove

(abs b)

(abs a)

Compiler

Compiled 257 to 223 computations (13.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...