
Time bar (total: 9.3s)
| 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.1s | 5 758× | 2 | valid |
| 455.0ms | 2 418× | 1 | valid |
| 6.0ms | 80× | 0 | valid |
ival-cos: 1.3s (60.5% of total)const: 299.0ms (13.7% of total)adjust: 281.0ms (12.9% of total)ival-sub: 207.0ms (9.5% of total)ival-<=: 54.0ms (2.5% of total)ival-and: 11.0ms (0.5% of total)exact: 5.0ms (0.2% of total)ival-assert: 3.0ms (0.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 125 | 1 | (-1.1958735342684488e-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 | 126 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 125 | 0 |
| - | 1 | 130 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 125 | 0 | 0 |
| - | 1 | 0 | 130 |
| number | freq |
|---|---|
| 0 | 130 |
| 1 | 126 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 97.0ms | 370× | 2 | valid |
| 11.0ms | 140× | 1 | valid |
| 0.0ms | 2× | 0 | valid |
Compiled 24 to 16 computations (33.3% saved)
ival-cos: 56.0ms (75.4% of total)adjust: 10.0ms (13.5% of total)ival-sub: 7.0ms (9.4% 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 |
|---|---|---|
| ▶ | 56.2% | (-.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 | 28.01617906448702 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 60.0ms | 185× | 2 | valid |
| 6.0ms | 70× | 1 | valid |
| 0.0ms | 1× | 0 | valid |
Compiled 10 to 6 computations (40% saved)
ival-cos: 44.0ms (82.1% of total)adjust: 5.0ms (9.3% of total)ival-sub: 4.0ms (7.5% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(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)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 335 | 3 | 338 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 336 | 3 | 339 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 55.8% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 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.8% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
Compiled 21 to 17 computations (19% saved)
| 1× | egg-herbie |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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 | (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 | (*.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))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 76 |
| 0 | 22 | 76 |
| 1 | 38 | 76 |
| 2 | 60 | 76 |
| 3 | 93 | 76 |
| 4 | 116 | 76 |
| 5 | 133 | 76 |
| 6 | 149 | 76 |
| 7 | 166 | 76 |
| 8 | 170 | 76 |
| 0 | 170 | 76 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#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) |
#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) |
(-.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)) |
| Outputs |
|---|
#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) |
#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) |
(-.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)) |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.13442425101094482 | #s(approx (cos x) #s(literal 1 binary64)) | |
| accuracy | 28.01617906448702 | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) | |
| 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 | (*.f64 x x) | |
| accuracy | 0.00390625 | (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) | |
| accuracy | 0.10736554326559188 | #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
| 72.0ms | 185× | 2 | valid |
| 12.0ms | 70× | 1 | valid |
| 0.0ms | 1× | 0 | valid |
Compiled 60 to 14 computations (76.7% saved)
ival-cos: 38.0ms (59.7% of total)adjust: 8.0ms (12.6% of total)ival-mult: 8.0ms (12.6% of total)ival-sub: 4.0ms (6.3% of total)const: 4.0ms (6.3% of total)ival-add: 1.0ms (1.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 (- 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 #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>) () ()) |
#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>) () ()) |
| Outputs |
|---|
#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 #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 (* 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 (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 #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 (- 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 #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>) () ())) ()) |
#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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- 1 (cos x)) (* (* x x) 1/2) (* x x) (- 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)) (cos x)) |
| 1.0ms | x | @ | -inf | ((- 1 (cos x)) (* (* x x) 1/2) (* x x) (- 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)) (cos x)) |
| 1.0ms | x | @ | 0 | ((- 1 (cos x)) (* (* x x) 1/2) (* x x) (- 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)) (cos x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 698 |
| 1 | 146 | 698 |
| 2 | 367 | 698 |
| 3 | 990 | 698 |
| 4 | 2488 | 698 |
| 5 | 5880 | 698 |
| 0 | 8285 | 647 |
| 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)) |
(* 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/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 |
(+ 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)) |
(* 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)) |
(* -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)) |
(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)) |
(* -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)) |
(cos x) |
(cos x) |
(cos x) |
(cos x) |
| 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) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(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 #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 |
#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 (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 (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 #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(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)) |
(* -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)) |
(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 #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
(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)) |
(* -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)) |
(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 | 15 | 67 |
| 0 | 22 | 67 |
| 1 | 77 | 67 |
| 2 | 458 | 67 |
| 3 | 3741 | 67 |
| 0 | 11070 | 67 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#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) |
#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)) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (cos x) #s(literal 1 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> |
Compiled 7 206 to 1 152 computations (84% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 412 | 4 | 416 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 0 | 0 |
| Total | 414 | 5 | 419 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 55.8% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ▶ | 4.0% | (+.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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
| ▶ | 99.8% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
Compiled 37 to 30 computations (18.9% saved)
| 1× | egg-herbie |
Found 14 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 | #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 | 6144 | (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 | (*.f64 x x) | |
| 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)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) | |
| 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 | 25 | 137 |
| 0 | 37 | 137 |
| 1 | 57 | 137 |
| 2 | 77 | 137 |
| 3 | 101 | 137 |
| 4 | 134 | 137 |
| 5 | 145 | 137 |
| 6 | 155 | 137 |
| 7 | 166 | 137 |
| 8 | 169 | 137 |
| 0 | 169 | 137 |
| 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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x 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) |
#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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) |
#s(literal -1/24 binary64) |
(*.f64 x x) |
x |
#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)))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) 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 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x) |
(*.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) |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) | |
| accuracy | 0.13442425101094482 | #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.1171875 | (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) | |
| accuracy | 0 | (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) | |
| accuracy | 0.0078125 | (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) | |
| 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.10803855289344606 | #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
| 92.0ms | 185× | 2 | valid |
| 18.0ms | 70× | 1 | valid |
| 0.0ms | 1× | 0 | valid |
Compiled 100 to 21 computations (79% saved)
ival-cos: 27.0ms (32.1% of total)adjust: 25.0ms (29.7% of total)ival-mult: 13.0ms (15.4% of total)ival-add: 7.0ms (8.3% of total)ival-sub: 4.0ms (4.7% of total)const: 4.0ms (4.7% of total)ival-pow: 4.0ms (4.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x 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>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<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 #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 (*.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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x 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 (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 (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 (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 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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x 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 (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/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 (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/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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (cos x)) (taylor -inf x) (#s(alt #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) (patch #s(approx (- 1 (cos x)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/24 (pow x 4)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 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)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x 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 (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/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 (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/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/24 (* x x)) 1/2) (* x x)) (+ (* -1/24 (* x x)) 1/2) (* x x) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (- 1 (cos x)) (* 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/24 (* x x)) 1/2) (* x x)) (+ (* -1/24 (* x x)) 1/2) (* x x) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (- 1 (cos x)) (* 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/24 (* x x)) 1/2) (* x x)) (+ (* -1/24 (* x x)) 1/2) (* x x) (+ (* (* 1/2 x) x) (* (pow x 4) -1/24)) (- 1 (cos x)) (* 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 | 1144 |
| 1 | 154 | 1144 |
| 2 | 375 | 1144 |
| 3 | 1011 | 1144 |
| 4 | 2546 | 1144 |
| 5 | 5941 | 1144 |
| 0 | 8123 | 1060 |
| 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 |
(+ 1/2 (* -1/24 (pow x 2))) |
(+ 1/2 (* -1/24 (pow x 2))) |
(+ 1/2 (* -1/24 (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 (* -1/24 (pow x 2)))) |
(* (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 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/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)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -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 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* 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/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)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -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 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(- 1 (cos x)) |
(* 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 |
#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)) |
(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 #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 (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 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/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)) |
(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/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 (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 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/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)) |
(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/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 (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 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 | 25 | 127 |
| 0 | 37 | 127 |
| 1 | 113 | 127 |
| 2 | 647 | 127 |
| 3 | 5820 | 127 |
| 0 | 8663 | 127 |
| 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)) (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x 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 #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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 12 017 to 1 190 computations (90.1% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 611 | 2 | 613 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 2 | 4 |
| Done | 0 | 1 | 1 |
| Total | 613 | 5 | 618 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 55.8% | (-.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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
| ✓ | 99.8% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
| ▶ | 4.0% | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
Compiled 39 to 29 computations (25.6% 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 x x) (*.f64 x x)) | |
| accuracy | 0.1171875 | (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/24 binary64)) | |
| accuracy | 0.12432693497695979 | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
| 111.0ms | 185× | 2 | valid |
| 14.0ms | 70× | 1 | valid |
| 0.0ms | 1× | 0 | valid |
Compiled 51 to 16 computations (68.6% saved)
ival-cos: 48.0ms (43.8% of total)adjust: 31.0ms (28.3% of total)ival-add: 14.0ms (12.8% of total)ival-mult: 10.0ms (9.1% of total)const: 4.0ms (3.7% of total)ival-sub: 3.0ms (2.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(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 | |
|---|---|---|---|---|
| 27.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 | 474 | 42 |
| 3 | 5101 | 42 |
| 0 | 9184 | 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)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 201 | 0 | 201 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 3 | 3 |
| Total | 201 | 5 | 206 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 55.8% | (-.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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
| ✓ | 99.8% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
| ✓ | 4.0% | #s(approx (+ (cos x) 1) #s(literal 2 binary64)) |
Compiled 114 to 63 computations (44.7% 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)) |
#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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 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)))) |
| 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:
| 4.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)) |
#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 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 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:
| 10.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.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)) |
| 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:
| 2.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | x |
| 99.8% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 99.8% | 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.8% | 1 | x |
| 99.8% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 99.8% | 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:
| 18.0ms | (cos.f64 x) |
| 2.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 55.8% | 1 | x |
| 55.8% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 55.8% | 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.0% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 4.0% | 1 | (cos.f64 x) |
| 4.0% | 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 #s(literal 1/2 binary64) x) 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 | 1144 |
| 1 | 154 | 1144 |
| 2 | 375 | 1144 |
| 3 | 1011 | 1144 |
| 4 | 2546 | 1144 |
| 5 | 5941 | 1144 |
| 0 | 8123 | 1060 |
| 0 | 59 | 698 |
| 1 | 146 | 698 |
| 2 | 367 | 698 |
| 3 | 990 | 698 |
| 4 | 2488 | 698 |
| 5 | 5880 | 698 |
| 0 | 8285 | 647 |
| 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 | 25 | 127 |
| 0 | 37 | 127 |
| 1 | 113 | 127 |
| 2 | 647 | 127 |
| 3 | 5820 | 127 |
| 0 | 8663 | 127 |
| 0 | 15 | 67 |
| 0 | 22 | 67 |
| 1 | 77 | 67 |
| 2 | 458 | 67 |
| 3 | 3741 | 67 |
| 0 | 11070 | 67 |
| 1× | done |
| 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 |
| 1× | iter limit |
| 1× | node limit |
Compiled 119 to 83 computations (30.3% saved)
(abs x)
Compiled 178 to 106 computations (40.4% saved)
Loading profile data...