
Time bar (total: 4.3s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 25% | 25% | 75% | 0% | 0% | 0% | 0% | 3 |
| 37.5% | 37.5% | 62.5% | 0% | 0% | 0% | 0% | 4 |
| 43.8% | 43.7% | 56.2% | 0% | 0% | 0% | 0% | 5 |
| 46.9% | 46.9% | 53.1% | 0% | 0% | 0% | 0% | 6 |
| 48.4% | 48.4% | 51.5% | 0% | 0% | 0% | 0% | 7 |
| 49.2% | 49.2% | 50.8% | 0% | 0% | 0% | 0% | 8 |
| 49.6% | 49.6% | 50.4% | 0% | 0% | 0% | 0% | 9 |
| 49.8% | 49.8% | 50.2% | 0% | 0% | 0% | 0% | 10 |
| 49.9% | 49.9% | 50.1% | 0% | 0% | 0% | 0% | 11 |
| 50% | 49.9% | 50% | 0% | 0% | 0% | 0% | 12 |
Compiled 9 to 8 computations (11.1% saved)
| 734.0ms | 4 170× | 0 | valid |
| 671.0ms | 2 227× | 2 | valid |
| 295.0ms | 642× | 3 | valid |
| 257.0ms | 1 211× | 1 | valid |
| 7.0ms | 6× | 4 | valid |
ival-cos: 778.0ms (52.9% of total)adjust: 236.0ms (16% of total)ival-sin: 172.0ms (11.7% of total)ival-div: 147.0ms (10% of total)ival-sub: 125.0ms (8.5% of total)ival-true: 6.0ms (0.4% of total)exact: 5.0ms (0.3% of total)ival-assert: 3.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 76 | 1 | (-3.4018019826307054e+174) | 1 | (-6.254215438935449e+28) | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 55 | 0 | - | 3 | (1.3473390336776904e-156) | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (cos.f64 x) |
| 0 | 0 | - | 0 | - | (sin.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | cancellation | 76 | 2 |
/.f64 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) | u/n | 52 | 0 |
| ↳ | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | underflow | 52 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 127 | 0 |
| - | 1 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 127 | 0 | 0 |
| - | 1 | 2 | 126 |
| number | freq |
|---|---|
| 0 | 128 |
| 1 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 57.0ms | 148× | 2 | valid |
| 28.0ms | 266× | 0 | valid |
| 10.0ms | 28× | 3 | valid |
| 8.0ms | 70× | 1 | valid |
Compiled 45 to 22 computations (51.1% saved)
ival-cos: 53.0ms (62% of total)ival-sin: 11.0ms (12.9% of total)adjust: 10.0ms (11.7% of total)ival-div: 6.0ms (7% of total)ival-sub: 5.0ms (5.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 11 |
| 1 | 29 | 9 |
| 2 | 71 | 8 |
| 3 | 143 | 8 |
| 4 | 377 | 8 |
| 5 | 1418 | 8 |
| 0 | 6 | 7 |
| 0 | 10 | 4 |
| 1 | 24 | 4 |
| 2 | 37 | 4 |
| 3 | 60 | 4 |
| 4 | 131 | 4 |
| 5 | 606 | 4 |
| 0 | 8288 | 4 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(negabs x)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 54.2% | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
Compiled 7 to 6 computations (14.3% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sin.f64 x) | |
| cost-diff | 0 | (cos.f64 x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | |
| cost-diff | 3 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 0 | 10 | 14 |
| 1 | 24 | 14 |
| 2 | 37 | 14 |
| 3 | 60 | 14 |
| 4 | 131 | 14 |
| 5 | 606 | 14 |
| 0 | 8288 | 14 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
(sin.f64 x) |
| Outputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
(sin.f64 x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (sin.f64 x) | |
| accuracy | 0.0 | (cos.f64 x) | |
| accuracy | 12.717336334768756 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) | |
| accuracy | 16.29599443696264 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 20.0ms | 74× | 2 | valid |
| 14.0ms | 133× | 0 | valid |
| 13.0ms | 14× | 3 | valid |
| 4.0ms | 35× | 1 | valid |
Compiled 19 to 8 computations (57.9% saved)
ival-cos: 27.0ms (63.5% of total)adjust: 5.0ms (11.8% of total)ival-sin: 5.0ms (11.8% of total)ival-div: 3.0ms (7.1% of total)ival-sub: 2.0ms (4.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos.f64 x) |
(sin.f64 x) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx (sin x) #s(hole binary64 x)) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (sin x) #s(hole binary64 (sin x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) (cos x) (sin x)) |
| 1.0ms | x | @ | -inf | ((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) (cos x) (sin x)) |
| 1.0ms | x | @ | inf | ((/ (- 1 (cos x)) (sin x)) (- 1 (cos x)) (cos x) (sin x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 99 | 282 |
| 1 | 286 | 282 |
| 2 | 814 | 276 |
| 3 | 3365 | 276 |
| 4 | 7632 | 276 |
| 0 | 8021 | 252 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx (sin x) #s(hole binary64 x)) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))))) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (sin x) #s(hole binary64 (sin x))) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/40320 binary64) (*.f64 x x) #s(literal 1/720 binary64)) (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) (fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx (cos x) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (sin x) #s(hole binary64 x)) |
#s(approx (sin x) x) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* -1/6 (pow x 2)))))) |
#s(approx (sin x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))))) |
#s(approx (sin x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal -1/6 binary64)) x)) |
#s(approx (sin x) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))))) |
#s(approx (sin x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal -1/6 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (- 1 (cos x)) (-.f64 #s(literal 1 binary64) (cos.f64 x))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (cos x) (cos.f64 x)) |
#s(approx (sin x) #s(hole binary64 (sin x))) |
#s(approx (sin x) (sin.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 10 | 12 |
| 1 | 41 | 12 |
| 0 | 302 | 12 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos.f64 x) |
(sin.f64 x) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)))) (+.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal 3 binary64)) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) #s(literal 3 binary64))) (fma.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (fma.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x)))))) |
(/.f64 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)))) (neg.f64 (neg.f64 (sin.f64 x)))) |
(/.f64 (-.f64 (*.f64 #s(literal 1 binary64) (sin.f64 x)) (*.f64 (sin.f64 x) (cos.f64 x))) (*.f64 (sin.f64 x) (sin.f64 x))) |
(/.f64 (sin.f64 (/.f64 x #s(literal 2 binary64))) (cos.f64 (/.f64 x #s(literal 2 binary64)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)) (sin.f64 x))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (*.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) (sin.f64 x))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (neg.f64 (sin.f64 x))) |
(/.f64 (sin.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
(neg.f64 (/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x))) (sin.f64 x))) |
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (neg.f64 (sin.f64 x)))) |
(tan.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (PI.f64))) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(-.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) (/.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 (cos.f64 x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (cos.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)) (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(*.f64 (cos.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (cos.f64 x)) |
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 (+.f64 (neg.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)) |
(cos.f64 (neg.f64 (neg.f64 x))) |
(cos.f64 (neg.f64 x)) |
(cos.f64 x) |
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 x) |
Compiled 767 to 205 computations (73.3% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 4 | 52 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 49 | 4 | 53 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 49.6% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
| ▶ | 49.5% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ▶ | 49.8% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| ▶ | 100.0% | #s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
Compiled 60 to 45 computations (25% saved)
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) | |
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 131 |
| 0 | 32 | 119 |
| 1 | 66 | 119 |
| 2 | 171 | 119 |
| 3 | 572 | 119 |
| 4 | 1746 | 119 |
| 5 | 3325 | 119 |
| 0 | 8631 | 119 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/24 binary64) |
#s(literal 1/2 binary64) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
#s(literal 1/240 binary64) |
(*.f64 x x) |
x |
#s(literal 1/24 binary64) |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/24 binary64) |
#s(literal 1/2 binary64) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
#s(literal 1/240 binary64) |
(*.f64 x x) |
x |
#s(literal 1/24 binary64) |
#s(literal 1/2 binary64) |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0234375 | (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) | |
| accuracy | 0.05859375 | (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) | |
| accuracy | 0.49727706006807415 | (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) | |
| accuracy | 32.254915243515065 | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.06640625 | (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) | |
| accuracy | 0.33266851464986186 | (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) | |
| accuracy | 32.29269146645893 | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) | |
| accuracy | 0.0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 32.15725910023745 | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) | |
| accuracy | 0.0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0.0 | (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) | |
| accuracy | 0.0 | #s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
| 45.0ms | 73× | 2 | valid |
| 31.0ms | 133× | 0 | valid |
| 17.0ms | 36× | 1 | valid |
| 10.0ms | 14× | 3 | valid |
Compiled 108 to 22 computations (79.6% saved)
ival-cos: 24.0ms (28.4% of total)adjust: 14.0ms (16.5% of total)const: 13.0ms (15.4% of total)ival-mult: 13.0ms (15.4% of total)ival-tan: 5.0ms (5.9% of total)ival-add: 5.0ms (5.9% of total)ival-sin: 5.0ms (5.9% of total)ival-div: 3.0ms (3.5% of total)ival-sub: 3.0ms (3.5% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(*.f64 x x) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/240 (pow x 5)))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* 1/240 (pow x 4)))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((/ (- 1 (cos x)) (sin x)) (tan (* 1/2 x)) (* 1/2 x) (/ (- 1 (cos x)) (sin x)) (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) (/ (- 1 (cos x)) (sin x)) (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (+ (* 1/240 (* x x)) 1/24)) |
| 2.0ms | x | @ | -inf | ((/ (- 1 (cos x)) (sin x)) (tan (* 1/2 x)) (* 1/2 x) (/ (- 1 (cos x)) (sin x)) (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) (/ (- 1 (cos x)) (sin x)) (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (+ (* 1/240 (* x x)) 1/24)) |
| 2.0ms | x | @ | 0 | ((/ (- 1 (cos x)) (sin x)) (tan (* 1/2 x)) (* 1/2 x) (/ (- 1 (cos x)) (sin x)) (/ (- 1 (cos x)) (sin x)) (* (+ (* (* x x) 1/24) 1/2) x) (+ (* (* x x) 1/24) 1/2) (* x x) (/ (- 1 (cos x)) (sin x)) (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (+ (* 1/240 (* x x)) 1/24)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 108 | 672 |
| 1 | 300 | 672 |
| 2 | 977 | 671 |
| 3 | 5026 | 671 |
| 0 | 8189 | 609 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/240 (pow x 5)))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* 1/240 (pow x 4)))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))))) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (tan (* 1/2 x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (tan (* 1/2 x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (tan (* 1/2 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (tan (* 1/2 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(literal 1/2 binary64)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* 1/24 (pow x 2))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(literal 1/24 binary64)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
#s(approx (tan (* 1/2 x)) #s(hole binary64 (/ (sin (* 1/2 x)) (cos (* 1/2 x))))) |
#s(approx (tan (* 1/2 x)) (/.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x)) (cos.f64 (*.f64 #s(literal -1/2 binary64) x)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* 1/24 (pow x 3)))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) #s(hole binary64 (* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (* x x) 1/24) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (+ (* (* x x) 1/24) 1/2) (*.f64 (*.f64 x x) #s(literal 1/24 binary64))) |
#s(approx (+ (* (* x x) 1/24) 1/2) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* x x) 1/24) 1/2) (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* 1/240 (pow x 5)))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/240 binary64))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)) (pow.f64 x #s(literal 5 binary64)))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/240 binary64)) (/.f64 #s(literal -1/24 binary64) (*.f64 x x))) (pow.f64 x #s(literal 5 binary64)))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* 1/240 (pow x 4)))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/240 binary64))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) #s(hole binary64 (* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) (*.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/240 binary64)) (/.f64 #s(literal -1/24 binary64) (*.f64 x x))) (pow.f64 x #s(literal 4 binary64)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) (*.f64 #s(literal 1/240 binary64) (*.f64 x x))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))))) |
#s(approx (* (+ (* (+ (* 1/240 (* x x)) 1/24) (* x x)) 1/2) x) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) x) x) #s(literal 1/240 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 114 |
| 0 | 32 | 102 |
| 1 | 125 | 102 |
| 0 | 912 | 102 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(*.f64 x x) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(/.f64 (neg.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x))) (neg.f64 (cos.f64 (*.f64 #s(literal 1/2 binary64) x)))) |
(/.f64 (+.f64 (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) (tan.f64 (PI.f64))) (-.f64 #s(literal 1 binary64) (*.f64 (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) (tan.f64 (PI.f64))))) |
(/.f64 (sin.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64))) (cos.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64)))) |
(/.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x)) (cos.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(tan.f64 (+.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64)) (PI.f64))) |
(tan.f64 (fma.f64 #s(literal 1/2 binary64) x (PI.f64))) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(*.f64 x (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) x) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 x (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x)))) |
(fma.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x)))) |
(+.f64 (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x))) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x (*.f64 #s(literal 1/24 binary64) (*.f64 x x)))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) x) x #s(literal 1/2 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(fma.f64 x (*.f64 #s(literal 1/24 binary64) x) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/24 binary64))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 1/24 binary64) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))) |
(+.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (*.f64 x x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(*.f64 x (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) x) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) x) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 x (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x))) |
(fma.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x))) |
(+.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) (*.f64 #s(literal 1/2 binary64) x))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (neg.f64 x)) (neg.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) #s(literal 1/2 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) #s(literal 1/2 binary64)) |
(fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 x x) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 x (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x)) x)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64))) (*.f64 x x))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 x x)) (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) (pow.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x)) |
(/.f64 (-.f64 #s(literal 1/576 binary64) (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 #s(literal 1/24 binary64) (*.f64 #s(literal 1/240 binary64) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64))) |
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (+.f64 #s(literal 1/576 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))) |
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/240 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 #s(literal 1/240 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) |
(fma.f64 x (*.f64 #s(literal 1/240 binary64) x) #s(literal 1/24 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64))) (/.f64 #s(literal 1/576 binary64) (-.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64)))) |
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 #s(literal 1/240 binary64) x)) x)) |
(-.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/240 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/240 binary64))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) (/.f64 #s(literal 1/13824 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))) |
(+.f64 (*.f64 #s(literal 1/240 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) |
(+.f64 #s(literal 1/24 binary64) (*.f64 #s(literal 1/240 binary64) (*.f64 x x))) |
Compiled 4 624 to 715 computations (84.5% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 186 | 1 | 187 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 186 | 5 | 191 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 49.6% | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 49.6% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
| ✓ | 49.5% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ✓ | 49.8% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| ✓ | 100.0% | #s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
Compiled 83 to 61 computations (26.5% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) | |
| cost-diff | 0 | (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) | |
| cost-diff | 0 | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) | |
| cost-diff | 2 | (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 72 |
| 0 | 24 | 67 |
| 1 | 58 | 67 |
| 2 | 144 | 67 |
| 3 | 454 | 67 |
| 4 | 1347 | 67 |
| 5 | 3192 | 67 |
| 0 | 8568 | 65 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
#s(literal 1/240 binary64) |
(*.f64 x x) |
x |
#s(literal 1/24 binary64) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x)) |
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x) |
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) |
#s(literal 1/240 binary64) |
(*.f64 x x) |
x |
#s(literal 1/24 binary64) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.08203125 | (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) | |
| accuracy | 0.2109375 | (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) | |
| accuracy | 0.49727706006807415 | (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) | |
| accuracy | 32.254915243515065 | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
| 34.0ms | 73× | 2 | valid |
| 24.0ms | 133× | 0 | valid |
| 14.0ms | 14× | 3 | valid |
| 9.0ms | 36× | 1 | valid |
Compiled 63 to 19 computations (69.8% saved)
ival-cos: 21.0ms (30.7% of total)adjust: 10.0ms (14.6% of total)ival-mult: 10.0ms (14.6% of total)const: 8.0ms (11.7% of total)ival-div: 7.0ms (10.2% of total)ival-sin: 5.0ms (7.3% of total)ival-sub: 3.0ms (4.4% of total)ival-add: 3.0ms (4.4% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
| Outputs |
|---|
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/24 x))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* x (+ 1/24 (* 1/240 (pow x 2)))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/240 (pow x 5)))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/240 (pow x 4)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/240 (pow x 3)))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* (pow x 3) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (* (+ (* 1/240 (* x x)) 1/24) x) (+ (* 1/240 (* x x)) 1/24)) |
| 1.0ms | x | @ | -inf | ((+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (* (+ (* 1/240 (* x x)) 1/24) x) (+ (* 1/240 (* x x)) 1/24)) |
| 1.0ms | x | @ | 0 | ((+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (* (+ (* 1/240 (* x x)) 1/24) x) (+ (* 1/240 (* x x)) 1/24)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 89 | 466 |
| 1 | 265 | 466 |
| 2 | 885 | 465 |
| 3 | 4548 | 465 |
| 0 | 8261 | 425 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/24 x))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* x (+ 1/24 (* 1/240 (pow x 2)))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/240 (pow x 5)))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/240 (pow x 4)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/240 (pow x 3)))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* (pow x 3) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))))) |
| Outputs |
|---|
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* 1/2 x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* 1/24 (pow x 2)))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 17/40320 binary64) (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/24 (pow x 2)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (*.f64 x x) #s(literal 1/24 binary64))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64)))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/24 x))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (*.f64 #s(literal 1/24 binary64) x)) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* x (+ 1/24 (* 1/240 (pow x 2)))))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/240 binary64) (*.f64 #s(literal 1/24 binary64) x))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 1/24)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(literal 1/24 binary64)) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (+ 1/24 (* 1/240 (pow x 2))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* 1/240 (pow x 5)))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/240 binary64))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)) (pow.f64 x #s(literal 5 binary64)))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/240 binary64)) (/.f64 (/.f64 #s(literal -1/24 binary64) x) x)) (pow.f64 x #s(literal 5 binary64)))) |
#s(approx (/ (- 1 (cos x)) (sin x)) #s(hole binary64 (/ (- 1 (cos x)) (sin x)))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* 1/240 (pow x 4)))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/240 binary64))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) #s(hole binary64 (* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (* (+ (* 1/240 (* x x)) 1/24) x) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* 1/240 (pow x 3)))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/240 binary64))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) #s(hole binary64 (* (pow x 3) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (* (+ (* 1/240 (* x x)) 1/24) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/240 binary64) (*.f64 #s(literal 1/24 binary64) x))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* 1/240 (pow x 2)))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) (*.f64 (*.f64 x x) #s(literal 1/240 binary64))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) #s(hole binary64 (* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))))) |
#s(approx (+ (* 1/240 (* x x)) 1/24) (fma.f64 (*.f64 #s(literal 1/240 binary64) x) x #s(literal 1/24 binary64))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) #s(hole binary64 (* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))))) |
#s(approx (+ (* (* (* (+ (* 1/240 (* x x)) 1/24) x) x) x) (* 1/2 x)) (*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) x) x) #s(literal 1/240 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 62 |
| 0 | 24 | 57 |
| 1 | 102 | 57 |
| 0 | 760 | 55 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
(*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
| Outputs |
|---|
(*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x) |
(*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal -1/2 binary64))) |
(*.f64 x (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal -1/2 binary64) x))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (neg.f64 (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))) |
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 1/2 binary64)) x)))) |
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (fabs.f64 x)) (fabs.f64 x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (neg.f64 x)) (neg.f64 x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) |
(fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (*.f64 x x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (*.f64 x (*.f64 x x)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 x x) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) |
(fma.f64 x (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) (*.f64 #s(literal 1/2 binary64) x)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)) (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x (-.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64))))) |
(-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal -1/2 binary64) x)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x)) x)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x)) (*.f64 x x))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) (pow.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x #s(literal 1/2 binary64)) x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) x) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64))) |
(*.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x)) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (*.f64 x x)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) x) |
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) x) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) x) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64))) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))) |
(/.f64 (*.f64 x (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x (*.f64 #s(literal 1/24 binary64) x)) |
(fma.f64 #s(literal 1/24 binary64) x (*.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x)) |
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) (*.f64 x #s(literal 1/24 binary64))) |
(fma.f64 x #s(literal 1/24 binary64) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64)))) |
(+.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x) (*.f64 #s(literal 1/24 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/24 binary64) x) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) x)) |
(+.f64 (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64))) (*.f64 x #s(literal 1/24 binary64))) |
(+.f64 (*.f64 x #s(literal 1/24 binary64)) (*.f64 x (*.f64 (*.f64 x x) #s(literal 1/240 binary64)))) |
(/.f64 (-.f64 #s(literal 1/576 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1/24 binary64) (*.f64 (*.f64 x x) #s(literal 1/240 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64))) (neg.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))) |
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (+.f64 #s(literal 1/576 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))) |
(/.f64 (fma.f64 #s(literal 1/13824000 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/13824 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/240 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 #s(literal 1/240 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 x #s(literal 1/240 binary64)) x #s(literal 1/24 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1/240 binary64) #s(literal 1/24 binary64)) |
(fma.f64 x (*.f64 x #s(literal 1/240 binary64)) #s(literal 1/24 binary64)) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64))) (/.f64 #s(literal 1/576 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)))) |
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 x #s(literal 1/240 binary64))) x)) |
(-.f64 #s(literal 1/24 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 1/240 binary64))) |
(-.f64 #s(literal 1/24 binary64) (*.f64 #s(literal -1/240 binary64) (*.f64 x x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64)))) (/.f64 #s(literal 1/13824 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 2 binary64)) #s(literal 1/576 binary64)) (*.f64 (*.f64 x x) #s(literal 1/5760 binary64))))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/240 binary64)) #s(literal 1/24 binary64)) |
(+.f64 #s(literal 1/24 binary64) (*.f64 (*.f64 x x) #s(literal 1/240 binary64))) |
Compiled 2 947 to 453 computations (84.6% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 95 | 0 | 95 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 95 | 5 | 100 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.6% | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 49.6% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
| ✓ | 49.5% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ✓ | 49.8% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| ✓ | 100.0% | #s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
Compiled 173 to 91 computations (47.4% saved)
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 100.0% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
Total -0.4b remaining (-1.2%)
Threshold costs -0.4b (-1.2%)
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) x (*.f64 #s(literal 1/2 binary64) x))) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.8% | 1 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 49.8% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 17 |
| 1 | 25 | 17 |
| 2 | 38 | 17 |
| 3 | 66 | 17 |
| 4 | 140 | 17 |
| 5 | 685 | 17 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 #s(literal 1/2 binary64) x)) |
| 1× | done |
Compiled 23 to 11 computations (52.2% saved)
(negabs x)
Compiled 92 to 62 computations (32.6% saved)
Loading profile data...