
Time bar (total: 9.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 0 |
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 1 |
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 2 |
| 50% | 24.8% | 24.8% | 50.4% | 0% | 0% | 0% | 3 |
| 75% | 37.2% | 12.4% | 50.4% | 0% | 0% | 0% | 4 |
| 87.5% | 43.4% | 6.2% | 50.4% | 0% | 0% | 0% | 5 |
| 93.8% | 46.5% | 3.1% | 50.4% | 0% | 0% | 0% | 6 |
| 96.9% | 48.1% | 1.6% | 50.4% | 0% | 0% | 0% | 7 |
| 98.4% | 48.8% | 0.8% | 50.4% | 0% | 0% | 0% | 8 |
| 99.2% | 49.2% | 0.4% | 50.4% | 0% | 0% | 0% | 9 |
| 99.6% | 49.4% | 0.2% | 50.4% | 0% | 0% | 0% | 10 |
| 99.8% | 49.5% | 0.1% | 50.4% | 0% | 0% | 0% | 11 |
| 99.9% | 49.6% | 0% | 50.4% | 0% | 0% | 0% | 12 |
Compiled 12 to 10 computations (16.7% saved)
| 2.2s | 5 724× | 2 | valid |
| 402.0ms | 2 447× | 1 | valid |
| 11.0ms | 85× | 0 | valid |
ival-cos: 1.3s (62.1% of total)const: 259.0ms (12.5% of total)adjust: 247.0ms (12% of total)ival-sub: 158.0ms (7.7% of total)ival-<=: 97.0ms (4.7% of total)ival-and: 12.0ms (0.6% of total)exact: 5.0ms (0.2% of total)ival-assert: 4.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 131 | 1 | (-1.1181352526505912e-161) | 0 | - | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (cos.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | cancellation | 132 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 131 | 0 |
| - | 1 | 124 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 131 | 0 | 0 |
| - | 1 | 0 | 124 |
| number | freq |
|---|---|
| 0 | 124 |
| 1 | 132 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 89.0ms | 348× | 2 | valid |
| 13.0ms | 160× | 1 | valid |
| 0.0ms | 4× | 0 | valid |
Compiled 32 to 20 computations (37.5% saved)
ival-cos: 53.0ms (74.5% of total)adjust: 10.0ms (14.1% of total)ival-sub: 7.0ms (9.8% 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 | 6 | 9 |
| 1 | 16 | 8 |
| 2 | 35 | 8 |
| 3 | 55 | 8 |
| 4 | 87 | 8 |
| 5 | 101 | 8 |
| 6 | 107 | 8 |
| 0 | 4 | 4 |
| 0 | 6 | 4 |
| 1 | 10 | 4 |
| 2 | 14 | 4 |
| 3 | 19 | 4 |
| 4 | 25 | 4 |
| 5 | 33 | 4 |
| 6 | 43 | 4 |
| 7 | 54 | 4 |
| 8 | 57 | 4 |
| 0 | 57 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(abs x)
Compiled 4 to 4 computations (0% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.9% | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
Compiled 4 to 4 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (cos.f64 x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 10 | 8 |
| 2 | 14 | 8 |
| 3 | 19 | 8 |
| 4 | 25 | 8 |
| 5 | 33 | 8 |
| 6 | 43 | 8 |
| 7 | 54 | 8 |
| 8 | 57 | 8 |
| 0 | 57 | 8 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (cos.f64 x) | |
| accuracy | 30.114186590105078 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 72.0ms | 174× | 2 | valid |
| 7.0ms | 80× | 1 | valid |
| 0.0ms | 2× | 0 | valid |
Compiled 18 to 10 computations (44.4% saved)
ival-cos: 60.0ms (87.2% of total)adjust: 5.0ms (7.3% of total)ival-sub: 4.0ms (5.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ()) |
#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (cos.f64 x)) (patch (-.f64 #s(literal 1 binary64) (cos.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt (cos.f64 x) (patch (cos.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | ((- 1 (cos x)) (cos x)) |
| 0.0ms | x | @ | inf | ((- 1 (cos x)) (cos x)) |
| 0.0ms | x | @ | -inf | ((- 1 (cos x)) (cos x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 144 |
| 1 | 101 | 144 |
| 2 | 246 | 144 |
| 3 | 588 | 144 |
| 4 | 1237 | 144 |
| 5 | 1916 | 144 |
| 6 | 2187 | 144 |
| 7 | 2836 | 144 |
| 8 | 4071 | 144 |
| 9 | 5644 | 144 |
| 10 | 6543 | 144 |
| 11 | 6823 | 144 |
| 12 | 6862 | 144 |
| 13 | 6862 | 144 |
| 14 | 7274 | 144 |
| 15 | 7556 | 144 |
| 16 | 7597 | 144 |
| 17 | 7599 | 144 |
| 18 | 7599 | 144 |
| 19 | 7599 | 144 |
| 20 | 7599 | 144 |
| 21 | 7609 | 144 |
| 22 | 7609 | 144 |
| 23 | 7609 | 144 |
| 0 | 8514 | 132 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 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))) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
| Outputs |
|---|
(* 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 #s(literal 1/24 binary64) (*.f64 x x) #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 (pow.f64 x #s(literal 6 binary64)) #s(literal -1/720 binary64) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 6 |
| 0 | 6 | 6 |
| 1 | 23 | 6 |
| 2 | 142 | 6 |
| 3 | 1153 | 6 |
| 0 | 9240 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos.f64 x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 9 533 to 916 computations (90.4% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 333 | 5 | 338 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 334 | 5 | 339 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.9% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
| ▶ | 52.1% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ▶ | 100.0% | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
| ▶ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
| ▶ | 99.6% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
Compiled 74 to 60 computations (18.9% saved)
| 1× | egg-herbie |
Found 17 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (cos x) #s(literal 1 binary64)) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (/.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (tan.f64 (/.f64 x #s(literal 2 binary64))) | |
| cost-diff | 0 | (sin.f64 x) | |
| cost-diff | 0 | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 126 |
| 0 | 38 | 126 |
| 1 | 61 | 126 |
| 2 | 89 | 126 |
| 3 | 126 | 126 |
| 4 | 153 | 126 |
| 5 | 176 | 126 |
| 6 | 198 | 126 |
| 7 | 221 | 126 |
| 8 | 226 | 126 |
| 0 | 226 | 126 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
(sin.f64 x) |
x |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(literal 1 binary64) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
#s(literal 1 binary64) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
#s(literal -1/2 binary64) |
(*.f64 x x) |
x |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
#s(literal -1/24 binary64) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
(*.f64 (tan.f64 (/.f64 x #s(literal 2 binary64))) (sin.f64 x)) |
(sin.f64 x) |
x |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(literal 1 binary64) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
#s(literal 1 binary64) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
#s(literal -1/2 binary64) |
(*.f64 x x) |
x |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
#s(literal -1/24 binary64) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
Found 17 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) | |
| accuracy | 0.00390625 | (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) | |
| accuracy | 0 | (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) | |
| accuracy | 30.114186590105078 | (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) | |
| accuracy | 0.28173897622938354 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) | |
| accuracy | 0.32903163143851444 | #s(approx (cos x) #s(literal 1 binary64)) | |
| accuracy | 30.114186590105078 | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) | |
| accuracy | 0 | (/.f64 x #s(literal 2 binary64)) | |
| accuracy | 0 | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) | |
| accuracy | 0 | (tan.f64 (/.f64 x #s(literal 2 binary64))) | |
| accuracy | 0 | (sin.f64 x) |
| 124.0ms | 174× | 2 | valid |
| 41.0ms | 80× | 1 | valid |
| 0.0ms | 2× | 0 | valid |
Compiled 207 to 44 computations (78.7% saved)
ival-mult: 53.0ms (38.1% of total)ival-cos: 46.0ms (33.1% of total)adjust: 21.0ms (15.1% of total)ival-sub: 4.0ms (2.9% of total)ival-tan: 4.0ms (2.9% of total)const: 4.0ms (2.9% of total)ival-div: 2.0ms (1.4% of total)ival-add: 2.0ms (1.4% of total)ival-sin: 2.0ms (1.4% of total)exact: 1.0ms (0.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ()) |
#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ()) |
#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ()) |
#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ()) |
#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/6 (pow x 2)))) (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) (taylor 0 x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/24 (pow x 2)))) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/240 (pow x 2)))))) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* (pow x 2) (+ 1/24 (* (pow x 2) (+ 1/240 (* 17/40320 (pow x 2)))))))) (taylor 0 x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt 1/2 (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 3)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) (patch (*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sin x) (taylor -inf x) (#s(alt (sin.f64 x) (patch (sin.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (sin (* 1/2 x)) (cos (* 1/2 x))) (taylor -inf x) (#s(alt (tan.f64 (/.f64 x #s(literal 2 binary64))) (patch (tan.f64 (/.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 2 binary64)) (patch (/.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) (patch (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 3)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 9.0ms | x | @ | inf | ((* (sin x) (tan (/ x 2))) (sin x) (tan (/ x 2)) (/ x 2) (- 1 (cos x)) (cos x) (- 1 (cos x)) (* (* x x) 1/2) (* x x) (- 1 (cos x)) (cos x) (+ (* -1/2 (* x x)) 1) (- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2)) |
| 2.0ms | x | @ | -inf | ((* (sin x) (tan (/ x 2))) (sin x) (tan (/ x 2)) (/ x 2) (- 1 (cos x)) (cos x) (- 1 (cos x)) (* (* x x) 1/2) (* x x) (- 1 (cos x)) (cos x) (+ (* -1/2 (* x x)) 1) (- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2)) |
| 2.0ms | x | @ | 0 | ((* (sin x) (tan (/ x 2))) (sin x) (tan (/ x 2)) (/ x 2) (- 1 (cos x)) (cos x) (- 1 (cos x)) (* (* x x) 1/2) (* x x) (- 1 (cos x)) (cos x) (+ (* -1/2 (* x x)) 1) (- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 102 | 1286 |
| 1 | 272 | 1280 |
| 2 | 689 | 1280 |
| 3 | 2133 | 1280 |
| 4 | 4257 | 1280 |
| 5 | 6593 | 1280 |
| 0 | 8559 | 1190 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 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)))) |
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/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 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 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))) |
(* 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/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(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))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* -1/2 (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/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
1/2 |
(+ 1/2 (* -1/24 (pow x 2))) |
(+ 1/2 (* -1/24 (pow x 2))) |
(+ 1/2 (* -1/24 (pow x 2))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(sin x) |
(sin x) |
(sin x) |
(sin x) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(* -1/2 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* -1/24 (pow x 3)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* -1/24 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(sin x) |
(sin x) |
(sin x) |
(sin x) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(* -1/2 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* -1/24 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1/24 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
| Outputs |
|---|
(* 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) |
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/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #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 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 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 (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) 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)) |
(* 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/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x 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 (*.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) 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)) |
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 (* -1/2 (pow x 2))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #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/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/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 (* -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 (* -1/24 (pow x 2)))) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #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 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(+ 1/2 (* -1/24 (pow x 2))) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(+ 1/2 (* -1/24 (pow x 2))) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(sin x) |
(sin.f64 x) |
(sin x) |
(sin.f64 x) |
(sin x) |
(sin.f64 x) |
(sin x) |
(sin.f64 x) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(* -1/2 (pow x 2)) |
(*.f64 #s(literal -1/2 binary64) (*.f64 x x)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* -1/24 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1/24 (pow x 2)) |
(*.f64 #s(literal -1/24 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(/ (* (sin x) (sin (* 1/2 x))) (cos (* 1/2 x))) |
(*.f64 (/.f64 (sin.f64 x) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) (sin.f64 (*.f64 x #s(literal 1/2 binary64)))) |
(sin x) |
(sin.f64 x) |
(sin x) |
(sin.f64 x) |
(sin x) |
(sin.f64 x) |
(sin x) |
(sin.f64 x) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(/ (sin (* 1/2 x)) (cos (* 1/2 x))) |
(/.f64 (sin.f64 (*.f64 x #s(literal 1/2 binary64))) (cos.f64 (*.f64 #s(literal -1/2 binary64) x))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(* -1/2 (pow x 2)) |
(*.f64 #s(literal -1/2 binary64) (*.f64 x x)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(* -1/24 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1/24 (pow x 2)) |
(*.f64 #s(literal -1/24 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 109 |
| 0 | 38 | 109 |
| 1 | 129 | 109 |
| 2 | 770 | 109 |
| 3 | 6267 | 106 |
| 0 | 8414 | 106 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
(sin.f64 x) |
(tan.f64 (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 15 108 to 2 131 computations (85.9% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 843 | 3 | 846 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 0 | 0 |
| Total | 845 | 6 | 851 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 52.9% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
| ✓ | 52.1% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ▶ | 4.2% | (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
| ▶ | 100.0% | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
| ✓ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
| ▶ | 99.6% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
Compiled 46 to 38 computations (17.4% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (cos x) #s(literal 1 binary64)) | |
| cost-diff | 0 | (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) | |
| cost-diff | 0 | #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 104 |
| 0 | 29 | 104 |
| 1 | 46 | 104 |
| 2 | 55 | 104 |
| 3 | 60 | 104 |
| 4 | 67 | 104 |
| 5 | 75 | 104 |
| 6 | 85 | 104 |
| 7 | 96 | 104 |
| 8 | 99 | 104 |
| 0 | 99 | 100 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(pow.f64 x #s(literal 4 binary64)) |
#s(literal 4 binary64) |
#s(literal -1/24 binary64) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(pow.f64 x #s(literal 4 binary64)) |
#s(literal 4 binary64) |
#s(literal -1/24 binary64) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.00390625 | (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) | |
| accuracy | 0.32903163143851444 | #s(approx (cos x) #s(literal 1 binary64)) | |
| accuracy | 0 | (pow.f64 x #s(literal 4 binary64)) | |
| accuracy | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0 | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) | |
| accuracy | 0.1015625 | (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) | |
| accuracy | 0 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) | |
| accuracy | 0.00390625 | (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) | |
| accuracy | 0.288650052486077 | #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
| 149.0ms | 174× | 2 | valid |
| 20.0ms | 80× | 1 | valid |
| 0.0ms | 2× | 0 | valid |
Compiled 136 to 36 computations (73.5% saved)
adjust: 38.0ms (25.5% of total)const: 30.0ms (20.2% of total)ival-sub: 29.0ms (19.5% of total)ival-cos: 28.0ms (18.8% of total)ival-mult: 12.0ms (8.1% of total)ival-add: 8.0ms (5.4% of total)ival-pow: 3.0ms (2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ()) |
#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ()) |
#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt 1/2 (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/24 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 2 (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 3)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 2)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) (patch #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) (patch (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 3)) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) (patch (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (patch #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (patch (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (cos x) (taylor -inf x) (#s(alt #s(approx (cos x) #s(literal 1 binary64)) (patch #s(approx (cos x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 4 binary64)) (patch (pow.f64 x #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (* 1/2 x) (* (pow x 4) -1/24) (+ (cos x) 1) (cos x) (pow x 4)) |
| 2.0ms | x | @ | -inf | ((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (* 1/2 x) (* (pow x 4) -1/24) (+ (cos x) 1) (cos x) (pow x 4)) |
| 1.0ms | x | @ | 0 | ((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (* 1/2 x) (* (pow x 4) -1/24) (+ (cos x) 1) (cos x) (pow x 4)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 832 |
| 1 | 154 | 832 |
| 2 | 375 | 832 |
| 3 | 1011 | 832 |
| 4 | 2546 | 832 |
| 5 | 5941 | 832 |
| 0 | 8123 | 772 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 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/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
1/2 |
(+ 1/2 (* -1/24 (pow x 2))) |
(+ 1/2 (* -1/24 (pow x 2))) |
(+ 1/2 (* -1/24 (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/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
2 |
(+ 2 (* -1/2 (pow x 2))) |
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
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))) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* -1/24 (pow x 3)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* -1/24 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* -1/24 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1/24 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
| Outputs |
|---|
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (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/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #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 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(+ 1/2 (* -1/24 (pow x 2))) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(+ 1/2 (* -1/24 (pow x 2))) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (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/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
2 |
#s(literal 2 binary64) |
(+ 2 (* -1/2 (pow x 2))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64)) |
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/24 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 2 binary64))) |
(+ 2 (* (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 2 binary64)) |
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 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/24 binary64) (fma.f64 #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)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* -1/24 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1/24 (pow x 2)) |
(*.f64 #s(literal -1/24 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* -1/24 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(* -1/24 (pow x 2)) |
(*.f64 #s(literal -1/24 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(+ 1 (cos x)) |
(+.f64 (cos.f64 x) #s(literal 1 binary64)) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(cos x) |
(cos.f64 x) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 97 |
| 0 | 29 | 97 |
| 1 | 102 | 97 |
| 2 | 617 | 97 |
| 3 | 5535 | 97 |
| 0 | 8367 | 93 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (cos x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 4 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 5 441 to 723 computations (86.7% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 319 | 2 | 321 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 3 | 3 |
| Total | 321 | 6 | 327 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 52.9% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
| ✓ | 52.1% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ▶ | 100.0% | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
| ✓ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
| ✓ | 99.6% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
| ▶ | 4.2% | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
Compiled 48 to 37 computations (22.9% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) | |
| cost-diff | 0 | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 65 |
| 0 | 21 | 65 |
| 1 | 37 | 57 |
| 2 | 61 | 49 |
| 3 | 96 | 49 |
| 4 | 107 | 49 |
| 5 | 118 | 49 |
| 6 | 128 | 49 |
| 7 | 142 | 49 |
| 8 | 146 | 49 |
| 0 | 146 | 49 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) |
(*.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x x) |
#s(literal -1/24 binary64) |
| Outputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) |
(*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64))) |
(*.f64 (*.f64 x x) (*.f64 x x)) |
(pow.f64 x #s(literal 4 binary64)) |
(*.f64 x x) |
#s(literal -1/24 binary64) |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0 | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) | |
| accuracy | 0.1015625 | (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) | |
| accuracy | 0.11947250976844202 | (*.f64 (*.f64 x x) (*.f64 x x)) | |
| accuracy | 0.3134083294388077 | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
| 81.0ms | 174× | 2 | valid |
| 22.0ms | 2× | 0 | valid |
| 15.0ms | 80× | 1 | valid |
Compiled 108 to 27 computations (75% saved)
ival-mult: 30.0ms (34.4% of total)ival-cos: 30.0ms (34.4% of total)adjust: 11.0ms (12.6% of total)ival-add: 6.0ms (6.9% of total)ival-sub: 5.0ms (5.7% of total)const: 4.0ms (4.6% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 2 (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* -1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) (taylor 0 x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))) (taylor 0 x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor 0 x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (+ (cos x) 1) #s(literal 2 binary64)) (patch #s(approx (+ (cos x) 1) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) (patch #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) (patch (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) (patch (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 4) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) (*.f64 x x)) (patch (*.f64 (*.f64 x x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (cos x) 1) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (* (* x x) (* x x)) -1/24)) (* 1/2 x) (* (* (* x x) (* x x)) -1/24) (* (* x x) (* x x))) |
| 1.0ms | x | @ | inf | ((+ (cos x) 1) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (* (* x x) (* x x)) -1/24)) (* 1/2 x) (* (* (* x x) (* x x)) -1/24) (* (* x x) (* x x))) |
| 1.0ms | x | @ | 0 | ((+ (cos x) 1) (- 1 (cos x)) (+ (* (* 1/2 x) x) (* (* (* x x) (* x x)) -1/24)) (* 1/2 x) (* (* (* x x) (* x x)) -1/24) (* (* x x) (* x x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 406 |
| 1 | 118 | 406 |
| 2 | 271 | 406 |
| 3 | 629 | 406 |
| 4 | 1377 | 406 |
| 5 | 2340 | 406 |
| 6 | 3012 | 406 |
| 7 | 5788 | 406 |
| 0 | 8179 | 385 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
2 |
(+ 2 (* -1/2 (pow x 2))) |
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 2 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/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/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(+ 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* -1/24 (pow x 4)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(* -1/24 (pow x 4)) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
| Outputs |
|---|
2 |
#s(literal 2 binary64) |
(+ 2 (* -1/2 (pow x 2))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 2 binary64)) |
(+ 2 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 2 binary64)) |
(+ 2 (* (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 2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (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/2 (pow x 2)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(+ 1 (cos x)) |
(-.f64 (cos.f64 x) #s(literal -1 binary64)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(- 1 (cos x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(* -1/24 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 58 |
| 0 | 21 | 50 |
| 1 | 72 | 42 |
| 2 | 478 | 42 |
| 3 | 5132 | 42 |
| 0 | 9204 | 42 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64))) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) |
(*.f64 (*.f64 x x) (*.f64 x x)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 3 955 to 537 computations (86.4% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 201 | 0 | 201 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 201 | 6 | 207 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 52.9% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
| ✓ | 52.1% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ✓ | 100.0% | #s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
| ✓ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
| ✓ | 99.6% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
| ✓ | 4.2% | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
Compiled 128 to 77 computations (39.8% saved)
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
#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)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
3 calls:
| 18.0ms | x |
| 3.0ms | (cos.f64 x) |
| 3.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 100.0% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
3 calls:
| 3.0ms | x |
| 2.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 100.0% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
3 calls:
| 3.0ms | x |
| 2.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | x |
| 99.6% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 99.6% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
3 calls:
| 2.0ms | x |
| 2.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | x |
| 99.6% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 99.6% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
3 calls:
| 17.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.1% | 1 | x |
| 52.1% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 52.1% | 1 | (cos.f64 x) |
Compiled 7 to 7 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
(+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
3 calls:
| 2.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.2% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 4.2% | 1 | (cos.f64 x) |
| 4.2% | 1 | x |
Compiled 7 to 7 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 74 |
| 1 | 42 | 74 |
| 2 | 46 | 74 |
| 3 | 48 | 74 |
| 4 | 49 | 74 |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
#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)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)))) |
#s(approx (- 1 (cos x)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) x (*.f64 #s(literal -1/24 binary64) (*.f64 (*.f64 x x) (*.f64 x x))))) |
#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)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 832 |
| 1 | 154 | 832 |
| 2 | 375 | 832 |
| 3 | 1011 | 832 |
| 4 | 2546 | 832 |
| 5 | 5941 | 832 |
| 0 | 8123 | 772 |
| 0 | 41 | 144 |
| 1 | 101 | 144 |
| 2 | 246 | 144 |
| 3 | 588 | 144 |
| 4 | 1237 | 144 |
| 5 | 1916 | 144 |
| 6 | 2187 | 144 |
| 7 | 2836 | 144 |
| 8 | 4071 | 144 |
| 9 | 5644 | 144 |
| 10 | 6543 | 144 |
| 11 | 6823 | 144 |
| 12 | 6862 | 144 |
| 13 | 6862 | 144 |
| 14 | 7274 | 144 |
| 15 | 7556 | 144 |
| 16 | 7597 | 144 |
| 17 | 7599 | 144 |
| 18 | 7599 | 144 |
| 19 | 7599 | 144 |
| 20 | 7599 | 144 |
| 21 | 7609 | 144 |
| 22 | 7609 | 144 |
| 23 | 7609 | 144 |
| 0 | 8514 | 132 |
| 0 | 24 | 109 |
| 0 | 38 | 109 |
| 1 | 129 | 109 |
| 2 | 770 | 109 |
| 3 | 6267 | 106 |
| 0 | 8414 | 106 |
| 0 | 21 | 97 |
| 0 | 29 | 97 |
| 1 | 102 | 97 |
| 2 | 617 | 97 |
| 3 | 5535 | 97 |
| 0 | 8367 | 93 |
| 0 | 102 | 1286 |
| 1 | 272 | 1280 |
| 2 | 689 | 1280 |
| 3 | 2133 | 1280 |
| 4 | 4257 | 1280 |
| 5 | 6593 | 1280 |
| 0 | 8559 | 1190 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 115 to 79 computations (31.3% saved)
(abs x)
Compiled 178 to 106 computations (40.4% saved)
Loading profile data...