
Time bar (total: 1.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 7 to 7 computations (0% saved)
| 686.0ms | 8 256× | 0 | valid |
ival-cos: 260.0ms (64.2% of total)ival-exp: 81.0ms (20% of total)ival-mult!: 63.0ms (15.6% of total)adjust: 2.0ms (0.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0 | 0 | - | 0 | - | (cos.f64 im) |
| 0 | 0 | - | 0 | - | re |
| 0 | 0 | - | 0 | - | (exp.f64 re) |
| 0 | 0 | - | 0 | - | im |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 31.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-cos: 12.0ms (65% of total)ival-exp: 4.0ms (21.7% of total)ival-mult!: 2.0ms (10.8% of total)adjust: 0.0ms (0% of total)Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 34 |
| 1 | 51 | 34 |
| 2 | 138 | 32 |
| 3 | 417 | 32 |
| 4 | 1629 | 32 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (exp.f64 re) (cos.f64 im)) |
(abs im)
Compiled 10 to 10 computations (0% saved)
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 re) |
re |
(cos.f64 im) |
im |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) #s(hole binary64 (cos im))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (exp re) #s(hole binary64 1)) |
#s(approx (exp re) #s(hole binary64 (+ 1 re))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* 1/2 re)))))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* re (+ 1/2 (* 1/6 re)))))))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (* (cos im) (exp re)))) |
#s(approx (exp re) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* -1/2 (* (pow im 2) (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* 1/24 (* (pow im 2) (exp re)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* (pow im 2) (+ (* -1/720 (* (pow im 2) (exp re))) (* 1/24 (exp re))))))))) |
#s(approx (cos im) #s(hole binary64 1)) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* -1/2 (pow im 2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* 1/24 (pow im 2)) 1/2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* (pow im 2) (+ 1/24 (* -1/720 (pow im 2)))) 1/2))))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (cos im) #s(hole binary64 (cos im))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | re | @ | 0 | ((* (exp re) (cos im)) (exp re) re (cos im) im) |
| 1.0ms | re | @ | inf | ((* (exp re) (cos im)) (exp re) re (cos im) im) |
| 1.0ms | re | @ | -inf | ((* (exp re) (cos im)) (exp re) re (cos im) im) |
| 1.0ms | im | @ | 0 | ((* (exp re) (cos im)) (exp re) re (cos im) im) |
| 0.0ms | im | @ | inf | ((* (exp re) (cos im)) (exp re) re (cos im) im) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 89 | 282 |
| 0 | 91 | 281 |
| 1 | 532 | 270 |
| 0 | 5122 | 250 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 re) |
re |
(cos.f64 im) |
im |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (cos im))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (exp re) #s(hole binary64 1)) |
#s(approx (exp re) #s(hole binary64 (+ 1 re))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* 1/2 re)))))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* re (+ 1/2 (* 1/6 re)))))))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (* (cos im) (exp re)))) |
#s(approx (exp re) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* -1/2 (* (pow im 2) (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* 1/24 (* (pow im 2) (exp re)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* (pow im 2) (+ (* -1/720 (* (pow im 2) (exp re))) (* 1/24 (exp re))))))))) |
#s(approx (cos im) #s(hole binary64 1)) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* -1/2 (pow im 2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* 1/24 (pow im 2)) 1/2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* (pow im 2) (+ 1/24 (* -1/720 (pow im 2)))) 1/2))))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (cos im) #s(hole binary64 (cos im))) |
| Outputs |
|---|
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (cosh.f64 re) (*.f64 (cos.f64 im) (sinh.f64 re))) |
(+.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(+.f64 (*.f64 (cos.f64 im) (cosh.f64 re)) (*.f64 (cos.f64 im) (sinh.f64 re))) |
(/.f64 (-.f64 (*.f64 (cosh.f64 re) (cosh.f64 re)) (*.f64 (sinh.f64 re) (sinh.f64 re))) (-.f64 (cosh.f64 re) (sinh.f64 re))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 re) #s(literal 3 binary64)) (pow.f64 (sinh.f64 re) #s(literal 3 binary64))) (fma.f64 (cosh.f64 re) (cosh.f64 re) (-.f64 (*.f64 (sinh.f64 re) (sinh.f64 re)) (*.f64 (cosh.f64 re) (sinh.f64 re))))) |
(exp.f64 re) |
(+.f64 (sinh.f64 re) (cosh.f64 re)) |
(+.f64 (cosh.f64 re) (sinh.f64 re)) |
re |
(fma.f64 (sin.f64 im) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 im) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 (+.f64 (neg.f64 im) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) im)) |
(cos.f64 (neg.f64 (neg.f64 im))) |
(cos.f64 (neg.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (sin.f64 im) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 im) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
im |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
#s(approx (* (exp re) (cos im)) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) re #s(literal 1 binary64)) (cos.f64 im)) re (cos.f64 im))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 (*.f64 (cos.f64 im) (fma.f64 #s(literal 1/6 binary64) re #s(literal 1/2 binary64))) re (cos.f64 im)) re (cos.f64 im))) |
#s(approx (exp re) #s(literal 1 binary64)) |
#s(approx (exp re) (-.f64 re #s(literal -1 binary64))) |
#s(approx (exp re) (fma.f64 (fma.f64 #s(literal 1/2 binary64) re #s(literal 1 binary64)) re #s(literal 1 binary64))) |
#s(approx (exp re) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) re #s(literal 1/2 binary64)) re #s(literal 1 binary64)) re #s(literal 1 binary64))) |
#s(approx re re) |
#s(approx (* (exp re) (cos im)) (*.f64 (cos.f64 im) (exp.f64 re))) |
#s(approx (exp re) (exp.f64 re)) |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
#s(approx (* (exp re) (cos im)) (*.f64 (fma.f64 (*.f64 im im) #s(literal -1/2 binary64) #s(literal 1 binary64)) (exp.f64 re))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (*.f64 (exp.f64 re) (fma.f64 #s(literal 1/24 binary64) (*.f64 im im) #s(literal -1/2 binary64))) (*.f64 im im) (exp.f64 re))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 (*.f64 (exp.f64 re) (fma.f64 #s(literal -1/720 binary64) (*.f64 im im) #s(literal 1/24 binary64))) (*.f64 im im) (*.f64 #s(literal -1/2 binary64) (exp.f64 re))) (*.f64 im im) (exp.f64 re))) |
#s(approx (cos im) #s(literal 1 binary64)) |
#s(approx (cos im) (fma.f64 (*.f64 im im) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (cos im) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 im im)) #s(literal 1/2 binary64)) (*.f64 im im) #s(literal 1 binary64))) |
#s(approx (cos im) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 im im) #s(literal 1/24 binary64)) im) im) #s(literal 1/2 binary64)) (*.f64 im im) #s(literal 1 binary64))) |
#s(approx im im) |
#s(approx (cos im) (cos.f64 im)) |
Compiled 456 to 133 computations (70.8% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 3 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 33 | 4 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 73.8% | (fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 (sinh.f64 re) (cos.f64 im))) |
| ✓ | 100.0% | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ▶ | 73.9% | #s(approx (* (exp re) (cos im)) (exp.f64 re)) |
| ▶ | 51.3% | #s(approx (* (exp re) (cos im)) (cos.f64 im)) |
Compiled 31 to 26 computations (16.1% saved)
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
(cos.f64 im) |
im |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
(exp.f64 re) |
re |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(cosh.f64 re) |
(*.f64 (sinh.f64 re) (cos.f64 im)) |
(sinh.f64 re) |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) #s(hole binary64 (cos im))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (exp re) #s(hole binary64 1)) |
#s(approx (exp re) #s(hole binary64 (+ 1 re))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* 1/2 re)))))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* re (+ 1/2 (* 1/6 re)))))))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (cos im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (cosh re) #s(hole binary64 1)) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* 1/2 (pow re 2))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* 1/24 (pow re 2))))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* (pow re 2) (+ 1/24 (* 1/720 (pow re 2))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (cos im)))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* 1/6 (* (pow re 2) (cos im))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/120 (* (pow re 2) (cos im))) (* 1/6 (cos im)))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/6 (cos im)) (* (pow re 2) (+ (* 1/5040 (* (pow re 2) (cos im))) (* 1/120 (cos im)))))))))) |
#s(approx (sinh re) #s(hole binary64 re)) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* 1/6 (pow re 2)))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* 1/120 (pow re 2)))))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* (pow re 2) (+ 1/120 (* 1/5040 (pow re 2)))))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (* (cos im) (exp re)))) |
#s(approx (exp re) #s(hole binary64 (exp re))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (* (cos im) (+ (exp re) (/ 1 (exp re))))) (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re)))))))) |
#s(approx (cosh re) #s(hole binary64 (* 1/2 (+ (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re))))))) |
#s(approx (sinh re) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* -1/2 (* (pow im 2) (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* 1/24 (* (pow im 2) (exp re)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* (pow im 2) (+ (* -1/720 (* (pow im 2) (exp re))) (* 1/24 (exp re))))))))) |
#s(approx (cos im) #s(hole binary64 1)) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* -1/2 (pow im 2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* 1/24 (pow im 2)) 1/2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* (pow im 2) (+ 1/24 (* -1/720 (pow im 2)))) 1/2))))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (* -1/4 (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/48 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (+ (exp re) (/ 1 (exp re)))) (* -1/1440 (- (exp re) (/ 1 (exp re)))))))))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* -1/4 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* 1/48 (* (pow im 2) (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))) |
#s(approx (cos im) #s(hole binary64 (cos im))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | im | @ | inf | ((* (exp re) (cos im)) (cos im) im (* (exp re) (cos im)) (exp re) re (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) (* (sinh re) (cos im)) (sinh re)) |
| 6.0ms | im | @ | 0 | ((* (exp re) (cos im)) (cos im) im (* (exp re) (cos im)) (exp re) re (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) (* (sinh re) (cos im)) (sinh re)) |
| 4.0ms | re | @ | -inf | ((* (exp re) (cos im)) (cos im) im (* (exp re) (cos im)) (exp re) re (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) (* (sinh re) (cos im)) (sinh re)) |
| 3.0ms | re | @ | inf | ((* (exp re) (cos im)) (cos im) im (* (exp re) (cos im)) (exp re) re (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) (* (sinh re) (cos im)) (sinh re)) |
| 2.0ms | re | @ | 0 | ((* (exp re) (cos im)) (cos im) im (* (exp re) (cos im)) (exp re) re (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) (* (sinh re) (cos im)) (sinh re)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 230 | 1090 |
| 0 | 235 | 981 |
| 1 | 1501 | 911 |
| 0 | 8185 | 845 |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
(cos.f64 im) |
im |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
(exp.f64 re) |
re |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(cosh.f64 re) |
(*.f64 (sinh.f64 re) (cos.f64 im)) |
(sinh.f64 re) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (cos im))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (exp re) #s(hole binary64 1)) |
#s(approx (exp re) #s(hole binary64 (+ 1 re))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* 1/2 re)))))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* re (+ 1/2 (* 1/6 re)))))))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (cos im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (cosh re) #s(hole binary64 1)) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* 1/2 (pow re 2))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* 1/24 (pow re 2))))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* (pow re 2) (+ 1/24 (* 1/720 (pow re 2))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (cos im)))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* 1/6 (* (pow re 2) (cos im))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/120 (* (pow re 2) (cos im))) (* 1/6 (cos im)))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/6 (cos im)) (* (pow re 2) (+ (* 1/5040 (* (pow re 2) (cos im))) (* 1/120 (cos im)))))))))) |
#s(approx (sinh re) #s(hole binary64 re)) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* 1/6 (pow re 2)))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* 1/120 (pow re 2)))))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* (pow re 2) (+ 1/120 (* 1/5040 (pow re 2)))))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (* (cos im) (exp re)))) |
#s(approx (exp re) #s(hole binary64 (exp re))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (* (cos im) (+ (exp re) (/ 1 (exp re))))) (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re)))))))) |
#s(approx (cosh re) #s(hole binary64 (* 1/2 (+ (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re))))))) |
#s(approx (sinh re) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* -1/2 (* (pow im 2) (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* 1/24 (* (pow im 2) (exp re)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* (pow im 2) (+ (* -1/720 (* (pow im 2) (exp re))) (* 1/24 (exp re))))))))) |
#s(approx (cos im) #s(hole binary64 1)) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* -1/2 (pow im 2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* 1/24 (pow im 2)) 1/2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* (pow im 2) (+ 1/24 (* -1/720 (pow im 2)))) 1/2))))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (* -1/4 (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/48 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (+ (exp re) (/ 1 (exp re)))) (* -1/1440 (- (exp re) (/ 1 (exp re)))))))))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* -1/4 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* 1/48 (* (pow im 2) (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))) |
#s(approx (cos im) #s(hole binary64 (cos im))) |
| Outputs |
|---|
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cos.f64 im)) |
(fma.f64 (sin.f64 im) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 im) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 (+.f64 (neg.f64 im) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (+.f64 im (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(cos.f64 (neg.f64 (neg.f64 im))) |
(cos.f64 (neg.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (sin.f64 im) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 im) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
im |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (exp.f64 re)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 re) (cosh.f64 re)) (*.f64 (sinh.f64 re) (sinh.f64 re))) (exp.f64 (neg.f64 re))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 re) #s(literal 3 binary64)) (pow.f64 (sinh.f64 re) #s(literal 3 binary64))) (fma.f64 (cosh.f64 re) (cosh.f64 re) (-.f64 (*.f64 (sinh.f64 re) (sinh.f64 re)) (*.f64 (cosh.f64 re) (sinh.f64 re))))) |
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) #s(literal 4 binary64)) |
(/.f64 (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) #s(literal 2 binary64)) |
(exp.f64 re) |
(+.f64 (cosh.f64 re) (sinh.f64 re)) |
re |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(/.f64 (-.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64))) (-.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) (*.f64 (cosh.f64 re) (cos.f64 im)))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 (sinh.f64 (neg.f64 re)) (cos.f64 im)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (fma.f64 (*.f64 (sinh.f64 (neg.f64 re)) (cos.f64 im)) (*.f64 (sinh.f64 (neg.f64 re)) (cos.f64 im)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 (neg.f64 re)) (cos.f64 im)))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) (*.f64 (cosh.f64 re) (cos.f64 im)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 3 binary64)))) (neg.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im))))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64))) (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im)))))) |
(fma.f64 (sinh.f64 re) (cos.f64 im) (*.f64 (cosh.f64 re) (cos.f64 im))) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (sinh.f64 re) (*.f64 (cosh.f64 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (cosh.f64 re) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(-.f64 (/.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im)))) (/.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im))))) |
(-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 (neg.f64 re)) (cos.f64 im))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im)))))) (/.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im))))))) |
(+.f64 (*.f64 (sinh.f64 re) (cos.f64 im)) (*.f64 (cosh.f64 re) (cos.f64 im))) |
(+.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (sinh.f64 re) (cos.f64 im))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re))) #s(literal -2 binary64)) |
(/.f64 (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 (neg.f64 (neg.f64 re)))) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) #s(literal 2 binary64)) |
(cosh.f64 (neg.f64 (neg.f64 re))) |
(cosh.f64 (neg.f64 re)) |
(cosh.f64 re) |
(+.f64 (/.f64 (exp.f64 (neg.f64 re)) #s(literal 2 binary64)) (/.f64 (exp.f64 re) #s(literal 2 binary64))) |
(+.f64 (/.f64 (exp.f64 re) #s(literal 2 binary64)) (/.f64 (exp.f64 (neg.f64 re)) #s(literal 2 binary64))) |
(*.f64 (sinh.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (sinh.f64 re)) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re))) #s(literal -2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 2 binary64)) |
(sinh.f64 re) |
(-.f64 (/.f64 (exp.f64 re) #s(literal 2 binary64)) (/.f64 (exp.f64 (neg.f64 re)) #s(literal 2 binary64))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cos.f64 im)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 im) re) (cos.f64 im)) re (cos.f64 im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 (cos.f64 im) re) (*.f64 #s(literal 1/2 binary64) (cos.f64 im))) re (cos.f64 im)) re (cos.f64 im))) |
#s(approx (exp re) #s(literal 1 binary64)) |
#s(approx (exp re) (+.f64 #s(literal 1 binary64) re)) |
#s(approx (exp re) (fma.f64 (fma.f64 #s(literal 1/2 binary64) re #s(literal 1 binary64)) re #s(literal 1 binary64))) |
#s(approx (exp re) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) re #s(literal 1/2 binary64)) re #s(literal 1 binary64)) re #s(literal 1 binary64))) |
#s(approx re re) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cos.f64 im)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 im) re) (cos.f64 im)) re (cos.f64 im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 (cos.f64 im) re) (*.f64 #s(literal 1/2 binary64) (cos.f64 im))) re (cos.f64 im)) re (cos.f64 im))) |
#s(approx (cosh re) #s(literal 1 binary64)) |
#s(approx (cosh re) (fma.f64 (*.f64 re re) #s(literal 1/2 binary64) #s(literal 1 binary64))) |
#s(approx (cosh re) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 re re) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64))) |
#s(approx (cosh re) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 re re) #s(literal 1/24 binary64)) (*.f64 re re) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64))) |
#s(approx (* (sinh re) (cos im)) (*.f64 (cos.f64 im) re)) |
#s(approx (* (sinh re) (cos im)) (*.f64 (fma.f64 (*.f64 (*.f64 re re) #s(literal 1/6 binary64)) (cos.f64 im) (cos.f64 im)) re)) |
#s(approx (* (sinh re) (cos im)) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/120 binary64) (*.f64 re re)) (cos.f64 im) (*.f64 #s(literal 1/6 binary64) (cos.f64 im))) (*.f64 re re) (cos.f64 im)) re)) |
#s(approx (* (sinh re) (cos im)) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/5040 binary64) (*.f64 re re)) (cos.f64 im) (*.f64 #s(literal 1/120 binary64) (cos.f64 im))) (*.f64 re re) (*.f64 #s(literal 1/6 binary64) (cos.f64 im))) (*.f64 re re) (cos.f64 im)) re)) |
#s(approx (sinh re) re) |
#s(approx (sinh re) (*.f64 (fma.f64 (*.f64 re re) #s(literal 1/6 binary64) #s(literal 1 binary64)) re)) |
#s(approx (sinh re) (*.f64 (fma.f64 (fma.f64 #s(literal 1/120 binary64) (*.f64 re re) #s(literal 1/6 binary64)) (*.f64 re re) #s(literal 1 binary64)) re)) |
#s(approx (sinh re) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/5040 binary64) (*.f64 re re) #s(literal 1/120 binary64)) (*.f64 re re) #s(literal 1/6 binary64)) (*.f64 re re) #s(literal 1 binary64)) re)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (*.f64 (cos.f64 im) (exp.f64 re))) |
#s(approx (exp re) (exp.f64 re)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (*.f64 #s(literal 1/2 binary64) (fma.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) (cos.f64 im) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (cos.f64 im))))) |
#s(approx (cosh re) (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) #s(literal 1/2 binary64))) |
#s(approx (* (sinh re) (cos im)) (*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) |
#s(approx (sinh re) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (exp.f64 re)) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (*.f64 (*.f64 im im) #s(literal -1/2 binary64)) (exp.f64 re) (exp.f64 re))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (fma.f64 (*.f64 (*.f64 im im) #s(literal 1/24 binary64)) (exp.f64 re) (*.f64 #s(literal -1/2 binary64) (exp.f64 re))) (*.f64 im im) (exp.f64 re))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 im im)) (exp.f64 re) (*.f64 #s(literal 1/24 binary64) (exp.f64 re))) (*.f64 im im) (*.f64 #s(literal -1/2 binary64) (exp.f64 re))) (*.f64 im im) (exp.f64 re))) |
#s(approx (cos im) #s(literal 1 binary64)) |
#s(approx (cos im) (fma.f64 (*.f64 im im) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (cos im) (fma.f64 (-.f64 (*.f64 (*.f64 im im) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) (*.f64 im im) #s(literal 1 binary64))) |
#s(approx (cos im) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 im im) #s(literal 1/24 binary64)) (*.f64 im im)) #s(literal 1/2 binary64)) (*.f64 im im) #s(literal 1 binary64))) |
#s(approx im im) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (*.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (*.f64 #s(literal -1/4 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im)))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (*.f64 #s(literal 1/48 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im))) (*.f64 im im)))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (fma.f64 #s(literal 1/48 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (*.f64 #s(literal -1/1440 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im))) (*.f64 im im))) (*.f64 im im)))) |
#s(approx (* (sinh re) (cos im)) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64))) |
#s(approx (* (sinh re) (cos im)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 im im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64)))) |
#s(approx (* (sinh re) (cos im)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/48 binary64) (*.f64 im im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (*.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64)))) |
#s(approx (* (sinh re) (cos im)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 im im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (*.f64 #s(literal 1/48 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im) (*.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64)))) |
#s(approx (cos im) (cos.f64 im)) |
Compiled 2 249 to 380 computations (83.1% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 107 | 2 | 109 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 108 | 5 | 113 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 74.0% | (fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
| ✓ | 100.0% | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 73.9% | #s(approx (* (exp re) (cos im)) (exp.f64 re)) |
| ✓ | 51.3% | #s(approx (* (exp re) (cos im)) (cos.f64 im)) |
| ▶ | 31.2% | #s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
Compiled 43 to 35 computations (18.6% saved)
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
#s(approx (exp re) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
(cosh.f64 re) |
re |
(cos.f64 im) |
im |
(*.f64 #s(approx (sinh re) re) (cos.f64 im)) |
#s(approx (sinh re) re) |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) #s(hole binary64 (cos im))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (exp re) #s(hole binary64 1)) |
#s(approx (exp re) #s(hole binary64 (+ 1 re))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* 1/2 re)))))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* re (+ 1/2 (* 1/6 re)))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (cos im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (cosh re) #s(hole binary64 1)) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* 1/2 (pow re 2))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* 1/24 (pow re 2))))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* (pow re 2) (+ 1/24 (* 1/720 (pow re 2))))))))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (cos im)))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* 1/6 (* (pow re 2) (cos im))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/120 (* (pow re 2) (cos im))) (* 1/6 (cos im)))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/6 (cos im)) (* (pow re 2) (+ (* 1/5040 (* (pow re 2) (cos im))) (* 1/120 (cos im)))))))))) |
#s(approx (sinh re) #s(hole binary64 re)) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* 1/6 (pow re 2)))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* 1/120 (pow re 2)))))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* (pow re 2) (+ 1/120 (* 1/5040 (pow re 2)))))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (* (cos im) (exp re)))) |
#s(approx (exp re) #s(hole binary64 (exp re))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (* (cos im) (+ (exp re) (/ 1 (exp re))))) (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re)))))))) |
#s(approx (cosh re) #s(hole binary64 (* 1/2 (+ (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re))))))) |
#s(approx (sinh re) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* -1/2 (* (pow im 2) (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* 1/24 (* (pow im 2) (exp re)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* (pow im 2) (+ (* -1/720 (* (pow im 2) (exp re))) (* 1/24 (exp re))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (* -1/4 (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/48 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (+ (exp re) (/ 1 (exp re)))) (* -1/1440 (- (exp re) (/ 1 (exp re)))))))))))))))) |
#s(approx (cos im) #s(hole binary64 1)) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* -1/2 (pow im 2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* 1/24 (pow im 2)) 1/2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* (pow im 2) (+ 1/24 (* -1/720 (pow im 2)))) 1/2))))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* -1/4 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* 1/48 (* (pow im 2) (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))) |
#s(approx (cos im) #s(hole binary64 (cos im))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | re | @ | inf | ((* (exp re) (cos im)) (exp re) 1 (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) re (cos im) im (* (sinh re) (cos im)) (sinh re)) |
| 2.0ms | re | @ | -inf | ((* (exp re) (cos im)) (exp re) 1 (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) re (cos im) im (* (sinh re) (cos im)) (sinh re)) |
| 1.0ms | im | @ | -inf | ((* (exp re) (cos im)) (exp re) 1 (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) re (cos im) im (* (sinh re) (cos im)) (sinh re)) |
| 1.0ms | im | @ | inf | ((* (exp re) (cos im)) (exp re) 1 (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) re (cos im) im (* (sinh re) (cos im)) (sinh re)) |
| 1.0ms | re | @ | 0 | ((* (exp re) (cos im)) (exp re) 1 (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) (cosh re) re (cos im) im (* (sinh re) (cos im)) (sinh re)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 227 | 1102 |
| 0 | 232 | 987 |
| 1 | 1516 | 917 |
| 0 | 8287 | 851 |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
#s(approx (exp re) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
(cosh.f64 re) |
re |
(cos.f64 im) |
im |
(*.f64 #s(approx (sinh re) re) (cos.f64 im)) |
#s(approx (sinh re) re) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (cos im))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (exp re) #s(hole binary64 1)) |
#s(approx (exp re) #s(hole binary64 (+ 1 re))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* 1/2 re)))))) |
#s(approx (exp re) #s(hole binary64 (+ 1 (* re (+ 1 (* re (+ 1/2 (* 1/6 re)))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (cos im))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (cos im))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* 1/2 (* re (cos im)))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (cos im) (* re (+ (cos im) (* re (+ (* 1/6 (* re (cos im))) (* 1/2 (cos im))))))))) |
#s(approx (cosh re) #s(hole binary64 1)) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* 1/2 (pow re 2))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* 1/24 (pow re 2))))))) |
#s(approx (cosh re) #s(hole binary64 (+ 1 (* (pow re 2) (+ 1/2 (* (pow re 2) (+ 1/24 (* 1/720 (pow re 2))))))))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (cos im)))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* 1/6 (* (pow re 2) (cos im))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/120 (* (pow re 2) (cos im))) (* 1/6 (cos im)))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* re (+ (cos im) (* (pow re 2) (+ (* 1/6 (cos im)) (* (pow re 2) (+ (* 1/5040 (* (pow re 2) (cos im))) (* 1/120 (cos im)))))))))) |
#s(approx (sinh re) #s(hole binary64 re)) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* 1/6 (pow re 2)))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* 1/120 (pow re 2)))))))) |
#s(approx (sinh re) #s(hole binary64 (* re (+ 1 (* (pow re 2) (+ 1/6 (* (pow re 2) (+ 1/120 (* 1/5040 (pow re 2)))))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (* (cos im) (exp re)))) |
#s(approx (exp re) #s(hole binary64 (exp re))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (* (cos im) (+ (exp re) (/ 1 (exp re))))) (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re)))))))) |
#s(approx (cosh re) #s(hole binary64 (* 1/2 (+ (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (* (cos im) (- (exp re) (/ 1 (exp re))))))) |
#s(approx (sinh re) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (exp re))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* -1/2 (* (pow im 2) (exp re)))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* 1/24 (* (pow im 2) (exp re)))))))) |
#s(approx (* (exp re) (cos im)) #s(hole binary64 (+ (exp re) (* (pow im 2) (+ (* -1/2 (exp re)) (* (pow im 2) (+ (* -1/720 (* (pow im 2) (exp re))) (* 1/24 (exp re))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (* -1/4 (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))))) |
#s(approx (+ (* (cosh re) (cos im)) (* (sinh re) (cos im))) #s(hole binary64 (+ (* 1/2 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (+ (exp re) (/ 1 (exp re)))) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* 1/48 (+ (exp re) (/ 1 (exp re)))) (+ (* 1/48 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (+ (exp re) (/ 1 (exp re)))) (* -1/1440 (- (exp re) (/ 1 (exp re)))))))))))))))) |
#s(approx (cos im) #s(hole binary64 1)) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* -1/2 (pow im 2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* 1/24 (pow im 2)) 1/2))))) |
#s(approx (cos im) #s(hole binary64 (+ 1 (* (pow im 2) (- (* (pow im 2) (+ 1/24 (* -1/720 (pow im 2)))) 1/2))))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (* 1/2 (- (exp re) (/ 1 (exp re)))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* -1/4 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/2 (- (exp re) (/ 1 (exp re))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* 1/48 (* (pow im 2) (- (exp re) (/ 1 (exp re)))))))))) |
#s(approx (* (sinh re) (cos im)) #s(hole binary64 (+ (* 1/2 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/4 (- (exp re) (/ 1 (exp re)))) (* (pow im 2) (+ (* -1/1440 (* (pow im 2) (- (exp re) (/ 1 (exp re))))) (* 1/48 (- (exp re) (/ 1 (exp re))))))))))) |
#s(approx (cos im) #s(hole binary64 (cos im))) |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
#s(approx (exp re) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(*.f64 (cos.f64 im) (+.f64 (cosh.f64 re) #s(approx (sinh re) re))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) (*.f64 (cosh.f64 re) (cos.f64 im)))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 #s(approx (sinh re) re)) (cos.f64 im)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (fma.f64 (*.f64 (neg.f64 #s(approx (sinh re) re)) (cos.f64 im)) (*.f64 (neg.f64 #s(approx (sinh re) re)) (cos.f64 im)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (neg.f64 #s(approx (sinh re) re)) (cos.f64 im)))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) (*.f64 (cosh.f64 re) (cos.f64 im)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 3 binary64)))) (neg.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im))))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64))) (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im)))))) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
(fma.f64 #s(approx (sinh re) re) (cos.f64 im) (*.f64 (cosh.f64 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (cosh.f64 re) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) #s(approx (sinh re) re) (*.f64 (cosh.f64 re) (cos.f64 im))) |
(-.f64 (/.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im)))) (/.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im))))) |
(-.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 (neg.f64 #s(approx (sinh re) re)) (cos.f64 im))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im)))))) (/.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) #s(literal 2 binary64)) (*.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im))))))) |
(+.f64 (*.f64 (cosh.f64 re) (cos.f64 im)) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
(+.f64 (*.f64 #s(approx (sinh re) re) (cos.f64 im)) (*.f64 (cosh.f64 re) (cos.f64 im))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re))) #s(literal -2 binary64)) |
(/.f64 (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 (neg.f64 (neg.f64 re)))) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) #s(literal 2 binary64)) |
(cosh.f64 (neg.f64 (neg.f64 re))) |
(cosh.f64 (neg.f64 re)) |
(cosh.f64 re) |
(+.f64 (/.f64 (exp.f64 (neg.f64 re)) #s(literal 2 binary64)) (/.f64 (exp.f64 re) #s(literal 2 binary64))) |
(+.f64 (/.f64 (exp.f64 re) #s(literal 2 binary64)) (/.f64 (exp.f64 (neg.f64 re)) #s(literal 2 binary64))) |
re |
(fma.f64 (sin.f64 im) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 im) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 (+.f64 (neg.f64 im) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (+.f64 im (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(cos.f64 (neg.f64 (neg.f64 im))) |
(cos.f64 (neg.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (sin.f64 im) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 im) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
im |
(*.f64 #s(approx (sinh re) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) #s(approx (sinh re) re)) |
#s(approx (sinh re) re) |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
#s(approx (* (exp re) (cos im)) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 im) re) (cos.f64 im)) re (cos.f64 im))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 (cos.f64 im) re) (*.f64 #s(literal 1/2 binary64) (cos.f64 im))) re (cos.f64 im)) re (cos.f64 im))) |
#s(approx (exp re) #s(literal 1 binary64)) |
#s(approx (exp re) (+.f64 #s(literal 1 binary64) re)) |
#s(approx (exp re) (fma.f64 (fma.f64 #s(literal 1/2 binary64) re #s(literal 1 binary64)) re #s(literal 1 binary64))) |
#s(approx (exp re) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) re #s(literal 1/2 binary64)) re #s(literal 1 binary64)) re #s(literal 1 binary64))) |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
#s(approx (* (exp re) (cos im)) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 im) re) (cos.f64 im)) re (cos.f64 im))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 (cos.f64 im) re) (*.f64 #s(literal 1/2 binary64) (cos.f64 im))) re (cos.f64 im)) re (cos.f64 im))) |
#s(approx (cosh re) #s(literal 1 binary64)) |
#s(approx (cosh re) (fma.f64 (*.f64 re re) #s(literal 1/2 binary64) #s(literal 1 binary64))) |
#s(approx (cosh re) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 re re) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64))) |
#s(approx (cosh re) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 re re) #s(literal 1/24 binary64)) (*.f64 re re) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64))) |
#s(approx re re) |
#s(approx (* (sinh re) (cos im)) (*.f64 (cos.f64 im) re)) |
#s(approx (* (sinh re) (cos im)) (*.f64 (fma.f64 (*.f64 (*.f64 re re) #s(literal 1/6 binary64)) (cos.f64 im) (cos.f64 im)) re)) |
#s(approx (* (sinh re) (cos im)) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/120 binary64) (*.f64 re re)) (cos.f64 im) (*.f64 #s(literal 1/6 binary64) (cos.f64 im))) (*.f64 re re) (cos.f64 im)) re)) |
#s(approx (* (sinh re) (cos im)) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/5040 binary64) (*.f64 re re)) (cos.f64 im) (*.f64 #s(literal 1/120 binary64) (cos.f64 im))) (*.f64 re re) (*.f64 #s(literal 1/6 binary64) (cos.f64 im))) (*.f64 re re) (cos.f64 im)) re)) |
#s(approx (sinh re) re) |
#s(approx (sinh re) (*.f64 (fma.f64 (*.f64 re re) #s(literal 1/6 binary64) #s(literal 1 binary64)) re)) |
#s(approx (sinh re) (*.f64 (fma.f64 (fma.f64 #s(literal 1/120 binary64) (*.f64 re re) #s(literal 1/6 binary64)) (*.f64 re re) #s(literal 1 binary64)) re)) |
#s(approx (sinh re) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/5040 binary64) (*.f64 re re) #s(literal 1/120 binary64)) (*.f64 re re) #s(literal 1/6 binary64)) (*.f64 re re) #s(literal 1 binary64)) re)) |
#s(approx (* (exp re) (cos im)) (*.f64 (cos.f64 im) (exp.f64 re))) |
#s(approx (exp re) (exp.f64 re)) |
#s(approx (* (exp re) (cos im)) (*.f64 #s(literal 1/2 binary64) (fma.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) (cos.f64 im) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (cos.f64 im))))) |
#s(approx (cosh re) (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 re)) #s(literal 1/2 binary64))) |
#s(approx (* (sinh re) (cos im)) (*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) |
#s(approx (sinh re) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64))) |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
#s(approx (* (exp re) (cos im)) (fma.f64 (*.f64 (*.f64 im im) #s(literal -1/2 binary64)) (exp.f64 re) (exp.f64 re))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 (*.f64 (*.f64 im im) #s(literal 1/24 binary64)) (exp.f64 re) (*.f64 #s(literal -1/2 binary64) (exp.f64 re))) (*.f64 im im) (exp.f64 re))) |
#s(approx (* (exp re) (cos im)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/720 binary64) (*.f64 im im)) (exp.f64 re) (*.f64 #s(literal 1/24 binary64) (exp.f64 re))) (*.f64 im im) (*.f64 #s(literal -1/2 binary64) (exp.f64 re))) (*.f64 im im) (exp.f64 re))) |
#s(approx (* (exp re) (cos im)) (*.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))))) |
#s(approx (* (exp re) (cos im)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (*.f64 #s(literal -1/4 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im)))) |
#s(approx (* (exp re) (cos im)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (*.f64 #s(literal 1/48 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im))) (*.f64 im im)))) |
#s(approx (* (exp re) (cos im)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (fma.f64 #s(literal -1/4 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (fma.f64 #s(literal 1/48 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re))) (*.f64 (*.f64 #s(literal -1/1440 binary64) (fma.f64 #s(literal 2 binary64) (cosh.f64 re) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im))) (*.f64 im im))) (*.f64 im im)))) |
#s(approx (cos im) #s(literal 1 binary64)) |
#s(approx (cos im) (fma.f64 (*.f64 im im) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (cos im) (fma.f64 (-.f64 (*.f64 (*.f64 im im) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) (*.f64 im im) #s(literal 1 binary64))) |
#s(approx (cos im) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 im im) #s(literal 1/24 binary64)) (*.f64 im im)) #s(literal 1/2 binary64)) (*.f64 im im) #s(literal 1 binary64))) |
#s(approx im im) |
#s(approx (* (sinh re) (cos im)) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64))) |
#s(approx (* (sinh re) (cos im)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 im im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64)))) |
#s(approx (* (sinh re) (cos im)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/48 binary64) (*.f64 im im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (*.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64)))) |
#s(approx (* (sinh re) (cos im)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 im im)) (*.f64 #s(literal 2 binary64) (sinh.f64 re)) (*.f64 #s(literal 1/48 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im) (*.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 re)))) (*.f64 im im) (*.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 re)) #s(literal 1/2 binary64)))) |
#s(approx (cos im) (cos.f64 im)) |
Compiled 1 941 to 328 computations (83.1% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 84 | 0 | 84 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 3 | 3 |
| Total | 84 | 5 | 89 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 74.0% | (fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
| ✓ | 100.0% | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 73.9% | #s(approx (* (exp re) (cos im)) (exp.f64 re)) |
| ✓ | 51.3% | #s(approx (* (exp re) (cos im)) (cos.f64 im)) |
| ✓ | 31.2% | #s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
Compiled 96 to 56 computations (41.7% saved)
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 #s(approx (sinh re) re) (cos.f64 im))) |
(fma.f64 (cosh.f64 re) (cos.f64 im) (*.f64 (sinh.f64 re) (cos.f64 im))) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
5 calls:
| 3.0ms | (cos.f64 im) |
| 2.0ms | re |
| 2.0ms | im |
| 2.0ms | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 2.0ms | (exp.f64 re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (cos.f64 im) |
| 100.0% | 1 | (exp.f64 re) |
| 100.0% | 1 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 100.0% | 1 | re |
| 100.0% | 1 | im |
Compiled 11 to 15 computations (-36.4% saved)
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
#s(approx (* (exp re) (cos im)) (exp.f64 re)) |
5 calls:
| 2.0ms | im |
| 2.0ms | re |
| 1.0ms | (cos.f64 im) |
| 1.0ms | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | (exp.f64 re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 79.7% | 2 | (cos.f64 im) |
| 93.9% | 3 | (exp.f64 re) |
| 93.5% | 4 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 93.9% | 3 | re |
| 80.1% | 4 | im |
Compiled 11 to 15 computations (-36.4% saved)
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) (cos.f64 im)) |
5 calls:
| 1.0ms | re |
| 1.0ms | im |
| 1.0ms | (cos.f64 im) |
| 1.0ms | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | (exp.f64 re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.3% | 1 | im |
| 51.3% | 1 | (cos.f64 im) |
| 51.3% | 1 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 51.3% | 1 | (exp.f64 re) |
| 51.3% | 1 | re |
Compiled 11 to 15 computations (-36.4% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (* (exp re) (cos im)) #s(approx (exp re) #s(literal 1 binary64))) |
5 calls:
| 2.0ms | (cos.f64 im) |
| 1.0ms | im |
| 1.0ms | re |
| 1.0ms | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | (exp.f64 re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 31.2% | 1 | im |
| 31.2% | 1 | (cos.f64 im) |
| 31.2% | 1 | (exp.f64 re) |
| 31.2% | 1 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 31.2% | 1 | re |
Compiled 11 to 15 computations (-36.4% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 3.779189206805928e-15 | 3.237893682080371e-5 |
| 11.0ms | -1.4945144987779612e-5 | -1.3713736895211596e-7 |
| 18.0ms | 272× | 0 | valid |
Compiled 280 to 282 computations (-0.7% saved)
ival-cos: 7.0ms (56.5% of total)ival-exp: 5.0ms (40.4% of total)ival-mult!: 1.0ms (8.1% of total)adjust: 0.0ms (0% of total)| 1× | done |
Compiled 55 to 19 computations (65.5% saved)
(abs im)
Compiled 230 to 118 computations (48.7% saved)
Loading profile data...