math.sin on complex, imaginary part

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB 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 14 to 13 computations (7.1% saved)

sample2.2s (67.6%)

Memory
42.8MiB live, 3 004.6MiB allocated; 790ms collecting garbage
Samples
947.0ms1 655×2valid
508.0ms2 358×1valid
388.0ms4 243×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.6s
ival-exp: 969.0ms (61.8% of total)
ival-cos: 210.0ms (13.4% of total)
ival-mult!: 173.0ms (11% of total)
adjust: 167.0ms (10.7% of total)
ival-sub!: 49.0ms (3.1% of total)
Bogosity

preprocess60.0ms (1.8%)

Memory
-16.3MiB live, 30.0MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03070
113355
256734
3381234
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
58.6%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
Symmetry

(abs re)

(negabs im)

Compiler

Compiled 24 to 22 computations (8.3% saved)

series14.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0179675
Stop Event
iter-limit
Counts
11 → 38
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
(exp.f64 (-.f64 #s(literal 0 binary64) im))
(-.f64 #s(literal 0 binary64) im)
#s(literal 0 binary64)
im
(exp.f64 im)
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal -1/4 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 #s(literal 1/48 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/1440 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/48 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))
#s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/48 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/4 binary64)))))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/48 binary64) (*.f64 #s(literal -1/1440 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/4 binary64)))))
#s(approx (cos re) #s(literal 1 binary64))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/720 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/2 binary64)))))
#s(approx re re)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* 1/2 (cos re)) (*.f64 #s(literal 1/2 binary64) (cos.f64 re)))
#s(approx (cos re) (cos.f64 re))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 #s(literal -1/6 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 #s(literal -1/120 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/120 binary64) (cos.f64 re) (*.f64 #s(literal -1/5040 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 #s(literal -2 binary64) im))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/60 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/2520 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/60 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im)))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 #s(literal 1/2 binary64) im) #s(literal 1 binary64)))))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) im))) #s(literal 1 binary64)))))
#s(approx (- 0 im) (*.f64 #s(literal -1 binary64) im))
#s(approx im im)
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) im)))))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
#s(approx (exp (- 0 im)) (exp.f64 (neg.f64 im)))
#s(approx (exp im) (exp.f64 im))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))
#s(approx (exp (- 0 im)) (exp.f64 (*.f64 #s(literal -1 binary64) im)))
Calls

6 calls:

TimeVariablePoint
1.0ms
im
0
1.0ms
re
inf
1.0ms
im
-inf
1.0ms
im
inf
1.0ms
re
-inf

rewrite25.0ms (0.8%)

Memory
-10.6MiB live, 36.2MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01138
01834
08334
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
11 → 33
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
(exp.f64 (-.f64 #s(literal 0 binary64) im))
(-.f64 #s(literal 0 binary64) im)
#s(literal 0 binary64)
im
(exp.f64 im)
Outputs
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64))))
(cos.f64 (neg.f64 re))
(cos.f64 (fabs.f64 re))
(cos.f64 re)
re
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 (exp.f64 im) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(neg.f64 (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))
(/.f64 (exp.f64 #s(literal 0 binary64)) (exp.f64 im))
(fabs.f64 (exp.f64 (neg.f64 im)))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 im im)) (+.f64 #s(literal 0 binary64) im))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 im im (*.f64 #s(literal 0 binary64) im))))
(neg.f64 (-.f64 im #s(literal 0 binary64)))
(neg.f64 im)
(-.f64 #s(literal 0 binary64) im)
(+.f64 #s(literal 0 binary64) (neg.f64 im))
#s(literal 0 binary64)
im
(fabs.f64 (exp.f64 im))
(exp.f64 im)
(+.f64 (cosh.f64 im) (sinh.f64 im))

eval7.0ms (0.2%)

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

Compiled 1 279 to 326 computations (74.5% saved)

prune87.0ms (2.6%)

Memory
-66.4MiB live, 17.4MiB allocated; 136ms collecting garbage
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New57663
Fresh000
Picked101
Done000
Total58664
Accuracy
99.9%
Counts
64 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.9%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
58.4%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
79.7%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))))
45.4%
(*.f64 #s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
41.4%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
47.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
Compiler

Compiled 232 to 200 computations (13.8% saved)

series22.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02651059
Stop Event
iter-limit
Counts
38 → 60
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))))
(*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
im
(-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64)))
#s(literal -1/3 binary64)
(pow.f64 im #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(exp.f64 (neg.f64 im))
(neg.f64 im)
(exp.f64 im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
(*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re)))
#s(literal -1 binary64)
(*.f64 im (cos.f64 re))
(*.f64 #s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))
(*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))
#s(literal -1/4 binary64)
(pow.f64 re #s(literal 2 binary64))
(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
(exp.f64 (-.f64 #s(literal 0 binary64) im))
(-.f64 #s(literal 0 binary64) im)
#s(literal 0 binary64)
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(+.f64 #s(literal 1 binary64) im)
#s(literal 1 binary64)
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal -1/4 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 #s(literal 1/48 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/1440 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/48 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))
#s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/48 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/4 binary64)))))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/48 binary64) (*.f64 #s(literal -1/1440 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/4 binary64)))))
#s(approx (cos re) #s(literal 1 binary64))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/720 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/2 binary64)))))
#s(approx re re)
#s(approx (* -1 (* im (cos re))) (*.f64 #s(literal -1 binary64) im))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/24 binary64) im (*.f64 #s(literal 1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))))))
#s(approx (* im (cos re)) im)
#s(approx (* im (cos re)) (+.f64 im (*.f64 #s(literal -1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
#s(approx (* im (cos re)) (+.f64 im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/2 binary64) im (*.f64 #s(literal 1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))))
#s(approx (* im (cos re)) (+.f64 im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/2 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/24 binary64) im)))))))
#s(approx (* -1/4 (pow re 2)) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))
#s(approx (pow re 2) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* 1/2 (cos re)) (*.f64 #s(literal 1/2 binary64) (cos.f64 re)))
#s(approx (cos re) (cos.f64 re))
#s(approx (* -1 (* im (cos re))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* im (cos re)) (*.f64 im (cos.f64 re)))
#s(approx (+ 1/2 (* -1/4 (pow re 2))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64)))) #s(literal 1/4 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 #s(literal -1/6 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 #s(literal -1/120 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/120 binary64) (cos.f64 re) (*.f64 #s(literal -1/5040 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 #s(literal -2 binary64) im))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/60 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/2520 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/60 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (- (* -1/3 (pow im 2)) 2) #s(literal -2 binary64))
#s(approx (- (* -1/3 (pow im 2)) 2) (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
#s(approx (* -1/3 (pow im 2)) (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))))
#s(approx (pow im 2) (pow.f64 im #s(literal 2 binary64)))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/120 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/6 binary64))) #s(literal 1 binary64))))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/5040 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/120 binary64))) #s(literal 1/6 binary64))) #s(literal 1 binary64))))
#s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im)))
#s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 #s(literal 1/2 binary64) im) #s(literal 1 binary64)))))
#s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) im))) #s(literal 1 binary64)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) im)))))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
#s(approx (* im (- (* -1/3 (pow im 2)) 2)) (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 3 binary64))))
#s(approx (* im (- (* -1/3 (pow im 2)) 2)) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))
#s(approx (- (* -1/3 (pow im 2)) 2) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))
#s(approx (exp (neg im)) (exp.f64 (neg.f64 im)))
#s(approx (exp im) (exp.f64 im))
#s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im))))
#s(approx (exp (neg im)) (exp.f64 (*.f64 #s(literal -1 binary64) im)))
Calls

6 calls:

TimeVariablePoint
3.0ms
im
inf
2.0ms
im
-inf
2.0ms
re
0
2.0ms
im
0
2.0ms
re
inf

rewrite40.0ms (1.2%)

Memory
-10.7MiB live, 41.9MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045246
072234
0270227
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
38 → 118
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))))
(*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
im
(-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64)))
#s(literal -1/3 binary64)
(pow.f64 im #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(exp.f64 (neg.f64 im))
(neg.f64 im)
(exp.f64 im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
(*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re)))
#s(literal -1 binary64)
(*.f64 im (cos.f64 re))
(*.f64 #s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))
(*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))
#s(literal -1/4 binary64)
(pow.f64 re #s(literal 2 binary64))
(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
(exp.f64 (-.f64 #s(literal 0 binary64) im))
(-.f64 #s(literal 0 binary64) im)
#s(literal 0 binary64)
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(+.f64 #s(literal 1 binary64) im)
#s(literal 1 binary64)
Outputs
(*.f64 #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im))))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64))))
(cos.f64 (neg.f64 re))
(cos.f64 (fabs.f64 re))
(cos.f64 re)
re
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im))
(*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)
(*.f64 im (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)))
im
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (*.f64 (*.f64 im im) #s(literal -1/3 binary64)))) (*.f64 (*.f64 im im) #s(literal -1/3 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) (*.f64 (*.f64 im im) #s(literal -1/3 binary64))) #s(literal 4 binary64)) (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal 2 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) #s(literal 3 binary64)) #s(literal 8 binary64)) (fma.f64 (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) (+.f64 #s(literal 4 binary64) (*.f64 (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) #s(literal 2 binary64)))))
(neg.f64 (-.f64 #s(literal 2 binary64) (*.f64 (*.f64 im im) #s(literal -1/3 binary64))))
(fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64))
(fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64))
(-.f64 (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) #s(literal 2 binary64))
(+.f64 (*.f64 (*.f64 im im) #s(literal -1/3 binary64)) #s(literal -2 binary64))
(*.f64 (*.f64 im im) #s(literal -1/3 binary64))
(*.f64 #s(literal -1/3 binary64) (*.f64 im im))
#s(literal -1/3 binary64)
(*.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64)))
(*.f64 im im)
(pow.f64 im #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64)))
#s(literal 2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(literal 1/2 binary64)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 (exp.f64 im) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(neg.f64 (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))
(/.f64 #s(literal 1 binary64) (exp.f64 im))
(-.f64 (cosh.f64 im) (sinh.f64 im))
(fabs.f64 (exp.f64 (neg.f64 im)))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 im im)) (+.f64 #s(literal 0 binary64) im))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 im im (*.f64 #s(literal 0 binary64) im))))
(neg.f64 (-.f64 im #s(literal 0 binary64)))
(neg.f64 im)
(-.f64 #s(literal 0 binary64) im)
(+.f64 #s(literal 0 binary64) (neg.f64 im))
(fabs.f64 (exp.f64 im))
(exp.f64 im)
(+.f64 (cosh.f64 im) (sinh.f64 im))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
(*.f64 (*.f64 #s(literal -1 binary64) im) (cos.f64 re))
(*.f64 (*.f64 im (cos.f64 re)) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re)))
(neg.f64 (*.f64 im (cos.f64 re)))
#s(literal -1 binary64)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
(*.f64 #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
#s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 re re) #s(literal -1/4 binary64)) #s(literal 1/2 binary64))) #s(literal 1/2 binary64))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 (*.f64 re re) #s(literal -1/4 binary64)) (*.f64 (*.f64 re re) #s(literal -1/4 binary64)))) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 re re) #s(literal -1/4 binary64))))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (*.f64 re re) #s(literal -1/4 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 (*.f64 re re) #s(literal -1/4 binary64)) (*.f64 (*.f64 re re) #s(literal -1/4 binary64))) (*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 re re) #s(literal -1/4 binary64))))))
(fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal -1/4 binary64) (*.f64 re re) #s(literal 1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 re re)))
(-.f64 #s(literal 1/2 binary64) (neg.f64 (*.f64 (*.f64 re re) #s(literal -1/4 binary64))))
(+.f64 (*.f64 (*.f64 re re) #s(literal -1/4 binary64)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 re re) #s(literal -1/4 binary64)))
(*.f64 (*.f64 re re) #s(literal -1/4 binary64))
(*.f64 #s(literal -1/4 binary64) (*.f64 re re))
#s(literal -1/4 binary64)
(*.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)))
(*.f64 re re)
(pow.f64 re #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 (exp.f64 im) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(neg.f64 (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))
(/.f64 #s(literal 1 binary64) (exp.f64 im))
(-.f64 (cosh.f64 im) (sinh.f64 im))
(fabs.f64 (exp.f64 (neg.f64 im)))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 im im)) (+.f64 #s(literal 0 binary64) im))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 im im (*.f64 #s(literal 0 binary64) im))))
(neg.f64 (-.f64 im #s(literal 0 binary64)))
(neg.f64 im)
(-.f64 #s(literal 0 binary64) im)
(+.f64 #s(literal 0 binary64) (neg.f64 im))
#s(literal 0 binary64)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))) (+.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (*.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))))
(neg.f64 (-.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 im #s(literal 1 binary64))) #s(literal 1 binary64))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 im im)) (-.f64 #s(literal 1 binary64) im))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 im im) (*.f64 #s(literal 1 binary64) im))))
(-.f64 #s(literal 1 binary64) (neg.f64 im))
(+.f64 #s(literal 1 binary64) im)
(+.f64 im #s(literal 1 binary64))
#s(literal 1 binary64)

eval25.0ms (0.8%)

Memory
-12.9MiB live, 33.9MiB allocated; 2ms collecting garbage
Compiler

Compiled 4 296 to 750 computations (82.5% saved)

prune17.0ms (0.5%)

Memory
-23.2MiB live, 23.1MiB allocated; 3ms collecting garbage
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15312165
Fresh011
Picked505
Done000
Total15813171
Accuracy
99.9%
Counts
171 → 13
Alt Table
Click to see full alt table
StatusAccuracyProgram
45.4%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
5.9%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
79.7%
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
58.4%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
49.4%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) #s(approx (* im (- (* -1/3 (pow im 2)) 2)) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))))
4.9%
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
41.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
26.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
37.0%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
25.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
47.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
46.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
37.0%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
Compiler

Compiled 610 to 502 computations (17.7% saved)

series20.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02851149
Stop Event
iter-limit
Counts
38 → 66
Calls
Call 1
Inputs
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(cos.f64 re)
re
#s(literal 1/2 binary64)
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im))
(*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)
(fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64))
(*.f64 im im)
im
#s(literal -1/3 binary64)
#s(literal -2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
(*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im))
#s(literal -1 binary64)
#s(approx (* im (cos re)) im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))))
(*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))
(-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64)))
#s(literal -1/6 binary64)
(pow.f64 im #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(exp.f64 (neg.f64 im))
(neg.f64 im)
(exp.f64 im)
#s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))
(*.f64 re re)
#s(literal -1/4 binary64)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(+.f64 #s(literal 1 binary64) im)
Outputs
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal -1/4 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 #s(literal 1/48 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/1440 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/48 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))
#s(approx (* (cos re) 1/2) #s(literal 1/2 binary64))
#s(approx (* (cos re) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (* (cos re) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/48 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/4 binary64)))))
#s(approx (* (cos re) 1/2) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/48 binary64) (*.f64 #s(literal -1/1440 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/4 binary64)))))
#s(approx (cos re) #s(literal 1 binary64))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/720 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/2 binary64)))))
#s(approx re re)
#s(approx (* -1 (* im (cos re))) (*.f64 #s(literal -1 binary64) im))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/24 binary64) im (*.f64 #s(literal 1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))))))
#s(approx (* im (cos re)) im)
#s(approx (* im (cos re)) (+.f64 im (*.f64 #s(literal -1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
#s(approx (* im (cos re)) (+.f64 im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/2 binary64) im (*.f64 #s(literal 1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))))
#s(approx (* im (cos re)) (+.f64 im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/2 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/24 binary64) im)))))))
#s(approx (* re re) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* (cos re) 1/2) (*.f64 #s(literal 1/2 binary64) (cos.f64 re)))
#s(approx (cos re) (cos.f64 re))
#s(approx (* -1 (* im (cos re))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* im (cos re)) (*.f64 im (cos.f64 re)))
#s(approx (+ (* (* re re) -1/4) 1/2) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))
#s(approx (+ (* (* re re) -1/4) 1/2) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64)))) #s(literal 1/4 binary64))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 #s(literal -1/6 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 #s(literal -1/120 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/120 binary64) (cos.f64 re) (*.f64 #s(literal -1/5040 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 #s(literal -2 binary64) im))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/60 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/2520 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/60 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (+ (* (* im im) -1/3) -2) #s(literal -2 binary64))
#s(approx (+ (* (* im im) -1/3) -2) (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
#s(approx (* im im) (pow.f64 im #s(literal 2 binary64)))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/120 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/6 binary64))) #s(literal 1 binary64))))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/5040 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/120 binary64))) #s(literal 1/6 binary64))) #s(literal 1 binary64))))
#s(approx (- (* -1/6 (pow im 2)) 1) #s(literal -1 binary64))
#s(approx (- (* -1/6 (pow im 2)) 1) (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))
#s(approx (* -1/6 (pow im 2)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))))
#s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im)))
#s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 #s(literal 1/2 binary64) im) #s(literal 1 binary64)))))
#s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) im))) #s(literal 1 binary64)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) im)))))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
#s(approx (* (+ (* (* im im) -1/3) -2) im) (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 3 binary64))))
#s(approx (* (+ (* (* im im) -1/3) -2) im) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))
#s(approx (+ (* (* im im) -1/3) -2) (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))))
#s(approx (+ (* (* im im) -1/3) -2) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))
#s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))
#s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/6 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64)))))))
#s(approx (- (* -1/6 (pow im 2)) 1) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (+.f64 #s(literal 1/6 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64)))))))
#s(approx (exp (neg im)) (exp.f64 (neg.f64 im)))
#s(approx (exp im) (exp.f64 im))
#s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im))))
#s(approx (* (* (cos re) 1/2) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im))))
#s(approx (exp (neg im)) (exp.f64 (*.f64 #s(literal -1 binary64) im)))
Calls

6 calls:

TimeVariablePoint
3.0ms
im
inf
2.0ms
im
-inf
2.0ms
im
0
2.0ms
re
inf
2.0ms
re
-inf

rewrite37.0ms (1.1%)

Memory
-1.1MiB live, 48.0MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051263
076257
0295253
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
38 → 115
Calls
Call 1
Inputs
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(cos.f64 re)
re
#s(literal 1/2 binary64)
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im))
(*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)
(fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64))
(*.f64 im im)
im
#s(literal -1/3 binary64)
#s(literal -2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
(*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im))
#s(literal -1 binary64)
#s(approx (* im (cos re)) im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))))
(*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))
(-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64)))
#s(literal -1/6 binary64)
(pow.f64 im #s(literal 2 binary64))
#s(literal 2 binary64)
#s(literal 1 binary64)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(exp.f64 (neg.f64 im))
(neg.f64 im)
(exp.f64 im)
#s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))
(*.f64 re re)
#s(literal -1/4 binary64)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(+.f64 #s(literal 1 binary64) im)
Outputs
(*.f64 #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64)) im)) (*.f64 #s(literal 1/2 binary64) (cos.f64 re)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64)) im)))
(*.f64 (cos.f64 re) (*.f64 #s(literal 1/2 binary64) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64)) im))))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64))))
(cos.f64 (neg.f64 re))
(cos.f64 (fabs.f64 re))
(cos.f64 re)
re
#s(literal 1/2 binary64)
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64)) im))
(*.f64 (fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64)) im)
(*.f64 im (fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 #s(literal -2 binary64) (*.f64 #s(literal -1/3 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/3 binary64) (*.f64 im im)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) (*.f64 #s(literal -1/3 binary64) (*.f64 im im))) #s(literal 4 binary64)) (-.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) #s(literal -2 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) #s(literal 3 binary64)) #s(literal -8 binary64)) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) #s(literal -2 binary64)))))
(fma.f64 #s(literal -1/3 binary64) (*.f64 im im) #s(literal -2 binary64))
(fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64))
(fma.f64 im (*.f64 im #s(literal -1/3 binary64)) #s(literal -2 binary64))
(-.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) #s(literal 2 binary64))
(+.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 im im)) #s(literal -2 binary64))
(+.f64 #s(literal -2 binary64) (*.f64 #s(literal -1/3 binary64) (*.f64 im im)))
(*.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64)))
(*.f64 (fabs.f64 im) (fabs.f64 im))
(*.f64 (neg.f64 im) (neg.f64 im))
(*.f64 im im)
(pow.f64 im #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64)))
im
#s(literal -1/3 binary64)
#s(literal -2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
(*.f64 #s(approx (* im (cos re)) im) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im))
(neg.f64 #s(approx (* im (cos re)) im))
#s(literal -1 binary64)
#s(approx (* im (cos re)) im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im))
(*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)
(*.f64 im (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))) #s(literal 1 binary64)) (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) #s(literal 1 binary64)))))
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))
(fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64))
(fma.f64 (*.f64 im im) #s(literal -1/6 binary64) #s(literal -1 binary64))
(-.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) #s(literal 1 binary64))
(+.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 im im)) #s(literal -1 binary64))
(*.f64 #s(literal -1/6 binary64) (*.f64 im im))
(*.f64 (*.f64 im im) #s(literal -1/6 binary64))
#s(literal -1/6 binary64)
(*.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64)))
(*.f64 (fabs.f64 im) (fabs.f64 im))
(*.f64 (neg.f64 im) (neg.f64 im))
(*.f64 im im)
(pow.f64 im #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64)))
#s(literal 2 binary64)
#s(literal 1 binary64)
(*.f64 #s(approx (* 1/2 (cos re)) (fma.f64 #s(literal -1/4 binary64) (*.f64 re re) #s(literal 1/2 binary64))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 #s(literal -1/4 binary64) (*.f64 re re) #s(literal 1/2 binary64))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 (exp.f64 im) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(neg.f64 (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))
(/.f64 #s(literal 1 binary64) (exp.f64 im))
(-.f64 (cosh.f64 im) (sinh.f64 im))
(fabs.f64 (exp.f64 (neg.f64 im)))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 im im)) (+.f64 #s(literal 0 binary64) im))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 im im (*.f64 #s(literal 0 binary64) im))))
(neg.f64 (-.f64 im #s(literal 0 binary64)))
(neg.f64 im)
(-.f64 #s(literal 0 binary64) im)
(+.f64 #s(literal 0 binary64) (neg.f64 im))
(fabs.f64 (exp.f64 im))
(exp.f64 im)
(+.f64 (cosh.f64 im) (sinh.f64 im))
#s(approx (* 1/2 (cos re)) (fma.f64 #s(literal -1/4 binary64) (*.f64 re re) #s(literal 1/2 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 re re)))) (*.f64 #s(literal -1/4 binary64) (*.f64 re re)))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) (*.f64 #s(literal -1/4 binary64) (*.f64 re re))) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) #s(literal 1/2 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) #s(literal 1/2 binary64)))))
(fma.f64 #s(literal -1/4 binary64) (*.f64 re re) #s(literal 1/2 binary64))
(fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))
(fma.f64 re (*.f64 re #s(literal -1/4 binary64)) #s(literal 1/2 binary64))
(-.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) #s(literal -1/2 binary64))
(+.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (*.f64 re re)))
(*.f64 (neg.f64 re) (neg.f64 re))
(*.f64 (fabs.f64 re) (fabs.f64 re))
(*.f64 re re)
(pow.f64 re #s(literal 2 binary64))
#s(literal -1/4 binary64)
(*.f64 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (cos.f64 re)) #s(literal 1/2 binary64))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 #s(literal 1/2 binary64) (cos.f64 re)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))) (+.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (*.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))))
(neg.f64 (-.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 im #s(literal 1 binary64))) #s(literal 1 binary64))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 im im)) (-.f64 #s(literal 1 binary64) im))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 im im) (*.f64 #s(literal 1 binary64) im))))
(-.f64 #s(literal 1 binary64) (neg.f64 im))
(+.f64 #s(literal 1 binary64) im)
(+.f64 im #s(literal 1 binary64))

eval24.0ms (0.7%)

Memory
-24.7MiB live, 67.9MiB allocated; 6ms collecting garbage
Compiler

Compiled 4 629 to 787 computations (83% saved)

prune12.0ms (0.4%)

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

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1698177
Fresh268
Picked325
Done000
Total17416190
Accuracy
99.9%
Counts
190 → 16
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.9%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
4.9%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
45.2%
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
52.1%
(*.f64 (*.f64 (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
79.7%
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
49.4%
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) #s(approx (* (+ (* (* im im) -1/3) -2) im) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))))
58.4%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
41.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
26.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
37.0%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
47.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
25.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
46.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
33.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
25.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
37.0%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
Compiler

Compiled 782 to 624 computations (20.2% saved)

series24.0ms (0.7%)

Memory
6.8MiB live, 52.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02551025
Stop Event
iter-limit
Counts
33 → 57
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
(-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im)))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))
#s(literal 1 binary64)
(*.f64 #s(literal -1 binary64) im)
#s(literal -1 binary64)
im
(exp.f64 im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
(neg.f64 #s(approx (* im (cos re)) im))
#s(approx (* im (cos re)) im)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
(exp.f64 (neg.f64 im))
(neg.f64 im)
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(+.f64 #s(literal 1 binary64) im)
#s(approx (* (cos re) 1/2) #s(literal 1/2 binary64))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
(fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))
(*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))
(*.f64 im (pow.f64 re #s(literal 2 binary64)))
(pow.f64 re #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 im (cos.f64 re))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal -1/4 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 #s(literal 1/48 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (fma.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/4 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/1440 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 #s(literal 1/48 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))
#s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/48 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/4 binary64)))))
#s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/48 binary64) (*.f64 #s(literal -1/1440 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/4 binary64)))))
#s(approx (cos re) #s(literal 1 binary64))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1/2 binary64)))))
#s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/720 binary64) (pow.f64 re #s(literal 2 binary64))))) #s(literal 1/2 binary64)))))
#s(approx re re)
#s(approx (neg (* im (cos re))) (*.f64 #s(literal -1 binary64) im))
#s(approx (neg (* im (cos re))) (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))) im))
#s(approx (neg (* im (cos re))) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))) (*.f64 #s(literal -1/2 binary64) im))) im))
#s(approx (neg (* im (cos re))) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))) (*.f64 #s(literal 1/24 binary64) im))) (*.f64 #s(literal -1/2 binary64) im))) im))
#s(approx (* im (cos re)) im)
#s(approx (* im (cos re)) (+.f64 im (*.f64 #s(literal -1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
#s(approx (* im (cos re)) (+.f64 im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/2 binary64) im (*.f64 #s(literal 1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))))
#s(approx (* im (cos re)) (+.f64 im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/2 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/24 binary64) im)))))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/24 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) im (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1/24 binary64) im (*.f64 #s(literal 1/720 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))))))
#s(approx (* 1/2 (* im (pow re 2))) (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))
#s(approx (* im (pow re 2)) (*.f64 im (pow.f64 re #s(literal 2 binary64))))
#s(approx (pow re 2) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
#s(approx (* 1/2 (cos re)) (*.f64 #s(literal 1/2 binary64) (cos.f64 re)))
#s(approx (cos re) (cos.f64 re))
#s(approx (neg (* im (cos re))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* im (cos re)) (*.f64 im (cos.f64 re)))
#s(approx (+ (* -1 im) (* 1/2 (* im (pow re 2)))) (*.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 #s(literal -1 binary64) (/.f64 im (pow.f64 re #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 #s(literal -1/6 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 #s(literal -1/120 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 im (fma.f64 #s(literal -1 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/6 binary64) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 2 binary64)) (fma.f64 #s(literal -1/120 binary64) (cos.f64 re) (*.f64 #s(literal -1/5040 binary64) (*.f64 (pow.f64 im #s(literal 2 binary64)) (cos.f64 re))))))))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 #s(literal -2 binary64) im))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/60 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/2520 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1/60 binary64))) #s(literal 1/3 binary64))) #s(literal 2 binary64))))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im)))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 #s(literal 1/2 binary64) im) #s(literal 1 binary64)))))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 im (-.f64 (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) im))) #s(literal 1 binary64)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) im)))))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 im (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) im)))))))
#s(approx (+ (* -1 im) (* 1/2 (* im (pow re 2)))) (*.f64 im (-.f64 (*.f64 #s(literal 1/2 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 1 binary64))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
#s(approx (exp (- 0 im)) (exp.f64 (neg.f64 im)))
#s(approx (+ 1 (* -1 im)) (*.f64 im (-.f64 (/.f64 #s(literal 1 binary64) im) #s(literal 1 binary64))))
#s(approx (exp im) (exp.f64 im))
#s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))))
#s(approx (- (exp (- 0 im)) (exp im)) (-.f64 (exp.f64 (*.f64 #s(literal -1 binary64) im)) (exp.f64 im)))
#s(approx (exp (- 0 im)) (exp.f64 (*.f64 #s(literal -1 binary64) im)))
#s(approx (+ 1 (* -1 im)) (*.f64 #s(literal -1 binary64) (*.f64 im (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))
#s(approx (+ (* -1 im) (* 1/2 (* im (pow re 2)))) (*.f64 #s(literal -1 binary64) (*.f64 im (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64)))))))
Calls

6 calls:

TimeVariablePoint
5.0ms
re
inf
3.0ms
re
0
2.0ms
im
0
2.0ms
im
-inf
2.0ms
im
inf

rewrite39.0ms (1.2%)

Memory
-2.2MiB live, 45.7MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044242
067229
0265226
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
33 → 109
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
(-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))
#s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im)))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))
#s(literal 1 binary64)
(*.f64 #s(literal -1 binary64) im)
#s(literal -1 binary64)
im
(exp.f64 im)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
(neg.f64 #s(approx (* im (cos re)) im))
#s(approx (* im (cos re)) im)
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
(exp.f64 (neg.f64 im))
(neg.f64 im)
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(+.f64 #s(literal 1 binary64) im)
#s(approx (* (cos re) 1/2) #s(literal 1/2 binary64))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))))
(fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))
(*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64))))
(*.f64 im (pow.f64 re #s(literal 2 binary64)))
(pow.f64 re #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 im (cos.f64 re))
Outputs
(*.f64 (-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im))))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64))))
(cos.f64 (neg.f64 re))
(cos.f64 (fabs.f64 re))
(cos.f64 re)
re
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (exp.f64 im) #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))))) #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))))
(/.f64 (-.f64 (*.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64)))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)))
(/.f64 (-.f64 (pow.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) #s(literal 3 binary64)) (pow.f64 (exp.f64 im) #s(literal 3 binary64))) (fma.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)))))
(neg.f64 (-.f64 (exp.f64 im) #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64)))))
(-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im))
(+.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (neg.f64 (exp.f64 im)))
#s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 im) #s(literal 1 binary64))) #s(literal 1 binary64))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 im) (neg.f64 im))) (+.f64 #s(literal 1 binary64) im))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (neg.f64 im) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 (neg.f64 im) (neg.f64 im)) (*.f64 #s(literal 1 binary64) (neg.f64 im)))))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) im #s(literal 1 binary64))
(fma.f64 im #s(literal -1 binary64) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 im)))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1 binary64) im))
(+.f64 (neg.f64 im) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (neg.f64 im))
#s(literal 1 binary64)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64))
(*.f64 #s(literal -1 binary64) im)
(*.f64 im #s(literal -1 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 im im)) (+.f64 #s(literal 0 binary64) im))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 im im (*.f64 #s(literal 0 binary64) im))))
(neg.f64 (-.f64 im #s(literal 0 binary64)))
(neg.f64 im)
(-.f64 #s(literal 0 binary64) im)
(+.f64 #s(literal 0 binary64) (neg.f64 im))
#s(literal -1 binary64)
im
(fabs.f64 (exp.f64 im))
(exp.f64 im)
(+.f64 (cosh.f64 im) (sinh.f64 im))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
(neg.f64 #s(approx (* im (cos re)) im))
#s(approx (* im (cos re)) im)
(*.f64 #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (exp.f64 (neg.f64 im)))) (exp.f64 (neg.f64 im)))
(/.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))) (+.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) #s(literal 3 binary64)) (pow.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(literal 3 binary64))) (fma.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)) (fma.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (*.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))))
(neg.f64 (-.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)) (exp.f64 (neg.f64 im))))
(-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im)))
(+.f64 (exp.f64 (neg.f64 im)) (neg.f64 #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(/.f64 #s(literal 1 binary64) (exp.f64 im))
(-.f64 (cosh.f64 im) (sinh.f64 im))
(fabs.f64 (exp.f64 (neg.f64 im)))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64))
(*.f64 #s(literal -1 binary64) im)
(*.f64 im #s(literal -1 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 im im)) (+.f64 #s(literal 0 binary64) im))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 im im (*.f64 #s(literal 0 binary64) im))))
(neg.f64 (-.f64 im #s(literal 0 binary64)))
(neg.f64 im)
(-.f64 #s(literal 0 binary64) im)
(+.f64 #s(literal 0 binary64) (neg.f64 im))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 im #s(literal 1 binary64))) #s(literal 1 binary64))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 im im)) (-.f64 #s(literal 1 binary64) im))
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 im im) (*.f64 #s(literal 1 binary64) im))))
(-.f64 #s(literal 1 binary64) (neg.f64 im))
(+.f64 #s(literal 1 binary64) im)
(+.f64 im #s(literal 1 binary64))
#s(approx (* (cos re) 1/2) #s(literal 1/2 binary64))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64) (neg.f64 im))))
#s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64) (neg.f64 im)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)) (neg.f64 im))) (neg.f64 im))
(/.f64 (-.f64 (*.f64 (neg.f64 im) (neg.f64 im)) (*.f64 (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)))) (-.f64 (neg.f64 im) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64))))
(/.f64 (+.f64 (pow.f64 (neg.f64 im) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (neg.f64 im) (neg.f64 im) (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64))) (*.f64 (neg.f64 im) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64))))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 im #s(literal 0 binary64))) #s(literal 0 binary64) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)))
(fma.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64) (neg.f64 im))
(fma.f64 #s(literal -1 binary64) im (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)))
(fma.f64 im #s(literal -1 binary64) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 re re) im) (neg.f64 im))
(-.f64 (neg.f64 im) (*.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 re re) im)))
(-.f64 (neg.f64 im) (neg.f64 (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64))))
(+.f64 (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)) (neg.f64 im))
(+.f64 (neg.f64 im) (*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re))
(*.f64 (*.f64 (*.f64 re re) im) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 re re) im))
(*.f64 (*.f64 re re) im)
(*.f64 im (*.f64 re re))
(*.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)))
(*.f64 re re)
(pow.f64 re #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64)))
#s(literal 2 binary64)
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 (neg.f64 im) (cos.f64 re)))
(*.f64 (*.f64 im (cos.f64 re)) #s(literal -1 binary64))
(*.f64 (neg.f64 im) (cos.f64 re))
(*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re)))
(*.f64 im (neg.f64 (cos.f64 re)))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)

eval21.0ms (0.6%)

Memory
-2.1MiB live, 43.4MiB allocated; 6ms collecting garbage
Compiler

Compiled 3 794 to 686 computations (81.9% saved)

prune13.0ms (0.4%)

Memory
-18.9MiB live, 27.2MiB allocated; 3ms collecting garbage
Pruning

16 alts after pruning (11 fresh and 5 done)

PrunedKeptTotal
New1356141
Fresh459
Picked235
Done022
Total14116157
Accuracy
99.9%
Counts
157 → 16
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.9%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
4.9%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
4.8%
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) #s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
58.4%
(*.f64 (-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
45.2%
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
79.7%
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
49.4%
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) #s(approx (* (+ (* (* im im) -1/3) -2) im) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))))
41.2%
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
26.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
47.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
25.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
46.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
33.2%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
25.8%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
37.0%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
37.0%
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))))))))
Compiler

Compiled 404 to 320 computations (20.8% saved)

regimes290.0ms (8.8%)

Memory
9.9MiB live, 298.3MiB allocated; 48ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
2 → 1
3 → 1
7 → 2
15 → 3
18 → 3
22 → 3
24 → 3
33 → 2
Calls
Call 1
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
Call 2
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
Call 3
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
Call 4
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) #s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
Call 5
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) #s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
Call 6
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) #s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
Call 7
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) #s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 #s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
Outputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
Call 8
Inputs
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) #s(approx (* im (cos re)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 (fma.f64 #s(literal -1/6 binary64) (*.f64 im im) #s(literal -1 binary64)) im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 (*.f64 #s(literal 1/2 binary64) im) (*.f64 re re) (neg.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) #s(approx (* im (- (* -1/6 (pow im 2)) 1)) (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 3 binary64))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im))))
(*.f64 #s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 im im)))) (*.f64 #s(literal -1/6 binary64) (*.f64 im im))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* 1/2 (- (exp (neg im)) (exp im))) (*.f64 im (-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) #s(approx (+ 1 im) (*.f64 im (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) im)))))) #s(approx (* (cos re) 1/2) #s(literal 1/2 binary64)))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (pow.f64 re #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal 1/2 binary64) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im #s(approx (cos re) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (pow.f64 re #s(literal 2 binary64))))))))
(*.f64 (-.f64 #s(approx (exp (neg im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) #s(approx (* -1 (* im (cos re))) (fma.f64 #s(literal -1 binary64) im (*.f64 #s(literal 1/2 binary64) (*.f64 im (exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))))))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) #s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (cos.f64 re))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (neg.f64 (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
#s(approx (* (* 1/2 (cos re)) (- (exp (- 0 im)) (exp im))) (*.f64 #s(literal -1 binary64) (*.f64 im (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))))))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 #s(approx (* 1/2 (cos re)) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 re #s(literal 2 binary64))))) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
(*.f64 (-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64)))) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) #s(approx (exp im) (+.f64 #s(literal 1 binary64) im))))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 #s(approx (exp (- 0 im)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) im))) (exp.f64 im)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 im (-.f64 (*.f64 #s(literal -1/3 binary64) (pow.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) #s(approx (- (exp (- 0 im)) (exp im)) #s(approx (* im (- (* -1/3 (pow im 2)) 2)) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) #s(approx (* (+ (* (* im im) -1/3) -2) im) (*.f64 #s(literal -1 binary64) (*.f64 (pow.f64 im #s(literal 3 binary64)) (+.f64 #s(literal 1/3 binary64) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))))))))
Outputs
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(approx (- (exp (- 0 im)) (exp im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/3 binary64) #s(literal -2 binary64)) im)))
(*.f64 (-.f64 #s(approx (exp (- 0 im)) (+.f64 (neg.f64 im) #s(literal 1 binary64))) (exp.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
Calls

34 calls:

90.0ms
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
39.0ms
im
18.0ms
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
15.0ms
im
12.0ms
im
Results
AccuracySegmentsBranch
25.8%1im
25.8%1(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
25.8%1(cos.f64 re)
25.8%1(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
25.8%1re
25.8%1(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
46.8%1(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
46.8%1im
46.8%1re
46.8%1(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
46.8%1(cos.f64 re)
46.8%1(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
60.7%2(cos.f64 re)
60.7%2(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
46.8%1(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
50.2%3im
60.7%2(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
76.1%3(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
54.3%2re
66.5%3(cos.f64 re)
66.5%3(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
67.0%2(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
68.9%3im
78.7%3(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
99.0%3(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
99.2%3(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
87.5%2(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
94.9%3im
99.9%2(-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im))
79.7%1(cos.f64 re)
79.7%1(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
99.9%3(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (-.f64 (exp.f64 (-.f64 #s(literal 0 binary64) im)) (exp.f64 im)))
79.7%1re
99.9%2im
Compiler

Compiled 968 to 379 computations (60.8% saved)

bsearch25.0ms (0.7%)

Memory
-11.1MiB live, 35.1MiB allocated; 3ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
23.0ms
1.3863592415952842e-5
53.300751206579086
Samples
17.0ms144×0valid
Compiler

Compiled 357 to 322 computations (9.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-cos: 9.0ms (66.5% of total)
ival-exp: 3.0ms (22.2% of total)
ival-sub!: 1.0ms (7.4% of total)
ival-mult!: 1.0ms (7.4% of total)
adjust: 0.0ms (0% of total)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.4204192311423808e+146
+inf
0.0ms
-inf
-1.3863592416452075e-5
Compiler

Compiled 15 to 16 computations (-6.7% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.4204192311423808e+146
+inf
0.0ms
-1.3863592416452075e-5
-4.2937578420554345e-7
Compiler

Compiled 15 to 16 computations (-6.7% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
4.7065455421413885e+22
0.0ms
-inf
-1.3863592416452075e-5
Compiler

Compiled 15 to 16 computations (-6.7% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
4.7065455421413885e+22
0.0ms
-inf
-1.3863592416452075e-5
Compiler

Compiled 15 to 16 computations (-6.7% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-0.0027822027197230274
0.015861286498228492
Compiler

Compiled 15 to 16 computations (-6.7% saved)

derivations17.0ms (0.5%)

Memory
30.2MiB live, 30.2MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 580 to 93 computations (84% saved)

preprocess248.0ms (7.5%)

Memory
-19.4MiB live, 402.6MiB allocated; 49ms collecting garbage
Remove

(negabs im)

(abs re)

Compiler

Compiled 3 840 to 1 738 computations (54.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...