
Time bar (total: 9.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 15 to 9 computations (40% saved)
| 1.4s | 2 953× | 2 | valid |
| 1.2s | 4 755× | 1 | valid |
| 844.0ms | 7 735× | 0 | exit |
| 64.0ms | 548× | 0 | valid |
ival-exp: 2.0s (68.7% of total)ival-div: 219.0ms (7.6% of total)adjust: 209.0ms (7.2% of total)ival-sub: 190.0ms (6.6% of total)ival-add: 173.0ms (6% of total)ival-neg: 94.0ms (3.3% of total)ival-true: 13.0ms (0.5% of total)ival-assert: 7.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 248 | 0 | - | 0 | - | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 5 | 0 | - | 0 | - | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0 | 0 | - | 0 | - | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 1 | (-408.44381563982313) | 0 | - | (exp.f64 (neg.f64 x)) |
| 0 | 0 | - | 0 | - | (neg.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | cancellation | 248 | 0 |
/.f64 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | o/o | 5 | 0 |
| ↳ | (exp.f64 x) | overflow | 1 | |
| ↳ | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | overflow | 5 | |
| ↳ | (exp.f64 (neg.f64 x)) | overflow | 4 | |
| ↳ | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | overflow | 5 | |
| ↳ | (exp.f64 x) | overflow | 1 | |
| ↳ | (exp.f64 (neg.f64 x)) | overflow | 4 | |
exp.f64 | (exp.f64 (neg.f64 x)) | sensitivity | 1 | 1 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 253 | 0 |
| - | 1 | 2 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 253 | 0 | 0 |
| - | 1 | 1 | 1 |
| number | freq |
|---|---|
| 0 | 2 |
| 1 | 254 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 264.0ms | 184× | 2 | valid |
| 53.0ms | 296× | 1 | valid |
| 2.0ms | 32× | 0 | valid |
Compiled 116 to 32 computations (72.4% saved)
adjust: 122.0ms (41.3% of total)ival-add: 85.0ms (28.8% of total)ival-exp: 71.0ms (24% of total)ival-div: 8.0ms (2.7% of total)ival-sub: 6.0ms (2% of total)ival-neg: 3.0ms (1% of total)ival-true: 1.0ms (0.3% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 32 | 27 |
| 2 | 80 | 26 |
| 3 | 199 | 26 |
| 4 | 468 | 26 |
| 5 | 1130 | 26 |
| 6 | 1547 | 26 |
| 7 | 1585 | 26 |
| 8 | 1604 | 26 |
| 9 | 1623 | 26 |
| 10 | 1657 | 26 |
| 11 | 1669 | 26 |
| 0 | 7 | 13 |
| 0 | 13 | 13 |
| 1 | 25 | 13 |
| 2 | 42 | 13 |
| 3 | 67 | 13 |
| 4 | 122 | 13 |
| 5 | 276 | 13 |
| 6 | 462 | 13 |
| 7 | 682 | 13 |
| 8 | 905 | 13 |
| 9 | 1058 | 13 |
| 10 | 1186 | 13 |
| 11 | 1233 | 13 |
| 0 | 1233 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(negabs x)
Compiled 13 to 7 computations (46.2% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 9.3% | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 13 to 7 computations (46.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 (neg.f64 x)) | |
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | |
| cost-diff | 0 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 33 |
| 0 | 13 | 33 |
| 1 | 25 | 33 |
| 2 | 42 | 33 |
| 3 | 67 | 33 |
| 4 | 122 | 33 |
| 5 | 276 | 33 |
| 6 | 462 | 33 |
| 7 | 682 | 33 |
| 8 | 905 | 33 |
| 9 | 1058 | 33 |
| 10 | 1186 | 33 |
| 11 | 1233 | 33 |
| 0 | 1233 | 33 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp.f64 x) |
x |
(exp.f64 (neg.f64 x)) |
(neg.f64 x) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp.f64 x) |
x |
(exp.f64 (neg.f64 x)) |
(neg.f64 x) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (exp.f64 (neg.f64 x)) | |
| accuracy | 0 | (exp.f64 x) | |
| accuracy | 1.222670005254126 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | |
| accuracy | 56.83057970434825 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 95.0ms | 92× | 2 | valid |
| 26.0ms | 148× | 1 | valid |
| 1.0ms | 16× | 0 | valid |
Compiled 68 to 16 computations (76.5% saved)
ival-div: 55.0ms (49.7% of total)ival-exp: 43.0ms (38.8% of total)adjust: 5.0ms (4.5% of total)ival-add: 3.0ms (2.7% of total)ival-sub: 3.0ms (2.7% of total)ival-neg: 1.0ms (0.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ()) |
#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ()) |
#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ()) |
#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 1/3 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2)))))) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2)))))))) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (- (* 1/2 x) 1))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (- (exp x) (exp (neg x))) (exp x) (exp (neg x))) |
| 1.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (- (exp x) (exp (neg x))) (exp x) (exp (neg x))) |
| 1.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (- (exp x) (exp (neg x))) (exp x) (exp (neg x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 77 | 339 |
| 1 | 220 | 338 |
| 2 | 490 | 332 |
| 3 | 1296 | 332 |
| 4 | 2173 | 332 |
| 5 | 3648 | 332 |
| 6 | 4347 | 332 |
| 7 | 5852 | 332 |
| 8 | 7977 | 332 |
| 0 | 8013 | 310 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* 2 x) |
(* x (+ 2 (* 1/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2)))))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
1 |
(+ 1 (* -1 x)) |
(+ 1 (* x (- (* 1/2 x) 1))) |
(+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(- (exp x) (exp (neg x))) |
(- (exp x) (exp (neg x))) |
(- (exp x) (exp (neg x))) |
(- (exp x) (exp (neg x))) |
(exp x) |
(exp x) |
(exp x) |
(exp x) |
(exp (neg x)) |
(exp (neg x)) |
(exp (neg x)) |
(exp (neg x)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(- (exp x) (exp (* -1 x))) |
(- (exp x) (exp (* -1 x))) |
(- (exp x) (exp (* -1 x))) |
(- (exp x) (exp (* -1 x))) |
(exp x) |
(exp x) |
(exp x) |
(exp x) |
(exp (* -1 x)) |
(exp (* -1 x)) |
(exp (* -1 x)) |
(exp (* -1 x)) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* 1/3 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal 1/3 binary64) (*.f64 x x) #s(literal 2 binary64)) x) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2)))))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/60 binary64) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 binary64)) x) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2)))))))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/2520 binary64) (*.f64 x x) #s(literal 1/60 binary64)) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(+ 1 (* x (- (* 1/2 x) 1))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 24 |
| 0 | 13 | 11 |
| 1 | 55 | 11 |
| 2 | 424 | 11 |
| 3 | 7080 | 11 |
| 0 | 8062 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp.f64 x) |
(exp.f64 (neg.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 13 162 to 1 364 computations (89.6% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 587 | 3 | 590 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 588 | 3 | 591 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (tanh.f64 x) |
| ▶ | 97.3% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) |
| ▶ | 97.0% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
Compiled 26 to 19 computations (26.9% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (tanh.f64 x) | |
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) | |
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) | |
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 109 |
| 0 | 31 | 87 |
| 1 | 74 | 87 |
| 2 | 166 | 87 |
| 3 | 387 | 87 |
| 4 | 971 | 87 |
| 5 | 1392 | 87 |
| 6 | 1949 | 87 |
| 7 | 3153 | 87 |
| 8 | 5408 | 87 |
| 0 | 8178 | 87 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
#s(literal -1/3 binary64) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
#s(literal -17/315 binary64) |
(*.f64 x x) |
#s(literal 2/15 binary64) |
#s(literal -1/3 binary64) |
(tanh.f64 x) |
x |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
#s(literal -1/3 binary64) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) |
#s(literal -17/315 binary64) |
(*.f64 x x) |
#s(literal 2/15 binary64) |
#s(literal -1/3 binary64) |
(tanh.f64 x) |
x |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.01171875 | (tanh.f64 x) | |
| accuracy | 0.0078125 | (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) | |
| accuracy | 0.0078125 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) | |
| accuracy | 0.015625 | (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) | |
| accuracy | 1.7583613602817596 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) | |
| accuracy | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| accuracy | 0.00390625 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) | |
| accuracy | 1.945754044832756 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
| 200.0ms | 148× | 1 | valid |
| 129.0ms | 92× | 2 | valid |
| 23.0ms | 16× | 0 | valid |
Compiled 177 to 38 computations (78.5% saved)
ival-exp: 97.0ms (38.7% of total)const: 62.0ms (24.8% of total)adjust: 36.0ms (14.4% of total)ival-mult: 32.0ms (12.8% of total)ival-add: 11.0ms (4.4% of total)ival-div: 4.0ms (1.6% of total)ival-sub: 3.0ms (1.2% of total)ival-pow: 3.0ms (1.2% of total)ival-tanh: 1.0ms (0.4% of total)ival-neg: 1.0ms (0.4% 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 (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ()) |
#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt -1/3 (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2/15 (pow x 2)) 1/3) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt 2/15 (taylor 0 x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 7)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 7) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 7) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 7) (- (+ (* 2/15 (/ 1 (pow x 2))) (/ 1 (pow x 6))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 7)) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 7) (- 17/315 (* 2/15 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 7) (- (+ 17/315 (/ 1/3 (pow x 4))) (* 2/15 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 7) (- (+ 17/315 (/ 1/3 (pow x 4))) (+ (* 2/15 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (patch (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 12.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) (+ (* (+ (* -17/315 (* x x)) 2/15) (* x x)) -1/3)) x) (+ (* (+ (* -17/315 (* x x)) 2/15) (* x x)) -1/3) (tanh x) (+ (* -17/315 (* x x)) 2/15)) |
| 3.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) (+ (* (+ (* -17/315 (* x x)) 2/15) (* x x)) -1/3)) x) (+ (* (+ (* -17/315 (* x x)) 2/15) (* x x)) -1/3) (tanh x) (+ (* -17/315 (* x x)) 2/15)) |
| 2.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) (+ (* (+ (* -17/315 (* x x)) 2/15) (* x x)) -1/3)) x) (+ (* (+ (* -17/315 (* x x)) 2/15) (* x x)) -1/3) (tanh x) (+ (* -17/315 (* x x)) 2/15)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 80 | 944 |
| 1 | 205 | 902 |
| 2 | 526 | 902 |
| 3 | 1637 | 902 |
| 4 | 4306 | 902 |
| 5 | 6951 | 902 |
| 0 | 8317 | 849 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
-1/3 |
(- (* 2/15 (pow x 2)) 1/3) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
2/15 |
(+ 2/15 (* -17/315 (pow x 2))) |
(+ 2/15 (* -17/315 (pow x 2))) |
(+ 2/15 (* -17/315 (pow x 2))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(* -1/3 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(* -17/315 (pow x 7)) |
(* (pow x 7) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 7) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 7) (- (+ (* 2/15 (/ 1 (pow x 2))) (/ 1 (pow x 6))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 4)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(* -17/315 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(* -1/3 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(* -17/315 (pow x 7)) |
(* -1 (* (pow x 7) (- 17/315 (* 2/15 (/ 1 (pow x 2)))))) |
(* -1 (* (pow x 7) (- (+ 17/315 (/ 1/3 (pow x 4))) (* 2/15 (/ 1 (pow x 2)))))) |
(* -1 (* (pow x 7) (- (+ 17/315 (/ 1/3 (pow x 4))) (+ (* 2/15 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* -17/315 (pow x 4)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(* -17/315 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
-1/3 |
#s(literal -1/3 binary64) |
(- (* 2/15 (pow x 2)) 1/3) |
(fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
2/15 |
#s(literal 2/15 binary64) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 7)) |
(*.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 7) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (-.f64 (/.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 17/315 binary64)) (pow.f64 x #s(literal 7 binary64))) |
(* (pow x 7) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(*.f64 (-.f64 (/.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 17/315 binary64) (/.f64 #s(literal 2/15 binary64) (*.f64 x x)))) (pow.f64 x #s(literal 7 binary64))) |
(* (pow x 7) (- (+ (* 2/15 (/ 1 (pow x 2))) (/ 1 (pow x 6))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(*.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 17/315 binary64)) (-.f64 (/.f64 #s(literal -2/15 binary64) (*.f64 x x)) (/.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 4 binary64))))) (pow.f64 x #s(literal 7 binary64))) |
(* -17/315 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) x (*.f64 (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (pow.f64 x #s(literal 4 binary64)))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) x (*.f64 (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (pow.f64 x #s(literal 4 binary64)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 2)) |
(*.f64 #s(literal -17/315 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 7)) |
(*.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal -17/315 binary64)) |
(* -1 (* (pow x 7) (- 17/315 (* 2/15 (/ 1 (pow x 2)))))) |
(*.f64 (-.f64 (/.f64 #s(literal 2/15 binary64) (*.f64 x x)) #s(literal 17/315 binary64)) (pow.f64 x #s(literal 7 binary64))) |
(* -1 (* (pow x 7) (- (+ 17/315 (/ 1/3 (pow x 4))) (* 2/15 (/ 1 (pow x 2)))))) |
(*.f64 (-.f64 (/.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 17/315 binary64) (/.f64 #s(literal 2/15 binary64) (*.f64 x x)))) (pow.f64 x #s(literal 7 binary64))) |
(* -1 (* (pow x 7) (- (+ 17/315 (/ 1/3 (pow x 4))) (+ (* 2/15 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(*.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal 17/315 binary64)) (-.f64 (/.f64 #s(literal -2/15 binary64) (*.f64 x x)) (/.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 4 binary64))))) (pow.f64 x #s(literal 7 binary64))) |
(* -17/315 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) x (*.f64 (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (pow.f64 x #s(literal 4 binary64)))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (*.f64 #s(literal 2/15 binary64) x) x (*.f64 (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (pow.f64 x #s(literal 4 binary64)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 2)) |
(*.f64 #s(literal -17/315 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 94 |
| 0 | 31 | 72 |
| 1 | 157 | 72 |
| 2 | 1177 | 72 |
| 0 | 8535 | 72 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(tanh.f64 x) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 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> |
Compiled 13 028 to 1 490 computations (88.6% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 500 | 2 | 502 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 0 | 0 |
| Total | 502 | 3 | 505 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tanh.f64 x) |
| ▶ | 97.3% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
| ▶ | 97.0% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
Compiled 30 to 18 computations (40% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) | |
| cost-diff | 0 | (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) | |
| cost-diff | -5824 | (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 129 |
| 0 | 30 | 129 |
| 1 | 67 | 129 |
| 2 | 127 | 125 |
| 3 | 273 | 125 |
| 4 | 650 | 125 |
| 5 | 1443 | 125 |
| 6 | 2006 | 125 |
| 7 | 2764 | 125 |
| 8 | 3801 | 125 |
| 9 | 5027 | 125 |
| 10 | 5613 | 125 |
| 11 | 5876 | 125 |
| 12 | 6481 | 125 |
| 13 | 7553 | 125 |
| 0 | 8466 | 121 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
(fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) |
(*.f64 #s(literal -1/3 binary64) (*.f64 x x)) |
#s(literal -1/3 binary64) |
(*.f64 x x) |
x |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x) |
(*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) |
(*.f64 x x) |
x |
#s(literal -17/315 binary64) |
#s(literal 2/15 binary64) |
#s(literal -1/3 binary64) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(*.f64 #s(literal -1/3 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
#s(literal -1/3 binary64) |
(*.f64 x x) |
x |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal -17/315 binary64) (fma.f64 (fma.f64 (*.f64 #s(literal 2/15 binary64) x) x #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x) |
(fma.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal -17/315 binary64) (fma.f64 (fma.f64 (*.f64 #s(literal 2/15 binary64) x) x #s(literal -1/3 binary64)) (pow.f64 x #s(literal 3 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(*.f64 x x) |
x |
#s(literal -17/315 binary64) |
#s(literal 2/15 binary64) |
#s(literal -1/3 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) | |
| accuracy | 0.015625 | (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) | |
| accuracy | 0.20703125 | (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) | |
| accuracy | 1.7583613602817596 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) | |
| accuracy | 0.203125 | (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) | |
| accuracy | 1.945754044832756 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
| 72.0ms | 92× | 2 | valid |
| 66.0ms | 148× | 1 | valid |
| 3.0ms | 16× | 0 | valid |
Compiled 215 to 36 computations (83.3% saved)
ival-exp: 47.0ms (38.9% of total)ival-mult: 19.0ms (15.7% of total)const: 17.0ms (14.1% of total)adjust: 14.0ms (11.6% of total)ival-add: 11.0ms (9.1% of total)ival-div: 8.0ms (6.6% of total)ival-sub: 3.0ms (2.5% of total)ival-neg: 1.0ms (0.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.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 (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt -1/3 (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2/15 (pow x 2)) 1/3) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 2/15 (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.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 (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 6)) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) (patch (*.f64 #s(literal -1/3 binary64) (*.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 (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) (patch (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 6)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* -1/3 (* x x)) (* x x) (+ (* (* -1/3 (* x x)) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (* x x)) (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (+ (* (* x x) -17/315) 2/15)) |
| 3.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* -1/3 (* x x)) (* x x) (+ (* (* -1/3 (* x x)) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (* x x)) (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (+ (* (* x x) -17/315) 2/15)) |
| 1.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* -1/3 (* x x)) (* x x) (+ (* (* -1/3 (* x x)) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (* x x)) (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (+ (* (* x x) -17/315) 2/15)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 61 | 830 |
| 1 | 146 | 800 |
| 2 | 332 | 800 |
| 3 | 991 | 800 |
| 4 | 2536 | 800 |
| 5 | 5103 | 800 |
| 0 | 8091 | 744 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* -1/3 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
-1/3 |
(- (* 2/15 (pow x 2)) 1/3) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
2/15 |
(+ 2/15 (* -17/315 (pow x 2))) |
(+ 2/15 (* -17/315 (pow x 2))) |
(+ 2/15 (* -17/315 (pow x 2))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1/3 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(* -17/315 (pow x 6)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 4)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1/3 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(* -17/315 (pow x 6)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 4)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 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) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)) |
(*.f64 (*.f64 (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
(*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
(*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
-1/3 |
#s(literal -1/3 binary64) |
(- (* 2/15 (pow x 2)) 1/3) |
(fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
2/15 |
#s(literal 2/15 binary64) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 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/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 6)) |
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* -17/315 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* -17/315 (pow x 2)) |
(*.f64 #s(literal -17/315 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 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/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 6)) |
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* -17/315 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* -17/315 (pow x 2)) |
(*.f64 #s(literal -17/315 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 102 |
| 0 | 30 | 80 |
| 1 | 147 | 77 |
| 2 | 1105 | 77 |
| 0 | 8335 | 74 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
(*.f64 #s(literal -1/3 binary64) (*.f64 x x)) |
(*.f64 x x) |
(fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
(*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 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> |
Compiled 8 797 to 1 147 computations (87% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 363 | 2 | 365 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 1 | 1 |
| Total | 364 | 4 | 368 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tanh.f64 x) |
| ✓ | 97.3% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
| ▶ | 97.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
| ▶ | 97.0% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
Compiled 45 to 27 computations (40% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) | |
| cost-diff | 0 | (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) | |
| cost-diff | -5824 | (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) | |
| cost-diff | 0 | (*.f64 x #s(literal -1/3 binary64)) | |
| cost-diff | 0 | (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 143 |
| 0 | 33 | 143 |
| 1 | 70 | 143 |
| 2 | 122 | 139 |
| 3 | 209 | 139 |
| 4 | 346 | 139 |
| 5 | 589 | 139 |
| 6 | 886 | 139 |
| 7 | 1356 | 139 |
| 8 | 2128 | 139 |
| 9 | 3490 | 139 |
| 10 | 6176 | 139 |
| 0 | 8055 | 130 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
(fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) |
(*.f64 (*.f64 x #s(literal -1/3 binary64)) x) |
(*.f64 x #s(literal -1/3 binary64)) |
x |
#s(literal -1/3 binary64) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
(fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x) |
(*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) |
(fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
#s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) |
#s(literal 2/15 binary64) |
(*.f64 x x) |
x |
#s(literal -1/3 binary64) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(*.f64 (*.f64 x #s(literal -1/3 binary64)) x) |
(*.f64 (*.f64 #s(literal -1/3 binary64) x) x) |
(*.f64 x #s(literal -1/3 binary64)) |
(*.f64 #s(literal -1/3 binary64) x) |
x |
#s(literal -1/3 binary64) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))) |
(fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x) |
(fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #s(literal -1/3 binary64)) x) x) |
(fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(fma.f64 (*.f64 x x) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #s(literal -1/3 binary64)) |
#s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) |
#s(literal 2/15 binary64) |
(*.f64 x x) |
x |
#s(literal -1/3 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) | |
| accuracy | 0.20703125 | (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) | |
| accuracy | 1.7583613602817596 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) | |
| accuracy | 2.269428587214888 | #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) | |
| accuracy | 0.0078125 | (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) | |
| accuracy | 0.125 | (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) | |
| accuracy | 0.34375 | (*.f64 x #s(literal -1/3 binary64)) | |
| accuracy | 1.945754044832756 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
| 93.0ms | 148× | 1 | valid |
| 62.0ms | 92× | 2 | valid |
| 3.0ms | 16× | 0 | valid |
Compiled 193 to 37 computations (80.8% saved)
ival-exp: 40.0ms (28.7% of total)const: 40.0ms (28.7% of total)ival-mult: 27.0ms (19.3% of total)adjust: 14.0ms (10% of total)ival-add: 11.0ms (7.9% of total)ival-div: 4.0ms (2.9% of total)ival-sub: 3.0ms (2.1% of total)ival-neg: 1.0ms (0.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt -1/3 (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2/15 (pow x 2)) 1/3) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 2/15 (taylor 0 x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2/15 (* -17/315 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 6)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 4)) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 2)) (taylor inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) (patch (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal -1/3 binary64)) (patch (*.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) (patch (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 6)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) (patch (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 4)) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (patch (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -17/315 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) (taylor -inf x) (#s(alt #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (patch #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (* x -1/3) x) (* x -1/3) (+ (* (* (* x -1/3) x) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (* x x)) (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (+ (* (* x x) -17/315) 2/15)) |
| 2.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (* x -1/3) x) (* x -1/3) (+ (* (* (* x -1/3) x) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (* x x)) (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (+ (* (* x x) -17/315) 2/15)) |
| 1.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (* x -1/3) x) (* x -1/3) (+ (* (* (* x -1/3) x) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (* x x)) (+ (* (+ (* (* x x) -17/315) 2/15) (* x x)) -1/3) (+ (* (* x x) -17/315) 2/15)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 830 |
| 1 | 148 | 800 |
| 2 | 330 | 800 |
| 3 | 971 | 800 |
| 4 | 2505 | 800 |
| 5 | 5083 | 800 |
| 0 | 8114 | 744 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 x) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* -1/3 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
-1/3 |
(- (* 2/15 (pow x 2)) 1/3) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
2/15 |
(+ 2/15 (* -17/315 (pow x 2))) |
(+ 2/15 (* -17/315 (pow x 2))) |
(+ 2/15 (* -17/315 (pow x 2))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(* -17/315 (pow x 6)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 4)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 (pow x 2)) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 x) |
(* -1/3 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(* -17/315 (pow x 6)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 4)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(* -17/315 (pow x 2)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)) |
(*.f64 (*.f64 (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
(*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
(* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)) |
(*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) x) |
-1/3 |
#s(literal -1/3 binary64) |
(- (* 2/15 (pow x 2)) 1/3) |
(fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
2/15 |
#s(literal 2/15 binary64) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(+ 2/15 (* -17/315 (pow x 2))) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 6)) |
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* -17/315 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* -17/315 (pow x 2)) |
(*.f64 #s(literal -17/315 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/3 binary64)) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 x) |
(*.f64 #s(literal -1/3 binary64) x) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -17/315 (pow x 6)) |
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -17/315 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* (pow x 6) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 #s(literal -17/315 binary64) (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2/15 binary64))) |
(* -17/315 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -17/315 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(*.f64 (*.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) x) x) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* (pow x 4) (- (* 2/15 (/ 1 (pow x 2))) (+ 17/315 (/ 1/3 (pow x 4))))) |
(fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
(* -17/315 (pow x 2)) |
(*.f64 #s(literal -17/315 binary64) (*.f64 x x)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
(* (pow x 2) (- (* 2/15 (/ 1 (pow x 2))) 17/315)) |
(fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 114 |
| 0 | 33 | 92 |
| 1 | 150 | 89 |
| 2 | 1086 | 89 |
| 0 | 8489 | 82 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
(*.f64 (*.f64 x #s(literal -1/3 binary64)) x) |
(*.f64 x #s(literal -1/3 binary64)) |
(fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
(*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) |
(fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) |
#s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 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> |
Compiled 5 187 to 715 computations (86.2% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 229 | 3 | 232 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 2 | 2 |
| Total | 230 | 6 | 236 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tanh.f64 x) |
| 97.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (/.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #s(literal -1/3 binary64)))) x x)) | |
| ✓ | 97.3% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
| 97.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) x) x #s(literal -1/3 binary64)) (*.f64 x x)) x x)) | |
| 97.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (+.f64 (*.f64 (*.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) x) x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) | |
| ✓ | 97.0% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
Compiled 217 to 103 computations (52.5% saved)
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) x) x #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (+.f64 (*.f64 (*.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) x) x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (/.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #s(literal -1/3 binary64)))) x x)) |
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x)) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(tanh.f64 x) |
2 calls:
| 3.0ms | x |
| 3.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 8 computations (42.9% saved)
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (*.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) x) x #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (+.f64 (*.f64 (*.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) x) x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -17/315 binary64) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (/.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) #s(literal -1/3 binary64)))) x x)) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
2 calls:
| 3.0ms | x |
| 2.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.4% | 1 | x |
| 97.4% | 1 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 8 computations (42.9% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x #s(literal -1/3 binary64)) x) x x)) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.0% | 1 | x |
| 97.0% | 1 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 8 computations (42.9% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 59 |
| 1 | 25 | 59 |
| 1× | saturated |
| Inputs |
|---|
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
| Outputs |
|---|
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (fma.f64 #s(approx (+ (* (* x x) -17/315) 2/15) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) (*.f64 x x)) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 #s(literal -1/3 binary64) (*.f64 x x)) x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 77 | 339 |
| 1 | 220 | 338 |
| 2 | 490 | 332 |
| 3 | 1296 | 332 |
| 4 | 2173 | 332 |
| 5 | 3648 | 332 |
| 6 | 4347 | 332 |
| 7 | 5852 | 332 |
| 8 | 7977 | 332 |
| 0 | 8013 | 310 |
| 0 | 7 | 24 |
| 0 | 13 | 11 |
| 1 | 55 | 11 |
| 2 | 424 | 11 |
| 3 | 7080 | 11 |
| 0 | 8062 | 11 |
| 0 | 20 | 94 |
| 0 | 31 | 72 |
| 1 | 157 | 72 |
| 2 | 1177 | 72 |
| 0 | 8535 | 72 |
| 0 | 61 | 830 |
| 1 | 146 | 800 |
| 2 | 332 | 800 |
| 3 | 991 | 800 |
| 4 | 2536 | 800 |
| 5 | 5103 | 800 |
| 0 | 8091 | 744 |
| 1× | fuel |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 101 to 61 computations (39.6% saved)
(negabs x)
Compiled 82 to 44 computations (46.3% saved)
Loading profile data...