Migdal et al, Equation (64)

Time bar (total: 5.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 21 to 14 computations (33.3% saved)

sample1.1s (20.5%)

Memory
-29.8MiB live, 842.8MiB allocated; 222ms collecting garbage
Samples
730.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 491.0ms
ival-cos: 275.0ms (56% of total)
ival-mult!: 158.0ms (32.2% of total)
ival-div!: 40.0ms (8.1% of total)
ival-add!: 18.0ms (3.7% of total)
adjust: 1.0ms (0.2% of total)
Bogosity

preprocess47.0ms (0.9%)

Memory
20.8MiB live, 20.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041133
1177133
2793133
33291133
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.5%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Symmetry

(abs a1)

(abs a2)

(abs th)

(sort a1 a2)

Compiler

Compiled 32 to 24 computations (25% saved)

series21.0ms (0.4%)

Memory
16.8MiB live, 16.8MiB allocated; 0ms collecting garbage
Counts
12 → 32
Calls
Call 1
Inputs
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1))
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 a1 a1)
a1
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2))
(*.f64 a2 a2)
a2
Outputs
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (/ (* (pow a1 2) (cos th)) (sqrt 2)) (/ (* (pow a2 2) (cos th)) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (* (pow a1 2) (cos th)) (sqrt 2))))
#s(approx (* a1 a1) #s(hole binary64 (pow a1 2)))
#s(approx a1 #s(hole binary64 a1))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (/ (cos th) (sqrt 2)) (/ (* (pow a2 2) (cos th)) (* (pow a1 2) (sqrt 2)))))))
#s(approx (* a2 a2) #s(hole binary64 (pow a2 2)))
#s(approx a2 #s(hole binary64 a2))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (/ (cos th) (sqrt 2)) (/ (* (pow a1 2) (cos th)) (* (pow a2 2) (sqrt 2)))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2)))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* -1/2 (/ (pow a2 2) (sqrt 2))))) (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* 1/24 (/ (pow a1 2) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2)))))))) (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* 1/24 (/ (pow a1 2) (sqrt 2))) (+ (* 1/24 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (pow a1 2) (sqrt 2))) (* -1/720 (/ (pow a2 2) (sqrt 2))))))))))) (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2))))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (pow a1 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* 1/24 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a1 2) (sqrt 2))))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ 1 (sqrt 2))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (pow th 2) (sqrt 2))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* 1/24 (/ (pow th 2) (sqrt 2))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* (pow th 2) (+ (* -1/720 (/ (pow th 2) (sqrt 2))) (* 1/24 (/ 1 (sqrt 2))))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ (cos th) (sqrt 2))))
#s(approx (cos th) #s(hole binary64 (cos th)))
Calls

9 calls:

TimeVariablePointExpression
4.0ms
th
@-inf
((+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) 2 (* a1 a1) a1 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (* a2 a2) a2)
3.0ms
a1
@0
((+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) 2 (* a1 a1) a1 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (* a2 a2) a2)
2.0ms
th
@inf
((+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) 2 (* a1 a1) a1 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (* a2 a2) a2)
2.0ms
a2
@0
((+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) 2 (* a1 a1) a1 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (* a2 a2) a2)
2.0ms
th
@0
((+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) 2 (* a1 a1) a1 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (* a2 a2) a2)

rewrite609.0ms (11.1%)

Memory
1.5MiB live, 190.1MiB allocated; 31ms collecting garbage
Counts
44 → 84
Calls
Call 1
Inputs
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1))
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 a1 a1)
a1
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2))
(*.f64 a2 a2)
a2
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (/ (* (pow a1 2) (cos th)) (sqrt 2)) (/ (* (pow a2 2) (cos th)) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (* (pow a1 2) (cos th)) (sqrt 2))))
#s(approx (* a1 a1) #s(hole binary64 (pow a1 2)))
#s(approx a1 #s(hole binary64 a1))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (/ (cos th) (sqrt 2)) (/ (* (pow a2 2) (cos th)) (* (pow a1 2) (sqrt 2)))))))
#s(approx (* a2 a2) #s(hole binary64 (pow a2 2)))
#s(approx a2 #s(hole binary64 a2))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (/ (cos th) (sqrt 2)) (/ (* (pow a1 2) (cos th)) (* (pow a2 2) (sqrt 2)))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2)))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* -1/2 (/ (pow a2 2) (sqrt 2))))) (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* 1/24 (/ (pow a1 2) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2)))))))) (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* 1/24 (/ (pow a1 2) (sqrt 2))) (+ (* 1/24 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (pow a1 2) (sqrt 2))) (* -1/720 (/ (pow a2 2) (sqrt 2))))))))))) (+ (/ (pow a1 2) (sqrt 2)) (/ (pow a2 2) (sqrt 2))))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (pow a1 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* 1/24 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a1 2) (sqrt 2))))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ 1 (sqrt 2))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (pow th 2) (sqrt 2))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* 1/24 (/ (pow th 2) (sqrt 2))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* (pow th 2) (+ (* -1/720 (/ (pow th 2) (sqrt 2))) (* 1/24 (/ 1 (sqrt 2))))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ (cos th) (sqrt 2))))
#s(approx (cos th) #s(hole binary64 (cos th)))
Outputs
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (fma.f64 a1 a1 (*.f64 a2 a2)))
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(+.f64 (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)))
(-.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (*.f64 (neg.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64))) (*.f64 a2 a2)))
(/.f64 (fma.f64 (*.f64 a1 a1) (cos.f64 th) (*.f64 (*.f64 a2 a2) (cos.f64 th))) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64))) (*.f64 (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))) (-.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))) (*.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))))))
(/.f64 (fma.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 (*.f64 a2 a2) (cos.f64 th)))) (*.f64 #s(literal 2 binary64) #s(literal 2 binary64)))
(fma.f64 (*.f64 a1 a1) (/.f64 (cos.f64 th) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(fma.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) #s(literal 2 binary64)) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)))
(fma.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a1 a1) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(fma.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a2 a2) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)))
(fma.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1 (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(fma.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a2) a2 (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)))
(*.f64 (*.f64 a1 a1) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a1 a1))
(*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1)
(/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th))) (neg.f64 #s(literal 2 binary64)))
(/.f64 (cos.f64 th) #s(literal 2 binary64))
(/.f64 (neg.f64 (cos.f64 th)) (neg.f64 #s(literal 2 binary64)))
(cos.f64 th)
(cos.f64 (neg.f64 th))
(sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))
th
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 a1 a1)
(*.f64 (fabs.f64 a1) (fabs.f64 a1))
(*.f64 (neg.f64 a1) (neg.f64 a1))
(*.f64 (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64)))
(pow.f64 a1 #s(literal 2 binary64))
a1
(*.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a2 a2))
(*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a2) a2)
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th))) (neg.f64 #s(literal 2 binary64)))
(*.f64 a2 a2)
(*.f64 (fabs.f64 a2) (fabs.f64 a2))
(*.f64 (neg.f64 a2) (neg.f64 a2))
(*.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))
(pow.f64 a2 #s(literal 2 binary64))
a2
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 2 binary64)))
#s(approx (* a1 a1) (*.f64 a1 a1))
#s(approx a1 a1)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (*.f64 (fma.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) (*.f64 #s(literal 2 binary64) (*.f64 a1 a1))) (/.f64 (cos.f64 th) #s(literal 2 binary64))) (*.f64 a1 a1)))
#s(approx (* a2 a2) (*.f64 a2 a2))
#s(approx a2 a2)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (*.f64 (fma.f64 (*.f64 a1 a1) (/.f64 (cos.f64 th) (*.f64 #s(literal 2 binary64) (*.f64 a2 a2))) (/.f64 (cos.f64 th) #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (*.f64 (*.f64 #s(literal 1/24 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/24 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (*.f64 (*.f64 #s(literal -1/720 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th))) (*.f64 th th))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 2 binary64)) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 2 binary64)) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
#s(approx (/ (cos th) 2) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 th th) #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 th th)) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (*.f64 th th) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (fma.f64 (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 th th) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 #s(literal 1/24 binary64) #s(literal 2 binary64))) (*.f64 th th)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (*.f64 th th) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
#s(approx (cos th) #s(literal 1 binary64))
#s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 (*.f64 th th) #s(literal -1/720 binary64) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx th th)
#s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
#s(approx (/ (* (cos th) (* a2 a2)) 2) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (* a2 a2)) 2) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (* a2 a2)) 2) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
#s(approx (cos th) (cos.f64 th))

eval9.0ms (0.2%)

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

Compiled 820 to 317 computations (61.3% saved)

prune10.0ms (0.2%)

Memory
-38.1MiB live, 6.8MiB allocated; 3ms collecting garbage
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New64973
Fresh000
Picked011
Done000
Total641074
Accuracy
99.5%
Counts
74 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
59.3%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
99.5%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
46.4%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
62.1%
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
66.7%
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
97.9%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
59.3%
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (fma.f64 a1 a1 (*.f64 a2 a2)))
12.0%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
59.3%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
Compiler

Compiled 328 to 290 computations (11.6% saved)

series36.0ms (0.7%)

Memory
37.9MiB live, 37.9MiB allocated; 0ms collecting garbage
Counts
28 → 81
Calls
Call 1
Inputs
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))
(/.f64 (*.f64 a1 a1) #s(literal 2 binary64))
(*.f64 a1 a1)
a1
#s(literal 2 binary64)
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2))
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
(*.f64 a2 a2)
a2
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(fma.f64 a1 a1 (*.f64 a2 a2))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(literal -1/2 binary64)
(*.f64 th th)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1))
#s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (*.f64 a2 a2) #s(literal 2 binary64))
Outputs
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (/ (* (pow a2 2) (cos th)) (sqrt 2)))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) #s(hole binary64 (* 1/2 (* (pow a1 2) (cos th)))))
#s(approx (/ (* a1 a1) 2) #s(hole binary64 (* 1/2 (pow a1 2))))
#s(approx (* a1 a1) #s(hole binary64 (pow a1 2)))
#s(approx a1 #s(hole binary64 a1))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a2 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (* 1/2 (* (pow a2 2) (cos th))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a2 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* 1/2 (pow a2 2)))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a2 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (+ (pow a1 2) (pow a2 2))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (* 1/2 (pow a2 2)))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (+ (* 1/2 (pow a2 2)) (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (pow a2 2))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (pow a1 2)) (* -1/4 (pow a2 2)))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (* (pow a2 2) (cos th))) (/ (* (pow a1 2) (cos th)) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (* (pow a1 2) (cos th)) (sqrt 2))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (/ (* (pow a2 2) (cos th)) (* (pow a1 2) (sqrt 2)))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* 1/2 (/ (pow a2 2) (pow a1 2)))))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a1 2) (+ 1 (/ (pow a2 2) (pow a1 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a2 2) (pow th 2)) (pow a1 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a2 2) (pow a1 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (pow a1 2))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (- (* -1/4 (/ (pow a2 2) (pow a1 2))) 1/4))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2))) (/ (cos th) (sqrt 2))))))
#s(approx a2 #s(hole binary64 a2))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (* 1/2 (pow a1 2)))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (+ (* 1/2 (pow a1 2)) (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (* (pow a2 2) (cos th))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2))) (/ (cos th) (sqrt 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* 1/2 (/ (pow a1 2) (pow a2 2)))))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1 (/ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a1 2) (pow th 2)) (pow a2 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a1 2) (pow a2 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (- (* -1/4 (/ (pow a1 2) (pow a2 2))) 1/4))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (/ (* (pow a1 2) (cos th)) (* (pow a2 2) (sqrt 2)))))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (/ (pow a2 2) (sqrt 2)))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* -1/4 (pow a1 2)))) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* 1/48 (pow a1 2)) (* 1/24 (/ (pow a2 2) (sqrt 2)))))))) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* 1/48 (pow a1 2)) (+ (* 1/24 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (pow a2 2) (sqrt 2))) (* -1/1440 (pow a1 2)))))))))) (/ (pow a2 2) (sqrt 2))))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* 1/48 (* (pow a1 2) (pow th 2))))))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a1 2) (pow th 2))) (* 1/48 (pow a1 2)))))))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ 1 (sqrt 2))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (pow th 2) (sqrt 2))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* 1/24 (/ (pow th 2) (sqrt 2))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* (pow th 2) (+ (* -1/720 (/ (pow th 2) (sqrt 2))) (* 1/24 (/ 1 (sqrt 2))))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (+ (pow a1 2) (pow a2 2)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/2 (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/48 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/1440 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/48 (+ (pow a1 2) (pow a2 2))))))))))
#s(approx (* th th) #s(hole binary64 (pow th 2)))
#s(approx (/ (* (* a2 a2) (cos th)) 2) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* 1/48 (* (pow a2 2) (pow th 2))))))))
#s(approx (/ (* (* a2 a2) (cos th)) 2) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a2 2) (pow th 2))) (* 1/48 (pow a2 2)))))))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* -1/2 (* (pow a2 2) (pow th 2))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* 1/24 (* (pow a2 2) (pow th 2))))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/720 (* (pow a2 2) (pow th 2))) (* 1/24 (pow a2 2)))))) (pow a2 2))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (/ (pow a1 2) (sqrt 2)))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* -1/4 (pow a2 2)))) (/ (pow a1 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* 1/48 (pow a2 2)) (* 1/24 (/ (pow a1 2) (sqrt 2)))))))) (/ (pow a1 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* 1/48 (pow a2 2)) (+ (* 1/24 (/ (pow a1 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (pow a1 2) (sqrt 2))) (* -1/1440 (pow a2 2)))))))))) (/ (pow a1 2) (sqrt 2))))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (pow a1 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* 1/24 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a1 2) (sqrt 2))))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ (cos th) (sqrt 2))))
#s(approx (cos th) #s(hole binary64 (cos th)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (cos th) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/2 (/ (+ (pow a1 2) (pow a2 2)) (pow th 2)))))))
Calls

9 calls:

TimeVariablePointExpression
6.0ms
a2
@inf
((+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (/ (* (cos th) (* a1 a1)) 2) (/ (* a1 a1) 2) (* a1 a1) a1 2 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) (* a2 a2) a2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) -1/2 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) 2) (* (* a2 a2) (cos th)) (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2) (/ (* a2 a2) 2))
4.0ms
a1
@inf
((+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (/ (* (cos th) (* a1 a1)) 2) (/ (* a1 a1) 2) (* a1 a1) a1 2 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) (* a2 a2) a2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) -1/2 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) 2) (* (* a2 a2) (cos th)) (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2) (/ (* a2 a2) 2))
4.0ms
th
@inf
((+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (/ (* (cos th) (* a1 a1)) 2) (/ (* a1 a1) 2) (* a1 a1) a1 2 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) (* a2 a2) a2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) -1/2 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) 2) (* (* a2 a2) (cos th)) (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2) (/ (* a2 a2) 2))
3.0ms
a1
@0
((+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (/ (* (cos th) (* a1 a1)) 2) (/ (* a1 a1) 2) (* a1 a1) a1 2 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) (* a2 a2) a2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) -1/2 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) 2) (* (* a2 a2) (cos th)) (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2) (/ (* a2 a2) 2))
3.0ms
th
@0
((+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) (/ (* (cos th) (* a1 a1)) 2) (/ (* a1 a1) 2) (* a1 a1) a1 2 (* (/ (cos th) (sqrt 2)) (* a2 a2)) (/ (cos th) (sqrt 2)) (cos th) th (sqrt 2) (* a2 a2) a2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) -1/2 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) 2) (* (* a2 a2) (cos th)) (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2) (/ (* a2 a2) 2))

rewrite851.0ms (15.5%)

Memory
10.9MiB live, 480.1MiB allocated; 93ms collecting garbage
Counts
109 → 180
Calls
Call 1
Inputs
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))
(/.f64 (*.f64 a1 a1) #s(literal 2 binary64))
(*.f64 a1 a1)
a1
#s(literal 2 binary64)
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2))
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
(*.f64 a2 a2)
a2
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(fma.f64 a1 a1 (*.f64 a2 a2))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(literal -1/2 binary64)
(*.f64 th th)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1))
#s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (*.f64 a2 a2) #s(literal 2 binary64))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (/ (* (pow a2 2) (cos th)) (sqrt 2)))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) #s(hole binary64 (* 1/2 (* (pow a1 2) (cos th)))))
#s(approx (/ (* a1 a1) 2) #s(hole binary64 (* 1/2 (pow a1 2))))
#s(approx (* a1 a1) #s(hole binary64 (pow a1 2)))
#s(approx a1 #s(hole binary64 a1))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a2 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (* 1/2 (* (pow a2 2) (cos th))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a2 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* 1/2 (pow a2 2)))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a2 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (+ (pow a1 2) (pow a2 2))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (* 1/2 (pow a2 2)))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (+ (* 1/2 (pow a2 2)) (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (pow a2 2))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (pow a1 2)) (* -1/4 (pow a2 2)))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (* (pow a2 2) (cos th))) (/ (* (pow a1 2) (cos th)) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (* (pow a1 2) (cos th)) (sqrt 2))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (/ (* (pow a2 2) (cos th)) (* (pow a1 2) (sqrt 2)))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* 1/2 (/ (pow a2 2) (pow a1 2)))))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a1 2) (+ 1 (/ (pow a2 2) (pow a1 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a2 2) (pow th 2)) (pow a1 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a2 2) (pow a1 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (pow a1 2))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (- (* -1/4 (/ (pow a2 2) (pow a1 2))) 1/4))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2))) (/ (cos th) (sqrt 2))))))
#s(approx a2 #s(hole binary64 a2))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (* 1/2 (pow a1 2)))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (+ (* 1/2 (pow a1 2)) (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (* (pow a2 2) (cos th))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2))) (/ (cos th) (sqrt 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* 1/2 (/ (pow a1 2) (pow a2 2)))))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1 (/ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a1 2) (pow th 2)) (pow a2 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a1 2) (pow a2 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (- (* -1/4 (/ (pow a1 2) (pow a2 2))) 1/4))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (/ (* (pow a1 2) (cos th)) (* (pow a2 2) (sqrt 2)))))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (/ (pow a2 2) (sqrt 2)))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* -1/4 (pow a1 2)))) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* 1/48 (pow a1 2)) (* 1/24 (/ (pow a2 2) (sqrt 2)))))))) (/ (pow a2 2) (sqrt 2))))))
#s(approx (+ (/ (* (cos th) (* a1 a1)) 2) (* (/ (cos th) (sqrt 2)) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* 1/48 (pow a1 2)) (+ (* 1/24 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (pow a2 2) (sqrt 2))) (* -1/1440 (pow a1 2)))))))))) (/ (pow a2 2) (sqrt 2))))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* 1/48 (* (pow a1 2) (pow th 2))))))))
#s(approx (/ (* (cos th) (* a1 a1)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a1 2) (pow th 2))) (* 1/48 (pow a1 2)))))))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a2 a2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ 1 (sqrt 2))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (pow th 2) (sqrt 2))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* 1/24 (/ (pow th 2) (sqrt 2))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (- (* (pow th 2) (+ (* -1/720 (/ (pow th 2) (sqrt 2))) (* 1/24 (/ 1 (sqrt 2))))) (* 1/2 (/ 1 (sqrt 2))))) (/ 1 (sqrt 2)))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (+ (pow a1 2) (pow a2 2)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/2 (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/48 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/1440 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/48 (+ (pow a1 2) (pow a2 2))))))))))
#s(approx (* th th) #s(hole binary64 (pow th 2)))
#s(approx (/ (* (* a2 a2) (cos th)) 2) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* 1/48 (* (pow a2 2) (pow th 2))))))))
#s(approx (/ (* (* a2 a2) (cos th)) 2) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a2 2) (pow th 2))) (* 1/48 (pow a2 2)))))))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* -1/2 (* (pow a2 2) (pow th 2))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* 1/24 (* (pow a2 2) (pow th 2))))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/720 (* (pow a2 2) (pow th 2))) (* 1/24 (pow a2 2)))))) (pow a2 2))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (/ (pow a1 2) (sqrt 2)))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* -1/4 (pow a2 2)))) (/ (pow a1 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* 1/48 (pow a2 2)) (* 1/24 (/ (pow a1 2) (sqrt 2)))))))) (/ (pow a1 2) (sqrt 2))))))
#s(approx (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (/ (* (cos th) (* a2 a2)) 2)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* 1/48 (pow a2 2)) (+ (* 1/24 (/ (pow a1 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (pow a1 2) (sqrt 2))) (* -1/1440 (pow a2 2)))))))))) (/ (pow a1 2) (sqrt 2))))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (/ (pow a1 2) (sqrt 2))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* 1/24 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (* (/ (cos th) (sqrt 2)) (* a1 a1)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a1 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a1 2) (sqrt 2))))))) (/ (pow a1 2) (sqrt 2)))))
#s(approx (/ (cos th) (sqrt 2)) #s(hole binary64 (/ (cos th) (sqrt 2))))
#s(approx (cos th) #s(hole binary64 (cos th)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (cos th) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/2 (/ (+ (pow a1 2) (pow a2 2)) (pow th 2)))))))
Outputs
(+.f64 #s(approx (* (cos th) (/ (* a1 a1) 2)) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (cos.f64 th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))
(*.f64 a1 (/.f64 a1 #s(literal 2 binary64)))
(/.f64 (*.f64 a1 a1) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 a1 a1)) (neg.f64 #s(literal 2 binary64)))
(*.f64 a1 a1)
(*.f64 (fabs.f64 a1) (fabs.f64 a1))
(*.f64 (neg.f64 a1) (neg.f64 a1))
(*.f64 (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64)))
(pow.f64 a1 #s(literal 2 binary64))
a1
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a2 a2))
(*.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a2) a2)
(*.f64 (cos.f64 th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th))) (neg.f64 #s(literal 2 binary64)))
(/.f64 (cos.f64 th) #s(literal 2 binary64))
(/.f64 (neg.f64 (cos.f64 th)) (neg.f64 #s(literal 2 binary64)))
(cos.f64 th)
(cos.f64 (neg.f64 th))
(sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))
th
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
(*.f64 a2 a2)
(*.f64 (fabs.f64 a2) (fabs.f64 a2))
(*.f64 (neg.f64 a2) (neg.f64 a2))
(*.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))
(pow.f64 a2 #s(literal 2 binary64))
a2
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(+.f64 (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(/.f64 (neg.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (neg.f64 #s(literal 2 binary64)))
(fma.f64 a1 (/.f64 a1 #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
(-.f64 (*.f64 a1 a1) (*.f64 (neg.f64 a2) a2))
(/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
(/.f64 (+.f64 (pow.f64 (*.f64 a1 a1) #s(literal 3 binary64)) (pow.f64 (*.f64 a2 a2) #s(literal 3 binary64))) (fma.f64 (*.f64 a1 a1) (*.f64 a1 a1) (-.f64 (*.f64 (*.f64 a2 a2) (*.f64 a2 a2)) (*.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
(fma.f64 a1 a1 (*.f64 a2 a2))
(fma.f64 a2 a2 (*.f64 a1 a1))
(fma.f64 (fabs.f64 a1) (fabs.f64 a1) (*.f64 a2 a2))
(fma.f64 (fabs.f64 a2) (fabs.f64 a2) (*.f64 a1 a1))
(fma.f64 (neg.f64 a1) (neg.f64 a1) (*.f64 a2 a2))
(fma.f64 (neg.f64 a2) (neg.f64 a2) (*.f64 a1 a1))
(fma.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (*.f64 a1 a1))
(fma.f64 (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (*.f64 a2 a2))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(+.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)))
(/.f64 (-.f64 (*.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th))) (*.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))) (-.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) #s(literal 3 binary64)) (pow.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (-.f64 (*.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))))
(fma.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal -1/2 binary64))
(/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64))
#s(literal -1/2 binary64)
(neg.f64 #s(literal 1/2 binary64))
(*.f64 th th)
(*.f64 (fabs.f64 th) (fabs.f64 th))
(*.f64 (neg.f64 th) (neg.f64 th))
(*.f64 (pow.f64 th (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 th (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 th) #s(literal 2 binary64)))
(pow.f64 th #s(literal 2 binary64))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (cos.f64 th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a2 a2))
(*.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a2) a2)
(*.f64 (cos.f64 th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th))) (neg.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(*.f64 (cos.f64 th) (*.f64 a2 a2))
(*.f64 (*.f64 (cos.f64 th) a2) a2)
(*.f64 a2 (*.f64 a2 (cos.f64 th)))
(+.f64 (*.f64 (cos.f64 th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) #s(approx (* (cos th) (/ (* a2 a2) 2)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a1 a1))
(*.f64 (*.f64 a1 a1) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1)
(*.f64 (cos.f64 th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))
(/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))) (neg.f64 #s(literal 2 binary64)))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(*.f64 a2 (/.f64 a2 #s(literal 2 binary64)))
(/.f64 (*.f64 a2 a2) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 a2 a2)) (neg.f64 #s(literal 2 binary64)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (cos.f64 th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th) (*.f64 (cos.f64 th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (/ (* a1 a1) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
#s(approx (* a1 a1) (*.f64 a1 a1))
#s(approx a1 a1)
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))
#s(approx (+ (* a1 a1) (* a2 a2)) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal -1/4 binary64) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (*.f64 a1 a1) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (*.f64 (cos.f64 th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (fma.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) (*.f64 #s(literal 2 binary64) (*.f64 a1 a1))) (*.f64 #s(literal 1/2 binary64) (cos.f64 th))) (*.f64 a1 a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 th) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (*.f64 a1 a1)))) (*.f64 a1 a1)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a2 a2) (*.f64 a1 a1)) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 a1 a1)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (+.f64 #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal -1/4 binary64) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (*.f64 a1 a1))))) (*.f64 a1 a1)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (*.f64 a1 a1)) (/.f64 (cos.f64 th) #s(literal 2 binary64))) (*.f64 a1 a1)))
#s(approx a2 a2)
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal -1/4 binary64) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))))
#s(approx (* (* a2 a2) (cos th)) (*.f64 (*.f64 a2 a2) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (*.f64 a2 a2)) (/.f64 (cos.f64 th) #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 th) (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (*.f64 a2 a2)))) (*.f64 a2 a2)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a1 a1) (*.f64 a2 a2)) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 a2 a2)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (+.f64 #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) (*.f64 a2 a2)) #s(literal -1/4 binary64) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (*.f64 a2 a2))))) (*.f64 a2 a2)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)) (*.f64 a2 a2)) #s(literal 1/4 binary64)) (*.f64 a2 a2)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (fma.f64 (*.f64 a1 a1) (/.f64 (cos.f64 th) (*.f64 #s(literal 2 binary64) (*.f64 a2 a2))) (*.f64 #s(literal 1/2 binary64) (cos.f64 th))) (*.f64 a2 a2)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a1 a1) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a1 a1) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 a1 a1) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a1 a1) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)) (fma.f64 (fma.f64 #s(literal 1/48 binary64) (*.f64 a1 a1) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a1 a1) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)) (fma.f64 (fma.f64 #s(literal 1/48 binary64) (*.f64 a1 a1) (fma.f64 (fma.f64 #s(literal -1/720 binary64) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)) (*.f64 #s(literal -1/1440 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2)) #s(literal 2 binary64)))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (fma.f64 (fma.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 a1 a1)) (*.f64 th th) (*.f64 #s(literal 1/48 binary64) (*.f64 a1 a1))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)))
#s(approx (/ (cos th) 2) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 th th) #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 th th)) #s(literal 2 binary64)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (*.f64 th th) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (fma.f64 (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 th th) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 #s(literal 1/24 binary64) #s(literal 2 binary64))) (*.f64 th th)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) (*.f64 th th) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))))
#s(approx (cos th) #s(literal 1 binary64))
#s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx th th)
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 (*.f64 (*.f64 th th) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 (fma.f64 (*.f64 (*.f64 th th) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 #s(literal 1/48 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (* th th) (*.f64 th th))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (fma.f64 (fma.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (cos th) (/ (* a2 a2) 2)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/48 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (* a2 a2) (cos th)) (fma.f64 a2 a2 (*.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 th th) (*.f64 a2 a2)))))
#s(approx (* (* a2 a2) (cos th)) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 (*.f64 th th) (*.f64 a2 a2)) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 a2 a2)))
#s(approx (* (* a2 a2) (cos th)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 a2 a2)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a2 a2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a2 a2) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 a2 a2) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a2 a2) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)) (fma.f64 (fma.f64 #s(literal 1/48 binary64) (*.f64 a2 a2) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (fma.f64 #s(literal 1/2 binary64) (*.f64 a2 a2) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)) (fma.f64 (fma.f64 #s(literal 1/48 binary64) (*.f64 a2 a2) (fma.f64 (fma.f64 #s(literal -1/720 binary64) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)) (*.f64 #s(literal -1/1440 binary64) (*.f64 a2 a2))) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a1 a1)) #s(literal 2 binary64)))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 2 binary64)) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 2 binary64)) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (* (cos th) (/ (* a1 a1) 2)) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))))
#s(approx (/ (cos th) 2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
#s(approx (cos th) (cos.f64 th))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 th th) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal -1/4 binary64)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) (*.f64 th th))) (*.f64 th th)))

eval55.0ms (1%)

Memory
-23.7MiB live, 26.4MiB allocated; 26ms collecting garbage
Compiler

Compiled 2 659 to 917 computations (65.5% saved)

prune22.0ms (0.4%)

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

22 alts after pruning (20 fresh and 2 done)

PrunedKeptTotal
New22419243
Fresh314
Picked415
Done011
Total23122253
Accuracy
99.6%
Counts
253 → 22
Alt Table
Click to see full alt table
StatusAccuracyProgram
46.4%
(+.f64 (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
59.3%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
99.5%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
46.4%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
46.4%
(+.f64 (*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
66.7%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
97.9%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) #s(approx (/ (* a1 a1) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
59.3%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
46.4%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
59.3%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
13.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
2.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
34.1%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
66.8%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
6.7%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
59.3%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
99.5%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
41.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
42.9%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
16.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
Compiler

Compiled 874 to 794 computations (9.2% saved)

series30.0ms (0.6%)

Memory
-17.5MiB live, 29.2MiB allocated; 2ms collecting garbage
Counts
30 → 72
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(*.f64 a2 a2)
a2
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
(*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))
#s(literal 1/2 binary64)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
(*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))
(fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64))
#s(literal -1/4 binary64)
(*.f64 th th)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th)
(/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64))
(*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(literal -1/2 binary64)
(fma.f64 a1 a1 (*.f64 a2 a2))
a1
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a2 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (* 1/2 (* (pow a2 2) (cos th))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a2 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* 1/2 (pow a2 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (* 1/2 (pow a2 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (+ (* 1/2 (pow a2 2)) (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* -1/4 (* (pow a2 2) th))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) th)) (* -1/4 (* (pow a2 2) th)))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* -1/4 (pow a2 2))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (+ (* -1/4 (pow a1 2)) (* -1/4 (pow a2 2)))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* -1/2 (pow a2 2))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/2 (pow a1 2)) (* -1/2 (pow a2 2)))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a2 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (+ (pow a1 2) (pow a2 2))))
#s(approx a1 #s(hole binary64 a1))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a1 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a1 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* 1/2 (/ (pow a2 2) (pow a1 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a2 2) (pow th 2)) (pow a1 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a2 2) (pow a1 2)))))))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* -1/4 (* (pow a1 2) th))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* (pow a1 2) (+ (* -1/4 th) (* -1/4 (/ (* (pow a2 2) th) (pow a1 2)))))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* -1/4 (pow a1 2))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* (pow a1 2) (- (* -1/4 (/ (pow a2 2) (pow a1 2))) 1/4))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* -1/2 (pow a1 2))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (- (* -1/2 (/ (pow a2 2) (pow a1 2))) 1/2))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a1 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a1 2) (+ 1 (/ (pow a2 2) (pow a1 2))))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (* (pow a2 2) (cos th))))
#s(approx a2 #s(hole binary64 a2))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (* 1/2 (pow a1 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (+ (* 1/2 (pow a1 2)) (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* 1/2 (/ (pow a1 2) (pow a2 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a1 2) (pow th 2)) (pow a2 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* (pow a2 2) (+ (* -1/4 th) (* -1/4 (/ (* (pow a1 2) th) (pow a2 2)))))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* (pow a2 2) (- (* -1/4 (/ (pow a1 2) (pow a2 2))) 1/4))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (- (* -1/2 (/ (pow a1 2) (pow a2 2))) 1/2))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1 (/ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (+ (pow a1 2) (pow a2 2)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/2 (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/48 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/1440 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/48 (+ (pow a1 2) (pow a2 2))))))))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* -1/2 (* (pow a2 2) (pow th 2))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* 1/24 (* (pow a2 2) (pow th 2))))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/720 (* (pow a2 2) (pow th 2))) (* 1/24 (pow a2 2)))))) (pow a2 2))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (+ 1/2 (* -1/4 (pow th 2)))))
#s(approx (* th th) #s(hole binary64 (pow th 2)))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* -1/4 (* th (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (* 1/2 (* a2 a2)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* 1/48 (* (pow a2 2) (pow th 2))))))))
#s(approx (* (* 1/2 (* a2 a2)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a2 2) (pow th 2))) (* 1/48 (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (cos th) (+ (pow a1 2) (pow a2 2))))))
#s(approx (cos th) #s(hole binary64 (cos th)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/2 (/ (+ (pow a1 2) (pow a2 2)) (pow th 2)))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) #s(hole binary64 (* -1/4 (* (pow a2 2) (pow th 2)))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* 1/2 (/ (pow a2 2) (pow th 2)))))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* -1/4 (pow th 2))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* (pow th 2) (- (* 1/2 (/ 1 (pow th 2))) 1/4))))
Calls

9 calls:

TimeVariablePointExpression
4.0ms
a2
@inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) (sqrt 2)) (* (* a2 a2) (cos th)) (* a2 a2) a2 (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a2 a2)) 1/2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) (* -1/2 (+ (* a1 a1) (* a2 a2))) -1/2 (+ (* a1 a1) (* a2 a2)) a1 (/ (+ (* a1 a1) (* a2 a2)) 2) (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (* (* 1/2 (* a2 a2)) (cos th)))
4.0ms
a1
@-inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) (sqrt 2)) (* (* a2 a2) (cos th)) (* a2 a2) a2 (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a2 a2)) 1/2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) (* -1/2 (+ (* a1 a1) (* a2 a2))) -1/2 (+ (* a1 a1) (* a2 a2)) a1 (/ (+ (* a1 a1) (* a2 a2)) 2) (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (* (* 1/2 (* a2 a2)) (cos th)))
3.0ms
a2
@-inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) (sqrt 2)) (* (* a2 a2) (cos th)) (* a2 a2) a2 (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a2 a2)) 1/2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) (* -1/2 (+ (* a1 a1) (* a2 a2))) -1/2 (+ (* a1 a1) (* a2 a2)) a1 (/ (+ (* a1 a1) (* a2 a2)) 2) (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (* (* 1/2 (* a2 a2)) (cos th)))
3.0ms
a2
@0
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) (sqrt 2)) (* (* a2 a2) (cos th)) (* a2 a2) a2 (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a2 a2)) 1/2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) (* -1/2 (+ (* a1 a1) (* a2 a2))) -1/2 (+ (* a1 a1) (* a2 a2)) a1 (/ (+ (* a1 a1) (* a2 a2)) 2) (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (* (* 1/2 (* a2 a2)) (cos th)))
3.0ms
th
@inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* (* a2 a2) (cos th)) (sqrt 2)) (* (* a2 a2) (cos th)) (* a2 a2) a2 (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a2 a2)) 1/2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) (* -1/2 (+ (* a1 a1) (* a2 a2))) -1/2 (+ (* a1 a1) (* a2 a2)) a1 (/ (+ (* a1 a1) (* a2 a2)) 2) (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (* (* 1/2 (* a2 a2)) (cos th)))

rewrite729.0ms (13.3%)

Memory
9.9MiB live, 340.4MiB allocated; 83ms collecting garbage
Counts
102 → 187
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(*.f64 a2 a2)
a2
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
(*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))
#s(literal 1/2 binary64)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
(*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))
(fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64))
#s(literal -1/4 binary64)
(*.f64 th th)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th)
(/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64))
(*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(literal -1/2 binary64)
(fma.f64 a1 a1 (*.f64 a2 a2))
a1
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a2 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (* 1/2 (* (pow a2 2) (cos th))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a2 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* 1/2 (pow a2 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (* 1/2 (pow a2 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (+ (* 1/2 (pow a2 2)) (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* -1/4 (* (pow a2 2) th))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) th)) (* -1/4 (* (pow a2 2) th)))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* -1/4 (pow a2 2))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (+ (* -1/4 (pow a1 2)) (* -1/4 (pow a2 2)))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* -1/2 (pow a2 2))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/2 (pow a1 2)) (* -1/2 (pow a2 2)))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a2 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (+ (pow a1 2) (pow a2 2))))
#s(approx a1 #s(hole binary64 a1))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a1 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a1 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* 1/2 (/ (pow a2 2) (pow a1 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a2 2) (pow th 2)) (pow a1 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a2 2) (pow a1 2)))))))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* -1/4 (* (pow a1 2) th))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* (pow a1 2) (+ (* -1/4 th) (* -1/4 (/ (* (pow a2 2) th) (pow a1 2)))))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* -1/4 (pow a1 2))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* (pow a1 2) (- (* -1/4 (/ (pow a2 2) (pow a1 2))) 1/4))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* -1/2 (pow a1 2))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (- (* -1/2 (/ (pow a2 2) (pow a1 2))) 1/2))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a1 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a1 2) (+ 1 (/ (pow a2 2) (pow a1 2))))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (* (pow a2 2) (cos th))))
#s(approx a2 #s(hole binary64 a2))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (* 1/2 (pow a1 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (+ (* 1/2 (pow a1 2)) (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* 1/2 (/ (pow a1 2) (pow a2 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a1 2) (pow th 2)) (pow a2 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* (pow a2 2) (+ (* -1/4 th) (* -1/4 (/ (* (pow a1 2) th) (pow a2 2)))))))
#s(approx (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) #s(hole binary64 (* (pow a2 2) (- (* -1/4 (/ (pow a1 2) (pow a2 2))) 1/4))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (- (* -1/2 (/ (pow a1 2) (pow a2 2))) 1/2))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1 (/ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (+ (pow a1 2) (pow a2 2)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/2 (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/48 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/1440 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/48 (+ (pow a1 2) (pow a2 2))))))))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* (* a2 a2) (cos th)) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* -1/2 (* (pow a2 2) (pow th 2))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* 1/24 (* (pow a2 2) (pow th 2))))) (pow a2 2))))
#s(approx (* (* a2 a2) (cos th)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/720 (* (pow a2 2) (pow th 2))) (* 1/24 (pow a2 2)))))) (pow a2 2))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (+ 1/2 (* -1/4 (pow th 2)))))
#s(approx (* th th) #s(hole binary64 (pow th 2)))
#s(approx (* (/ (* -1/2 (+ (* a1 a1) (* a2 a2))) 2) th) #s(hole binary64 (* -1/4 (* th (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (* 1/2 (* a2 a2)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* 1/48 (* (pow a2 2) (pow th 2))))))))
#s(approx (* (* 1/2 (* a2 a2)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a2 2) (pow th 2))) (* 1/48 (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (cos th) (+ (pow a1 2) (pow a2 2))))))
#s(approx (cos th) #s(hole binary64 (cos th)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/2 (/ (+ (pow a1 2) (pow a2 2)) (pow th 2)))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) #s(hole binary64 (* -1/4 (* (pow a2 2) (pow th 2)))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a2 a2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (pow a2 2)) (* 1/2 (/ (pow a2 2) (pow th 2)))))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* -1/4 (pow th 2))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* (pow th 2) (- (* 1/2 (/ 1 (pow th 2))) 1/4))))
Outputs
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(*.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th))) (neg.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(*.f64 (cos.f64 th) (*.f64 a2 a2))
(*.f64 a2 (*.f64 a2 (cos.f64 th)))
(*.f64 a2 a2)
(*.f64 (fabs.f64 a2) (fabs.f64 a2))
(*.f64 (neg.f64 a2) (neg.f64 a2))
(*.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))
(pow.f64 a2 #s(literal 2 binary64))
a2
(cos.f64 th)
(cos.f64 (neg.f64 th))
(sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))
th
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
(*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))
(*.f64 (*.f64 a2 a2) #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) a2) a2)
#s(literal 1/2 binary64)
(*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))
(neg.f64 #s(literal -1/2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
(*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))
(*.f64 (*.f64 a2 a2) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)
(+.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a2 a2)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (*.f64 (*.f64 a2 a2) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) a2) a2 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a2 a2)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) a2) a2 (*.f64 (*.f64 a2 a2) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 a2 a2) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a2 a2)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 a2 a2) (*.f64 (*.f64 a2 a2) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(fma.f64 (*.f64 a2 a2) #s(literal 1/2 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a2 a2)))
(fma.f64 (*.f64 a2 a2) #s(literal 1/2 binary64) (*.f64 (*.f64 a2 a2) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)))
(+.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 th th)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 1/2 binary64)))
(/.f64 (+.f64 (pow.f64 #s(literal 1/2 binary64) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 3 binary64)) (pow.f64 #s(literal 1/2 binary64) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 1/2 binary64)))))
(fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64))
(fma.f64 (*.f64 th th) #s(literal -1/4 binary64) #s(literal 1/2 binary64))
(fma.f64 (*.f64 #s(literal -1/4 binary64) th) th #s(literal 1/2 binary64))
#s(literal -1/4 binary64)
(*.f64 th th)
(*.f64 (fabs.f64 th) (fabs.f64 th))
(*.f64 (neg.f64 th) (neg.f64 th))
(*.f64 (pow.f64 th (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 th (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 th) #s(literal 2 binary64)))
(pow.f64 th #s(literal 2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) th) #s(literal 2 binary64)) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(+.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)))
(/.f64 (-.f64 (*.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th))) (*.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))) (-.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) #s(literal 3 binary64)) (pow.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (-.f64 (*.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))))
(fma.f64 (/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) th) #s(literal 2 binary64)) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 th (/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) th) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 th th) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(fma.f64 (/.f64 (*.f64 (*.f64 th th) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th)
(*.f64 th (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) th) #s(literal 2 binary64))
(*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
(/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (neg.f64 #s(literal 2 binary64)))
(*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))
(*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal -1/2 binary64))
(+.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)))
(+.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)))
(-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1))) (*.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)))) (-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))) (*.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))))))
(fma.f64 #s(literal -1/2 binary64) (*.f64 a2 a2) (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)))
(fma.f64 #s(literal -1/2 binary64) (*.f64 a1 a1) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)))
(fma.f64 (*.f64 a2 a2) #s(literal -1/2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)))
(fma.f64 (*.f64 a1 a1) #s(literal -1/2 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)))
#s(literal -1/2 binary64)
(neg.f64 #s(literal 1/2 binary64))
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
(-.f64 (*.f64 a1 a1) (*.f64 (neg.f64 a2) a2))
(/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
(/.f64 (+.f64 (pow.f64 (*.f64 a1 a1) #s(literal 3 binary64)) (pow.f64 (*.f64 a2 a2) #s(literal 3 binary64))) (fma.f64 (*.f64 a1 a1) (*.f64 a1 a1) (-.f64 (*.f64 (*.f64 a2 a2) (*.f64 a2 a2)) (*.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
(fma.f64 a1 a1 (*.f64 a2 a2))
(fma.f64 a2 a2 (*.f64 a1 a1))
(fma.f64 (fabs.f64 a1) (fabs.f64 a1) (*.f64 a2 a2))
(fma.f64 (fabs.f64 a2) (fabs.f64 a2) (*.f64 a1 a1))
(fma.f64 (neg.f64 a1) (neg.f64 a1) (*.f64 a2 a2))
(fma.f64 (neg.f64 a2) (neg.f64 a2) (*.f64 a1 a1))
(fma.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (*.f64 a1 a1))
(fma.f64 (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (*.f64 a2 a2))
a1
(+.f64 (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(/.f64 (neg.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (neg.f64 #s(literal 2 binary64)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 a2 a2) (cos.f64 th))))
(*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 a2 a2) (cos.f64 th)))
(*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th))
(*.f64 (cos.f64 th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 a2 a2) (cos.f64 th))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal 1/2 binary64) a2) a2 (*.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal -1/4 binary64))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal -1/4 binary64) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))))
#s(approx (/ (* (* -1/2 (+ (* a1 a1) (* a2 a2))) th) 2) (*.f64 (*.f64 (*.f64 a2 a2) th) #s(literal -1/4 binary64)))
#s(approx (/ (* (* -1/2 (+ (* a1 a1) (* a2 a2))) th) 2) (*.f64 (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) th) #s(literal -1/4 binary64)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))
#s(approx (+ (* a1 a1) (* a2 a2)) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(approx a1 a1)
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 th) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (*.f64 a1 a1)))) (*.f64 a1 a1)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a2 a2) (*.f64 a1 a1)) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (+.f64 #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal -1/4 binary64) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (*.f64 a1 a1))))) (*.f64 a1 a1)))
#s(approx (/ (* (* -1/2 (+ (* a1 a1) (* a2 a2))) th) 2) (*.f64 (*.f64 (*.f64 a1 a1) th) #s(literal -1/4 binary64)))
#s(approx (/ (* (* -1/2 (+ (* a1 a1) (* a2 a2))) th) 2) (*.f64 (*.f64 #s(literal -1/4 binary64) (+.f64 th (/.f64 (*.f64 (*.f64 a2 a2) th) (*.f64 a1 a1)))) (*.f64 a1 a1)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1)))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 a1 a1)))
#s(approx (/ (* (* a2 a2) (cos th)) 2) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
#s(approx (* (* a2 a2) (cos th)) (*.f64 (*.f64 a2 a2) (cos.f64 th)))
#s(approx a2 a2)
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) #s(literal -1/4 binary64) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))))
#s(approx (* (+ 1/2 (* (* -1/4 th) th)) (* a2 a2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 th) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) (*.f64 a2 a2)))) (*.f64 a2 a2)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a1 a1) (*.f64 a2 a2)) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (+.f64 #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a1 a1)) (*.f64 a2 a2)) #s(literal -1/4 binary64) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (*.f64 a2 a2))))) (*.f64 a2 a2)))
#s(approx (/ (* (* -1/2 (+ (* a1 a1) (* a2 a2))) th) 2) (*.f64 (*.f64 #s(literal -1/4 binary64) (+.f64 th (/.f64 (*.f64 (*.f64 a1 a1) th) (*.f64 a2 a2)))) (*.f64 a2 a2)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)) (*.f64 a2 a2)) #s(literal 1/4 binary64)) (*.f64 a2 a2)))
#s(approx (* -1/2 (+ (* a1 a1) (* a2 a2))) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a1 a1)) (*.f64 a2 a2)) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (fma.f64 (*.f64 (*.f64 th th) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 #s(literal 1/48 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (/ (* (* a2 a2) (cos th)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
#s(approx (/ (* (* a2 a2) (cos th)) 2) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* (* a2 a2) (cos th)) 2) (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal 1/24 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* (* a2 a2) (cos th)) 2) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (* (* a2 a2) (cos th)) (fma.f64 a2 a2 (*.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 th th) (*.f64 a2 a2)))))
#s(approx (* (* a2 a2) (cos th)) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 a2 a2) (*.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 1/24 binary64))) (*.f64 th th) (*.f64 a2 a2)))
#s(approx (* (* a2 a2) (cos th)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 a2 a2)))
#s(approx (cos th) #s(literal 1 binary64))
#s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx th th)
#s(approx (+ 1/2 (* (* -1/4 th) th)) #s(literal 1/2 binary64))
#s(approx (+ 1/2 (* (* -1/4 th) th)) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)))
#s(approx (* th th) (*.f64 th th))
#s(approx (/ (* (* -1/2 (+ (* a1 a1) (* a2 a2))) th) 2) (*.f64 (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) th) #s(literal -1/4 binary64)))
#s(approx (* 1/2 (* (* a2 a2) (cos th))) (fma.f64 (fma.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* 1/2 (* (* a2 a2) (cos th))) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/48 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (cos th) (cos.f64 th))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) (*.f64 th th))) (*.f64 th th)))
#s(approx (* (+ 1/2 (* (* -1/4 th) th)) (* a2 a2)) (*.f64 (*.f64 (*.f64 th th) (*.f64 a2 a2)) #s(literal -1/4 binary64)))
#s(approx (* (+ 1/2 (* (* -1/4 th) th)) (* a2 a2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 a2 a2) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (*.f64 th th))) (*.f64 th th)))
#s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)))
#s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 th th)) #s(literal 1/4 binary64)) (*.f64 th th)))

eval30.0ms (0.5%)

Memory
-11.5MiB live, 33.2MiB allocated; 5ms collecting garbage
Compiler

Compiled 2 236 to 958 computations (57.2% saved)

prune21.0ms (0.4%)

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

27 alts after pruning (23 fresh and 4 done)

PrunedKeptTotal
New18313196
Fresh51015
Picked325
Done022
Total19127218
Accuracy
99.6%
Counts
218 → 27
Alt Table
Click to see full alt table
StatusAccuracyProgram
46.4%
(+.f64 (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
59.3%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
99.5%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
46.4%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
46.4%
(+.f64 (*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
66.7%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
97.9%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) #s(approx (/ (* a1 a1) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
59.3%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
41.2%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
59.3%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
13.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
13.1%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
2.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
34.1%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
66.8%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
59.3%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
99.5%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
66.8%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
99.5%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64))))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
15.7%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
16.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
42.9%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
41.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
18.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
17.6%
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
Compiler

Compiled 1 118 to 979 computations (12.4% saved)

series28.0ms (0.5%)

Memory
-3.9MiB live, 43.0MiB allocated; 3ms collecting garbage
Counts
30 → 65
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64))))
(/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 a2 (*.f64 a2 (cos.f64 th)))
a2
(*.f64 a2 (cos.f64 th))
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
(*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))
#s(literal 1/2 binary64)
(*.f64 a1 a1)
a1
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
(*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))
(fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64))
#s(literal -1/4 binary64)
(*.f64 th th)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))
(*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(fma.f64 a1 a1 (*.f64 a2 a2))
(*.f64 a2 a2)
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a2 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (* 1/2 (* (pow a2 2) (cos th))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a2 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* 1/2 (pow a2 2)))))
#s(approx (* 1/2 (* a1 a1)) #s(hole binary64 (* 1/2 (pow a1 2))))
#s(approx (* a1 a1) #s(hole binary64 (pow a1 2)))
#s(approx a1 #s(hole binary64 a1))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (* 1/2 (pow a2 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (+ (* 1/2 (pow a2 2)) (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (pow a2 2))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (pow a1 2)) (* -1/4 (pow a2 2)))))
#s(approx (* -1/4 (* a1 a1)) #s(hole binary64 (* -1/4 (pow a1 2))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a2 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (+ (pow a1 2) (pow a2 2))))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) #s(hole binary64 (* 1/2 (* (pow a1 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* 1/2 (/ (pow a2 2) (pow a1 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a2 2) (pow th 2)) (pow a1 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a2 2) (pow a1 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (- (* -1/4 (/ (pow a2 2) (pow a1 2))) 1/4))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a1 2) (+ 1 (/ (pow a2 2) (pow a1 2))))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (* (pow a2 2) (cos th))))
#s(approx a2 #s(hole binary64 a2))
#s(approx (* a2 (cos th)) #s(hole binary64 (* a2 (cos th))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (* 1/2 (pow a1 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (+ (* 1/2 (pow a1 2)) (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* 1/2 (/ (pow a1 2) (pow a2 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a1 2) (pow th 2)) (pow a2 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a1 2) (pow a2 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (- (* -1/4 (/ (pow a1 2) (pow a2 2))) 1/4))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1 (/ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (+ (pow a1 2) (pow a2 2)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/2 (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/48 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/1440 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/48 (+ (pow a1 2) (pow a2 2))))))))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (+ (* -1/2 (* (pow a2 2) (pow th 2))) (pow a2 2))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* 1/24 (* (pow a2 2) (pow th 2))))) (pow a2 2))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/720 (* (pow a2 2) (pow th 2))) (* 1/24 (pow a2 2)))))) (pow a2 2))))
#s(approx (* a2 (cos th)) #s(hole binary64 (+ a2 (* -1/2 (* a2 (pow th 2))))))
#s(approx (* a2 (cos th)) #s(hole binary64 (+ a2 (* (pow th 2) (+ (* -1/2 a2) (* 1/24 (* a2 (pow th 2))))))))
#s(approx (* a2 (cos th)) #s(hole binary64 (+ a2 (* (pow th 2) (+ (* -1/2 a2) (* (pow th 2) (+ (* -1/720 (* a2 (pow th 2))) (* 1/24 a2))))))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (+ 1/2 (* -1/4 (pow th 2)))))
#s(approx (* th th) #s(hole binary64 (pow th 2)))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* 1/48 (* (pow a1 2) (pow th 2))))))))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a1 2) (pow th 2))) (* 1/48 (pow a1 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (cos th) (+ (pow a1 2) (pow a2 2))))))
#s(approx (cos th) #s(hole binary64 (cos th)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/2 (/ (+ (pow a1 2) (pow a2 2)) (pow th 2)))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) #s(hole binary64 (* -1/4 (* (pow a1 2) (pow th 2)))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* 1/2 (/ (pow a1 2) (pow th 2)))))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* -1/4 (pow th 2))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* (pow th 2) (- (* 1/2 (/ 1 (pow th 2))) 1/4))))
Calls

9 calls:

TimeVariablePointExpression
4.0ms
a1
@0
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* a2 (* a2 (cos th))) (sqrt 2)) (* a2 (* a2 (cos th))) a2 (* a2 (cos th)) (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a1 a1)) 1/2 (* a1 a1) a1 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/4 (* a1 a1)) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* a2 a2) (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (* 1/2 (* a1 a1)) (cos th)))
3.0ms
a1
@inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* a2 (* a2 (cos th))) (sqrt 2)) (* a2 (* a2 (cos th))) a2 (* a2 (cos th)) (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a1 a1)) 1/2 (* a1 a1) a1 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/4 (* a1 a1)) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* a2 a2) (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (* 1/2 (* a1 a1)) (cos th)))
3.0ms
a1
@-inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* a2 (* a2 (cos th))) (sqrt 2)) (* a2 (* a2 (cos th))) a2 (* a2 (cos th)) (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a1 a1)) 1/2 (* a1 a1) a1 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/4 (* a1 a1)) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* a2 a2) (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (* 1/2 (* a1 a1)) (cos th)))
3.0ms
th
@inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* a2 (* a2 (cos th))) (sqrt 2)) (* a2 (* a2 (cos th))) a2 (* a2 (cos th)) (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a1 a1)) 1/2 (* a1 a1) a1 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/4 (* a1 a1)) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* a2 a2) (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (* 1/2 (* a1 a1)) (cos th)))
3.0ms
a2
@-inf
((* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (* a2 (* a2 (cos th))) (sqrt 2)) (* a2 (* a2 (cos th))) a2 (* a2 (cos th)) (cos th) th (sqrt 2) 2 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/ (+ (* a1 a1) (* a2 a2)) 2) (* 1/2 (* a1 a1)) 1/2 (* a1 a1) a1 (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) (+ (* -1/4 (* th th)) 1/2) -1/4 (* th th) (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (+ (* (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* th th)) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (* -1/4 (* a1 a1)) (/ (+ (* a1 a1) (* a2 a2)) 2) (+ (* a1 a1) (* a2 a2)) (* a2 a2) (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (* (* 1/2 (* a1 a1)) (cos th)))

rewrite655.0ms (12%)

Memory
14.6MiB live, 341.7MiB allocated; 51ms collecting garbage
Counts
95 → 167
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64))))
(/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64)))
(*.f64 a2 (*.f64 a2 (cos.f64 th)))
a2
(*.f64 a2 (cos.f64 th))
(cos.f64 th)
th
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
(*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))
#s(literal 1/2 binary64)
(*.f64 a1 a1)
a1
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
(*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))
(fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64))
#s(literal -1/4 binary64)
(*.f64 th th)
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))
(*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(fma.f64 a1 a1 (*.f64 a2 a2))
(*.f64 a2 a2)
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (pow a2 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (* (pow a1 2) (cos th))) (* 1/2 (* (pow a2 2) (cos th))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* 1/2 (pow a2 2))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* 1/2 (pow a2 2)))))
#s(approx (* 1/2 (* a1 a1)) #s(hole binary64 (* 1/2 (pow a1 2))))
#s(approx (* a1 a1) #s(hole binary64 (pow a1 2)))
#s(approx a1 #s(hole binary64 a1))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (* 1/2 (pow a2 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a2 2) (pow th 2))) (+ (* 1/2 (pow a2 2)) (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (pow a2 2))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (pow a1 2)) (* -1/4 (pow a2 2)))))
#s(approx (* -1/4 (* a1 a1)) #s(hole binary64 (* -1/4 (pow a1 2))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (pow a2 2)))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (+ (pow a1 2) (pow a2 2))))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) #s(hole binary64 (* 1/2 (* (pow a1 2) (cos th)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a1 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a2 2) (cos th)) (pow a1 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a1 2) (+ 1/2 (* 1/2 (/ (pow a2 2) (pow a1 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a2 2) (pow th 2)) (pow a1 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a2 2) (pow a1 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a1 2) (- (* -1/4 (/ (pow a2 2) (pow a1 2))) 1/4))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a1 2) (+ 1 (/ (pow a2 2) (pow a1 2))))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (/ (* (pow a2 2) (cos th)) (sqrt 2))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (* (pow a2 2) (cos th))))
#s(approx a2 #s(hole binary64 a2))
#s(approx (* a2 (cos th)) #s(hole binary64 (* a2 (cos th))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (* 1/2 (pow a1 2)))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (+ (* -1/4 (* (pow a1 2) (pow th 2))) (+ (* 1/2 (pow a1 2)) (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* (pow a2 2) (+ (* 1/2 (cos th)) (* 1/2 (/ (* (pow a1 2) (cos th)) (pow a2 2)))))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* 1/2 (/ (pow a1 2) (pow a2 2)))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (* -1/4 (pow th 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (+ 1/2 (+ (* -1/4 (/ (* (pow a1 2) (pow th 2)) (pow a2 2))) (+ (* -1/4 (pow th 2)) (* 1/2 (/ (pow a1 2) (pow a2 2)))))))))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow a2 2) (- (* -1/4 (/ (pow a1 2) (pow a2 2))) 1/4))))
#s(approx (+ (* a1 a1) (* a2 a2)) #s(hole binary64 (* (pow a2 2) (+ 1 (/ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (+ (pow a1 2) (pow a2 2)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/2 (+ (pow a1 2) (pow a2 2))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/48 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (+ (* 1/2 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* (pow th 2) (+ (* -1/1440 (* (pow th 2) (+ (pow a1 2) (pow a2 2)))) (* 1/48 (+ (pow a1 2) (pow a2 2))))))))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (/ (pow a2 2) (sqrt 2))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (+ (* -1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* 1/24 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (/ (* a2 (* a2 (cos th))) (sqrt 2)) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (/ (pow a2 2) (sqrt 2))) (* (pow th 2) (+ (* -1/720 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))) (* 1/24 (/ (pow a2 2) (sqrt 2))))))) (/ (pow a2 2) (sqrt 2)))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (+ (* -1/2 (* (pow a2 2) (pow th 2))) (pow a2 2))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* 1/24 (* (pow a2 2) (pow th 2))))) (pow a2 2))))
#s(approx (* a2 (* a2 (cos th))) #s(hole binary64 (+ (* (pow th 2) (+ (* -1/2 (pow a2 2)) (* (pow th 2) (+ (* -1/720 (* (pow a2 2) (pow th 2))) (* 1/24 (pow a2 2)))))) (pow a2 2))))
#s(approx (* a2 (cos th)) #s(hole binary64 (+ a2 (* -1/2 (* a2 (pow th 2))))))
#s(approx (* a2 (cos th)) #s(hole binary64 (+ a2 (* (pow th 2) (+ (* -1/2 a2) (* 1/24 (* a2 (pow th 2))))))))
#s(approx (* a2 (cos th)) #s(hole binary64 (+ a2 (* (pow th 2) (+ (* -1/2 a2) (* (pow th 2) (+ (* -1/720 (* a2 (pow th 2))) (* 1/24 a2))))))))
#s(approx (cos th) #s(hole binary64 1))
#s(approx (cos th) #s(hole binary64 (+ 1 (* -1/2 (pow th 2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* 1/24 (pow th 2)) 1/2)))))
#s(approx (cos th) #s(hole binary64 (+ 1 (* (pow th 2) (- (* (pow th 2) (+ 1/24 (* -1/720 (pow th 2)))) 1/2)))))
#s(approx th #s(hole binary64 th))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 1/2))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (+ 1/2 (* -1/4 (pow th 2)))))
#s(approx (* th th) #s(hole binary64 (pow th 2)))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* 1/48 (* (pow a1 2) (pow th 2))))))))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) #s(hole binary64 (+ (* 1/2 (pow a1 2)) (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* (pow th 2) (+ (* -1/1440 (* (pow a1 2) (pow th 2))) (* 1/48 (pow a1 2)))))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(hole binary64 (* 1/2 (* (cos th) (+ (pow a1 2) (pow a2 2))))))
#s(approx (cos th) #s(hole binary64 (cos th)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* -1/4 (* (pow th 2) (+ (pow a1 2) (pow a2 2))))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (+ (pow a1 2) (pow a2 2))) (* 1/2 (/ (+ (pow a1 2) (pow a2 2)) (pow th 2)))))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) #s(hole binary64 (* -1/4 (* (pow a1 2) (pow th 2)))))
#s(approx (* (+ (* -1/4 (* th th)) 1/2) (* a1 a1)) #s(hole binary64 (* (pow th 2) (+ (* -1/4 (pow a1 2)) (* 1/2 (/ (pow a1 2) (pow th 2)))))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* -1/4 (pow th 2))))
#s(approx (+ (* -1/4 (* th th)) 1/2) #s(hole binary64 (* (pow th 2) (- (* 1/2 (/ 1 (pow th 2))) 1/4))))
Outputs
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
(*.f64 (*.f64 a2 a2) (/.f64 (cos.f64 th) #s(literal 2 binary64)))
(*.f64 a2 (/.f64 (*.f64 (cos.f64 th) a2) #s(literal 2 binary64)))
(/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2)) (neg.f64 #s(literal 2 binary64)))
(*.f64 (*.f64 (cos.f64 th) a2) a2)
(*.f64 (*.f64 a2 a2) (cos.f64 th))
(*.f64 a2 (*.f64 (cos.f64 th) a2))
(*.f64 (cos.f64 th) (*.f64 a2 a2))
a2
(*.f64 (cos.f64 th) a2)
(*.f64 a2 (cos.f64 th))
(cos.f64 th)
(cos.f64 (neg.f64 th))
(sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))
th
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
(sqrt.f64 #s(literal 2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
(*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)
(*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))
(*.f64 (*.f64 a1 a1) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))
(neg.f64 #s(literal -1/2 binary64))
(*.f64 a1 a1)
(*.f64 (fabs.f64 a1) (fabs.f64 a1))
(*.f64 (neg.f64 a1) (neg.f64 a1))
(*.f64 (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64)))
(pow.f64 a1 #s(literal 2 binary64))
a1
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
(*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))
(*.f64 (*.f64 a1 a1) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)
(+.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a1 a1)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (*.f64 (*.f64 a1 a1) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) a1) a1 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a1 a1)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) a1) a1 (*.f64 (*.f64 a1 a1) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 a1 a1) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a1 a1)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 a1 a1) (*.f64 (*.f64 a1 a1) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(fma.f64 (*.f64 a1 a1) #s(literal 1/2 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 a1 a1)))
(fma.f64 (*.f64 a1 a1) #s(literal 1/2 binary64) (*.f64 (*.f64 a1 a1) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)))
(+.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 th th)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 1/2 binary64)))
(/.f64 (+.f64 (pow.f64 #s(literal 1/2 binary64) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))))))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 3 binary64)) (pow.f64 #s(literal 1/2 binary64) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) #s(literal 1/2 binary64)))))
(fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64))
(fma.f64 (*.f64 th th) #s(literal -1/4 binary64) #s(literal 1/2 binary64))
(fma.f64 (*.f64 #s(literal -1/4 binary64) th) th #s(literal 1/2 binary64))
#s(literal -1/4 binary64)
(*.f64 th th)
(*.f64 (fabs.f64 th) (fabs.f64 th))
(*.f64 (neg.f64 th) (neg.f64 th))
(*.f64 (pow.f64 th (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 th (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 th) #s(literal 2 binary64)))
(pow.f64 th #s(literal 2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))
(*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))
(*.f64 (*.f64 a1 a1) #s(literal -1/4 binary64))
(*.f64 (*.f64 #s(literal -1/4 binary64) a1) a1)
(+.f64 (/.f64 (*.f64 a1 a1) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
(/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))
(/.f64 (neg.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (neg.f64 #s(literal 2 binary64)))
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
(-.f64 (*.f64 a1 a1) (*.f64 (neg.f64 a2) a2))
(/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
(/.f64 (+.f64 (pow.f64 (*.f64 a1 a1) #s(literal 3 binary64)) (pow.f64 (*.f64 a2 a2) #s(literal 3 binary64))) (fma.f64 (*.f64 a1 a1) (*.f64 a1 a1) (-.f64 (*.f64 (*.f64 a2 a2) (*.f64 a2 a2)) (*.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
(fma.f64 a1 a1 (*.f64 a2 a2))
(fma.f64 a2 a2 (*.f64 a1 a1))
(fma.f64 (fabs.f64 a1) (fabs.f64 a1) (*.f64 a2 a2))
(fma.f64 (fabs.f64 a2) (fabs.f64 a2) (*.f64 a1 a1))
(fma.f64 (neg.f64 a1) (neg.f64 a1) (*.f64 a2 a2))
(fma.f64 (neg.f64 a2) (neg.f64 a2) (*.f64 a1 a1))
(fma.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (*.f64 a1 a1))
(fma.f64 (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a1 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (*.f64 a2 a2))
(*.f64 a2 a2)
(*.f64 (fabs.f64 a2) (fabs.f64 a2))
(*.f64 (neg.f64 a2) (neg.f64 a2))
(*.f64 (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 a2 (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))
(pow.f64 a2 #s(literal 2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th))
(*.f64 (cos.f64 th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
(*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 a1 a1) (cos.f64 th)))
(*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* 1/2 (* a1 a1)) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))
#s(approx (* a1 a1) (*.f64 a1 a1))
#s(approx a1 a1)
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 (*.f64 a2 a2) (*.f64 th th)) #s(literal -1/4 binary64) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)))))
#s(approx (* (+ 1/2 (* (* -1/4 th) th)) (* a1 a1)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* -1/4 (* a1 a1)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))
#s(approx (+ (* a1 a1) (* a2 a2)) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 th) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (*.f64 a1 a1)))) (*.f64 a1 a1)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a2 a2) (*.f64 a1 a1)) #s(literal 1/2 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (+.f64 #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a2 a2) (*.f64 th th)) (*.f64 a1 a1)) #s(literal -1/4 binary64) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (*.f64 a1 a1))))) (*.f64 a1 a1)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 a1 a1)))
#s(approx (/ (* a2 (* a2 (cos th))) 2) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
#s(approx (* a2 (* a2 (cos th))) (*.f64 (*.f64 (cos.f64 th) a2) a2))
#s(approx a2 a2)
#s(approx (* a2 (cos th)) (*.f64 (cos.f64 th) a2))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 (*.f64 a1 a1) (*.f64 th th)) #s(literal -1/4 binary64) (fma.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 th) (/.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) (*.f64 a2 a2)))) (*.f64 a2 a2)))
#s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 a1 a1) (*.f64 a2 a2)) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (+.f64 #s(literal 1/2 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 a1 a1) (*.f64 th th)) (*.f64 a2 a2)) #s(literal -1/4 binary64) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (*.f64 a2 a2))))) (*.f64 a2 a2)))
#s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1)) (*.f64 a2 a2)) #s(literal 1/4 binary64)) (*.f64 a2 a2)))
#s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (fma.f64 (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 th th)) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 #s(literal 1/48 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)))))
#s(approx (/ (* a2 (* a2 (cos th))) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64)))
#s(approx (/ (* a2 (* a2 (cos th))) 2) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 (*.f64 a2 a2) (*.f64 th th)) #s(literal 2 binary64)) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* a2 (* a2 (cos th))) 2) (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a2 a2) (*.f64 th th)) #s(literal 2 binary64)) #s(literal 1/24 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (/ (* a2 (* a2 (cos th))) 2) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a2 a2) (*.f64 th th)) #s(literal 2 binary64)) #s(literal -1/720 binary64) (/.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
#s(approx (* a2 (* a2 (cos th))) (fma.f64 a2 a2 (*.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 a2 a2) (*.f64 th th)))))
#s(approx (* a2 (* a2 (cos th))) (fma.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 a2 a2) (*.f64 (*.f64 (*.f64 a2 a2) (*.f64 th th)) #s(literal 1/24 binary64))) (*.f64 th th) (*.f64 a2 a2)))
#s(approx (* a2 (* a2 (cos th))) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 a2 a2)) (*.f64 th th) (*.f64 #s(literal 1/24 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 #s(literal -1/2 binary64) (*.f64 a2 a2))) (*.f64 th th) (*.f64 a2 a2)))
#s(approx (* a2 (cos th)) (fma.f64 (*.f64 #s(literal -1/2 binary64) a2) (*.f64 th th) a2))
#s(approx (* a2 (cos th)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/24 binary64) a2) (*.f64 th th) (*.f64 #s(literal -1/2 binary64) a2)) (*.f64 th th) a2))
#s(approx (* a2 (cos th)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/720 binary64) a2) (*.f64 th th) (*.f64 #s(literal 1/24 binary64) a2)) (*.f64 th th) (*.f64 #s(literal -1/2 binary64) a2)) (*.f64 th th) a2))
#s(approx (cos th) #s(literal 1 binary64))
#s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))
#s(approx th th)
#s(approx (+ 1/2 (* (* -1/4 th) th)) #s(literal 1/2 binary64))
#s(approx (+ 1/2 (* (* -1/4 th) th)) (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)))
#s(approx (* th th) (*.f64 th th))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) (fma.f64 (fma.f64 (*.f64 (*.f64 a1 a1) (*.f64 th th)) #s(literal 1/48 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (* 1/2 (* a1 a1)) (cos th)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 a1 a1)) (*.f64 th th) (*.f64 #s(literal 1/48 binary64) (*.f64 a1 a1))) (*.f64 th th) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
#s(approx (cos th) (cos.f64 th))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 th th)) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) (*.f64 th th))) (*.f64 th th)))
#s(approx (* (+ 1/2 (* (* -1/4 th) th)) (* a1 a1)) (*.f64 (*.f64 (*.f64 a1 a1) (*.f64 th th)) #s(literal -1/4 binary64)))
#s(approx (* (+ 1/2 (* (* -1/4 th) th)) (* a1 a1)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 a1 a1) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (*.f64 th th))) (*.f64 th th)))
#s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th)))
#s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 th th)) #s(literal 1/4 binary64)) (*.f64 th th)))

eval19.0ms (0.3%)

Memory
-26.8MiB live, 18.5MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 749 to 802 computations (54.1% saved)

prune26.0ms (0.5%)

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

33 alts after pruning (29 fresh and 4 done)

PrunedKeptTotal
New17011181
Fresh01818
Picked505
Done044
Total17533208
Accuracy
99.6%
Counts
208 → 33
Alt Table
Click to see full alt table
StatusAccuracyProgram
46.4%
(+.f64 (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
59.3%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
99.5%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
46.4%
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
46.4%
(+.f64 (*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
66.7%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
97.9%
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) #s(approx (/ (* a1 a1) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
59.3%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
41.2%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
59.3%
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
13.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
13.1%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
2.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
34.1%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
66.8%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
99.5%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (sqrt.f64 #s(literal 2 binary64))))
59.3%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
99.5%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
66.8%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
61.7%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
15.7%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
46.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
15.7%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
42.9%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
16.2%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
41.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
16.6%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
18.4%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
12.5%
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
17.6%
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
15.7%
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))))
16.3%
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
Compiler

Compiled 1 249 to 896 computations (28.3% saved)

regimes208.0ms (3.8%)

Memory
-17.0MiB live, 125.7MiB allocated; 27ms collecting garbage
Counts
53 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))))
(+.f64 (*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(+.f64 (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) #s(approx (/ (* a1 a1) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Outputs
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Calls

8 calls:

45.0ms
a1
36.0ms
a2
25.0ms
th
25.0ms
(*.f64 a1 a1)
22.0ms
(cos.f64 th)
Results
AccuracySegmentsBranch
99.5%1(*.f64 a2 a2)
99.5%1(*.f64 a1 a1)
99.5%1(cos.f64 th)
99.5%1(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
99.5%1(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
99.5%1a1
99.5%1a2
99.5%1th
Compiler

Compiled 30 to 40 computations (-33.3% saved)

regimes216.0ms (3.9%)

Memory
-26.0MiB live, 126.6MiB allocated; 123ms collecting garbage
Counts
52 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))))
(*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) (fma.f64 a1 a1 (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (sin.f64 (+.f64 th (/.f64 (PI.f64) #s(literal 2 binary64))))))
(+.f64 (*.f64 (*.f64 (/.f64 (cos.f64 th) #s(literal 2 binary64)) a1) a1) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(+.f64 (/.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) #s(literal 2 binary64)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) #s(approx (/ (* a1 a1) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) #s(approx (/ (* (cos th) (* a2 a2)) 2) (/.f64 (*.f64 a2 a2) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) (sqrt.f64 #s(literal 2 binary64))))
Calls

8 calls:

23.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
21.0ms
th
21.0ms
a2
20.0ms
(cos.f64 th)
18.0ms
a1
Results
AccuracySegmentsBranch
99.5%1(*.f64 a2 a2)
99.5%1(*.f64 a1 a1)
99.5%1(cos.f64 th)
99.5%1(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
99.5%1(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
99.5%1a1
99.5%1a2
99.5%1th
Compiler

Compiled 30 to 40 computations (-33.3% saved)

regimes133.0ms (2.4%)

Memory
41.6MiB live, 174.2MiB allocated; 29ms collecting garbage
Counts
42 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 (cos.f64 th))) (sqrt.f64 #s(literal 2 binary64))))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (sqrt.f64 #s(literal 2 binary64))))
Calls

8 calls:

29.0ms
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
23.0ms
th
18.0ms
a1
17.0ms
(cos.f64 th)
13.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
99.5%1(*.f64 a2 a2)
99.5%1(*.f64 a1 a1)
99.5%1(cos.f64 th)
99.5%1(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
99.5%1(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
99.5%1a1
99.5%1a2
99.5%1th
Compiler

Compiled 30 to 40 computations (-33.3% saved)

regimes129.0ms (2.3%)

Memory
-9.5MiB live, 90.6MiB allocated; 44ms collecting garbage
Counts
40 → 2
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 2 binary64)))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
Calls

8 calls:

51.0ms
th
15.0ms
(*.f64 a1 a1)
11.0ms
a1
10.0ms
a2
10.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
77.8%2(*.f64 a2 a2)
77.8%2a2
70.5%2(*.f64 a1 a1)
80.0%2(cos.f64 th)
80.0%2(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
79.8%2(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
70.5%2a1
79.6%2th
Compiler

Compiled 30 to 40 computations (-33.3% saved)

regimes27.0ms (0.5%)

Memory
-24.1MiB live, 21.2MiB allocated; 7ms collecting garbage
Counts
38 → 2
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) (cos.f64 th)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) (cos.f64 th)))
Outputs
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 (*.f64 a2 a2) (cos.f64 th)) #s(literal 1/2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
Calls

2 calls:

9.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
9.0ms
(cos.f64 th)
Results
AccuracySegmentsBranch
80.0%2(cos.f64 th)
80.0%2(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
Compiler

Compiled 7 to 11 computations (-57.1% saved)

regimes68.0ms (1.2%)

Memory
0.2MiB live, 46.1MiB allocated; 8ms collecting garbage
Counts
35 → 2
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 a2 (*.f64 a2 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))))) (sqrt.f64 #s(literal 2 binary64))))
(+.f64 #s(approx (/ (* (cos th) (* a1 a1)) 2) (/.f64 (*.f64 a1 a1) #s(literal 2 binary64))) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a1 a1)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 #s(approx (+ (* a1 a1) (* a2 a2)) (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) #s(literal 1 binary64)) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(literal -1/4 binary64) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a1) #s(literal 2 binary64))))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) (exp.f64 (*.f64 (log.f64 a2) #s(literal 2 binary64))))))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2)) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 (/.f64 (*.f64 #s(literal -1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))) #s(literal 2 binary64)) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 th th) #s(literal 1/24 binary64)) (*.f64 th th)) #s(literal 1/2 binary64)) (*.f64 th th) #s(literal 1 binary64)))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (/.f64 (-.f64 (*.f64 (*.f64 a1 a1) (*.f64 a1 a1)) (*.f64 (*.f64 a2 a2) (*.f64 a2 a2))) (-.f64 (*.f64 a1 a1) (*.f64 a2 a2))) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) (*.f64 th th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (fma.f64 (*.f64 #s(approx (* -1/2 (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 a2 a2)) (*.f64 a1 a1)) #s(literal 1/4 binary64)) (*.f64 a1 a1))) th) th (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64))))
(+.f64 (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 #s(approx (cos th) (fma.f64 #s(literal -1/2 binary64) (*.f64 th th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
#s(approx (* (cos th) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (*.f64 a1 a1) (cos.f64 th)) #s(literal 1/2 binary64)))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a2) a2)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
Calls

4 calls:

27.0ms
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
12.0ms
th
9.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
8.0ms
(cos.f64 th)
Results
AccuracySegmentsBranch
69.8%2th
78.2%2(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
77.6%2(cos.f64 th)
77.6%2(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
Compiler

Compiled 24 to 26 computations (-8.3% saved)

regimes4.0ms (0.1%)

Memory
4.9MiB live, 4.9MiB allocated; 0ms collecting garbage
Counts
10 → 2
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 th th) #s(literal 1/2 binary64)) a1) a1)))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
Calls

1 calls:

3.0ms
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Results
AccuracySegmentsBranch
78.2%2(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Compiler

Compiled 16 to 12 computations (25% saved)

regimes13.0ms (0.2%)

Memory
17.0MiB live, 17.0MiB allocated; 0ms collecting garbage
Counts
7 → 2
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (+ (* -1/2 (* (/ (+ (* a1 a1) (* a2 a2)) 2) (* th th))) (/ (+ (* a1 a1) (* a2 a2)) 2)) (*.f64 #s(approx (+ 1/2 (* (* -1/4 th) th)) (*.f64 #s(literal -1/4 binary64) (*.f64 th th))) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
Calls

5 calls:

3.0ms
a2
3.0ms
(cos.f64 th)
3.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
2.0ms
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
2.0ms
(*.f64 a2 a2)
Results
AccuracySegmentsBranch
71.0%2(cos.f64 th)
71.0%2(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
66.8%1(*.f64 a2 a2)
66.8%1a2
71.5%2(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Compiler

Compiled 26 to 30 computations (-15.4% saved)

regimes21.0ms (0.4%)

Memory
24.5MiB live, 24.5MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) #s(literal 2 binary64)))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) (/.f64 (*.f64 (*.f64 a2 a2) #s(approx (cos th) #s(literal 1 binary64))) (sqrt.f64 #s(literal 2 binary64))))
Calls

8 calls:

3.0ms
a2
3.0ms
th
3.0ms
a1
2.0ms
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
2.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
66.8%1(*.f64 a2 a2)
66.8%1a2
66.8%1th
66.8%1(*.f64 a1 a1)
66.8%1a1
66.8%1(cos.f64 th)
66.8%1(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
66.8%1(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
Compiler

Compiled 30 to 40 computations (-33.3% saved)

regimes26.0ms (0.5%)

Memory
-30.0MiB live, 25.0MiB allocated; 8ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 (*.f64 #s(literal 1/2 binary64) a1) a1)))
#s(approx (/ (* (cos th) (+ (* a1 a1) (* a2 a2))) 2) (*.f64 #s(literal 1/2 binary64) (fma.f64 a1 a1 (*.f64 a2 a2))))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a2 a2))))
Calls

8 calls:

8.0ms
a2
3.0ms
(*.f64 a2 a2)
3.0ms
th
2.0ms
a1
2.0ms
(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
46.4%1(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
46.4%1(*.f64 a1 a1)
46.4%1(cos.f64 th)
46.4%1(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
46.4%1a1
46.4%1th
46.4%1(*.f64 a2 a2)
46.4%1a2
Compiler

Compiled 30 to 40 computations (-33.3% saved)

regimes12.0ms (0.2%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
Outputs
#s(approx (* (/ (cos th) 2) (+ (* a1 a1) (* a2 a2))) #s(approx (/ (+ (* a1 a1) (* a2 a2)) 2) (*.f64 #s(literal 1/2 binary64) (*.f64 a1 a1))))
Calls

8 calls:

2.0ms
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
2.0ms
(cos.f64 th)
1.0ms
(*.f64 a1 a1)
1.0ms
th
1.0ms
a2
Results
AccuracySegmentsBranch
15.7%1(*.f64 a2 a2)
15.7%1(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64))) (*.f64 a2 a2)))
15.7%1a2
15.7%1(*.f64 a1 a1)
15.7%1a1
15.7%1(cos.f64 th)
15.7%1(/.f64 (cos.f64 th) (sqrt.f64 #s(literal 2 binary64)))
15.7%1th
Compiler

Compiled 30 to 40 computations (-33.3% saved)

bsearch1.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.5256567221219318
0.5302994119824237
Compiler

Compiled 18 to 18 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.5256567221219318
0.5302994119824237
Compiler

Compiled 18 to 18 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.611973231430558e-94
-7.02479238834087e-116
Compiler

Compiled 19 to 18 computations (5.3% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.611973231430558e-94
-7.02479238834087e-116
Compiler

Compiled 19 to 18 computations (5.3% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.611973231430558e-94
-7.02479238834087e-116
Compiler

Compiled 19 to 18 computations (5.3% saved)

derivations10.0ms (0.2%)

Memory
-39.8MiB live, 5.1MiB allocated; 6ms collecting garbage
Stop Event
fuel
Compiler

Compiled 154 to 79 computations (48.7% saved)

preprocess290.0ms (5.3%)

Memory
23.8MiB live, 366.1MiB allocated; 61ms collecting garbage
Remove

(abs th)

(abs a2)

(abs a1)

Compiler

Compiled 5 136 to 3 917 computations (23.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...