
Time bar (total: 4.5s)
| 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)
| 755.0ms | 4 079× | 0 | valid |
| 742.0ms | 2 239× | 2 | valid |
| 283.0ms | 639× | 3 | valid |
| 133.0ms | 1 291× | 1 | valid |
| 9.0ms | 8× | 4 | valid |
ival-cos: 827.0ms (58.8% of total)ival-sin: 170.0ms (12.1% of total)adjust: 163.0ms (11.6% of total)ival-div: 131.0ms (9.3% of total)ival-sub: 103.0ms (7.3% of total)ival-true: 6.0ms (0.4% of total)exact: 5.0ms (0.4% of total)ival-assert: 3.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 69 | 0 | - | 2 | (-4.96137220901543e-158) | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 66 | 2 | (-5.0567083467005955e+34) | 4 | (-5.318795442965001e+20) | (-.f64 #s(literal 1 binary64) (cos.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 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) | u/n | 67 | 0 |
| ↳ | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | underflow | 67 | |
-.f64 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | cancellation | 64 | 6 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 129 | 4 |
| - | 2 | 121 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 129 | 4 | 0 |
| - | 2 | 2 | 119 |
| number | freq |
|---|---|
| 0 | 125 |
| 1 | 131 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 49.0ms | 260× | 0 | valid |
| 39.0ms | 144× | 2 | valid |
| 14.0ms | 38× | 3 | valid |
| 8.0ms | 68× | 1 | valid |
| 2.0ms | 2× | 4 | valid |
Compiled 45 to 22 computations (51.1% saved)
ival-cos: 40.0ms (41.9% of total)ival-sin: 34.0ms (35.6% of total)adjust: 10.0ms (10.5% of total)ival-div: 6.0ms (6.3% of total)ival-sub: 5.0ms (5.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
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 |
|---|---|---|
| ▶ | 53.2% | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
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 | 13.803312627542693 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | |
| accuracy | 16.009243449437275 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 20.0ms | 72× | 2 | valid |
| 15.0ms | 130× | 0 | valid |
| 7.0ms | 19× | 3 | valid |
| 4.0ms | 34× | 1 | valid |
| 1.0ms | 1× | 4 | valid |
Compiled 19 to 8 computations (57.9% saved)
ival-cos: 20.0ms (53.2% of total)adjust: 5.0ms (13.3% of total)ival-sin: 5.0ms (13.3% of total)ival-sub: 4.0ms (10.6% of total)ival-div: 3.0ms (8% 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 |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
x |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) |
(/ (- 1 (cos x)) (sin x)) |
(- 1 (cos x)) |
(cos x) |
(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)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 79 | 202 |
| 1 | 266 | 202 |
| 2 | 794 | 196 |
| 3 | 3337 | 196 |
| 4 | 7629 | 196 |
| 0 | 8018 | 172 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
x |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) |
(/ (- 1 (cos x)) (sin x)) |
(- 1 (cos x)) |
(cos x) |
(sin x) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(*.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) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(*.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) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) |
(*.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) |
(* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) |
(*.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) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1/2 (pow x 2))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(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)) |
x |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) |
(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) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) |
(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) |
(/ (- 1 (cos x)) (sin x)) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(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 758 to 203 computations (73.2% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 47 | 4 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 48 | 4 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 50.3% | #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)) |
| ▶ | 50.3% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ▶ | 50.6% | #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)
| 1× | egg-herbie |
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.0390625 | (*.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.0546875 | (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.08984375 | (fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) | |
| accuracy | 31.8307886516406 | #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.0546875 | (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) | |
| accuracy | 0.09375 | (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) | |
| accuracy | 31.771273876670886 | #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 | 31.62170011041214 | #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 | #s(approx (/ (- 1 (cos x)) (sin x)) (tan.f64 (*.f64 #s(literal 1/2 binary64) x))) | |
| accuracy | 0.00390625 | (tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
| 41.0ms | 72× | 2 | valid |
| 32.0ms | 130× | 0 | valid |
| 14.0ms | 34× | 1 | valid |
| 13.0ms | 19× | 3 | valid |
| 2.0ms | 1× | 4 | valid |
Compiled 108 to 22 computations (79.6% saved)
ival-cos: 21.0ms (26.1% of total)adjust: 15.0ms (18.7% of total)ival-mult: 12.0ms (14.9% of total)const: 10.0ms (12.4% of total)ival-sin: 7.0ms (8.7% of total)ival-tan: 5.0ms (6.2% of total)ival-add: 5.0ms (6.2% of total)ival-div: 3.0ms (3.7% of total)ival-sub: 3.0ms (3.7% 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 |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
1/2 |
(+ 1/2 (* 1/24 (pow x 2))) |
(pow x 2) |
(+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))) |
1/24 |
(+ 1/24 (* 1/240 (pow x 2))) |
(/ (- 1 (cos x)) (sin x)) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(* 1/24 (pow x 3)) |
(* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(* 1/24 (pow x 2)) |
(* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(* 1/240 (pow x 5)) |
(* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(* 1/240 (pow x 4)) |
(* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(* 1/240 (pow x 2)) |
(* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(* -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)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 216 |
| 1 | 223 | 216 |
| 2 | 719 | 215 |
| 3 | 3055 | 215 |
| 0 | 8245 | 202 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
1/2 |
(+ 1/2 (* 1/24 (pow x 2))) |
(pow x 2) |
(+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2))))) |
1/24 |
(+ 1/24 (* 1/240 (pow x 2))) |
(/ (- 1 (cos x)) (sin x)) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(* 1/24 (pow x 3)) |
(* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(* 1/24 (pow x 2)) |
(* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(* 1/240 (pow x 5)) |
(* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(* 1/240 (pow x 4)) |
(* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(* 1/240 (pow x 2)) |
(* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(*.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) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(*.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) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* 1/24 (pow x 2))) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 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)) |
1/24 |
#s(literal 1/24 binary64) |
(+ 1/24 (* 1/240 (pow x 2))) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(/ (- 1 (cos x)) (sin x)) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 #s(literal 1/2 binary64) x)) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(* 1/24 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) |
(* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(* 1/24 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/24 binary64)) |
(* (pow x 2) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) |
(* 1/240 (pow x 5)) |
(*.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/240 binary64)) |
(* (pow x 5) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(*.f64 (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64)) (pow.f64 x #s(literal 5 binary64))) |
(* (pow x 5) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 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 5 binary64))) |
(* 1/240 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/240 binary64)) |
(* (pow x 4) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/240 binary64))) |
(* (pow x 4) (+ 1/240 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 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))) |
(* 1/240 (pow x 2)) |
(*.f64 #s(literal 1/240 binary64) (*.f64 x x)) |
(* (pow x 2) (+ 1/240 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/240 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 1/24 (* 1/2 (/ 1 (pow x 2)))) (pow x 2))) 1/240))) |
(*.f64 (neg.f64 (pow.f64 x #s(literal 5 binary64))) (+.f64 (/.f64 #s(literal -1/24 binary64) (*.f64 x x)) (-.f64 (/.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal 4 binary64))) #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 327 to 687 computations (84.1% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 174 | 1 | 175 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 174 | 5 | 179 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 50.4% | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 50.3% | #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)) |
| ✓ | 50.3% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ✓ | 50.6% | #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 78 to 58 computations (25.6% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) | |
| cost-diff | 2 | (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 42 |
| 0 | 18 | 37 |
| 1 | 49 | 37 |
| 2 | 114 | 37 |
| 3 | 304 | 37 |
| 4 | 617 | 37 |
| 5 | 1207 | 37 |
| 0 | 8512 | 35 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/24 binary64) (*.f64 x x)) |
#s(literal 1/24 binary64) |
(*.f64 x x) |
x |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) 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)) |
(fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(*.f64 #s(literal 1/24 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 1/24 binary64)) |
#s(literal 1/24 binary64) |
(*.f64 x x) |
x |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0.05078125 | (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) | |
| accuracy | 0.1796875 | (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) | |
| accuracy | 31.771273876670886 | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) |
| 63.0ms | 72× | 2 | valid |
| 33.0ms | 34× | 1 | valid |
| 20.0ms | 130× | 0 | valid |
| 9.0ms | 19× | 3 | valid |
| 1.0ms | 1× | 4 | valid |
Compiled 34 to 15 computations (55.9% saved)
ival-cos: 48.0ms (61.5% of total)adjust: 8.0ms (10.3% of total)ival-mult: 6.0ms (7.7% of total)ival-sin: 5.0ms (6.4% of total)ival-div: 3.0ms (3.8% of total)ival-sub: 3.0ms (3.8% of total)const: 3.0ms (3.8% of total)ival-add: 1.0ms (1.3% 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 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) |
(*.f64 #s(literal 1/24 binary64) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 #s(literal 1/2 binary64) x) |
| Outputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(* 1/24 (pow x 2)) |
(pow x 2) |
(* 1/24 (pow x 3)) |
(* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(/ (- 1 (cos x)) (sin x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((+ (* (* 1/24 (* x x)) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* 1/24 (* x x)) (* x x) (* 1/2 x)) |
| 1.0ms | x | @ | inf | ((+ (* (* 1/24 (* x x)) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* 1/24 (* x x)) (* x x) (* 1/2 x)) |
| 1.0ms | x | @ | 0 | ((+ (* (* 1/24 (* x x)) x) (* 1/2 x)) (/ (- 1 (cos x)) (sin x)) (* 1/24 (* x x)) (* x x) (* 1/2 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 74 |
| 1 | 132 | 74 |
| 2 | 424 | 74 |
| 3 | 1749 | 74 |
| 4 | 6265 | 74 |
| 0 | 8228 | 67 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(* 1/24 (pow x 2)) |
(pow x 2) |
(* 1/24 (pow x 3)) |
(* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(/ (- 1 (cos x)) (sin x)) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) |
(*.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) |
(* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) |
(*.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) |
(* 1/24 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/24 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* 1/24 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) |
(* (pow x 3) (+ 1/24 (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(/ (- 1 (cos x)) (sin x)) |
(tan.f64 (*.f64 #s(literal 1/2 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 39 |
| 0 | 18 | 34 |
| 1 | 79 | 34 |
| 0 | 581 | 32 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) |
(*.f64 #s(literal 1/24 binary64) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 #s(literal 1/2 binary64) x) |
| Outputs |
|---|
(*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x) |
(*.f64 x (-.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) #s(literal -1/2 binary64))) |
(*.f64 x (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)))) |
(/.f64 (-.f64 (*.f64 #s(literal 1/13824 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64))) (pow.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 #s(literal -1/2 binary64) x))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (neg.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/13824 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal 1/2 binary64) 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 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64) (*.f64 #s(literal -1/2 binary64) x))) |
(/.f64 (fma.f64 #s(literal 1/13824 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x))))) |
(/.f64 (fma.f64 #s(literal 1/13824 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (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 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 x #s(literal 1/24 binary64)) (*.f64 x x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) x (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 x x) (*.f64 x #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
(fma.f64 x (*.f64 (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/24 binary64) (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64) (*.f64 #s(literal -1/2 binary64) x))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64) (*.f64 #s(literal -1/2 binary64) x)))) |
(-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) |
(-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 #s(literal -1/2 binary64) x)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 (*.f64 (*.f64 x x) #s(literal 1/24 binary64))) x)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal 1/24 binary64)))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 3 binary64)))) |
(+.f64 (/.f64 (*.f64 #s(literal 1/13824 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #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 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/24 binary64))) |
#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 (*.f64 #s(literal 1/24 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1/24 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 x #s(literal 1/24 binary64)) x) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/24 binary64))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/24 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/24 binary64)) |
(*.f64 x (*.f64 x #s(literal 1/24 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))) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
Compiled 1 343 to 233 computations (82.7% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 60 | 0 | 60 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 60 | 5 | 65 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.4% | #s(approx (/ (- 1 (cos x)) (sin x)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 50.3% | #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)) |
| ✓ | 50.3% | #s(approx (/ (- 1 (cos x)) (sin x)) (*.f64 (fma.f64 (*.f64 x x) #s(literal 1/24 binary64) #s(literal 1/2 binary64)) x)) |
| ✓ | 50.6% | #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 163 to 87 computations (46.6% 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)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #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)) (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:
| 49.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.3b remaining (-1.1%)
Threshold costs -0.3b (-1.1%)
| 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)) (fma.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x (*.f64 #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)) |
| 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 |
|---|---|---|
| 50.6% | 1 | (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x)) |
| 50.6% | 1 | x |
Compiled 8 to 7 computations (12.5% saved)
| 1× | egg-herbie |
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)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 79 | 202 |
| 1 | 266 | 202 |
| 2 | 794 | 196 |
| 3 | 3337 | 196 |
| 4 | 7629 | 196 |
| 0 | 8018 | 172 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 23 to 11 computations (52.2% saved)
(negabs x)
Compiled 92 to 62 computations (32.6% saved)
Loading profile data...