
Time bar (total: 7.0s)
| 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.3s | 2 938× | 2 | valid |
| 790.0ms | 4 743× | 1 | valid |
| 764.0ms | 7 874× | 0 | exit |
| 39.0ms | 575× | 0 | valid |
ival-exp: 1.5s (67% of total)ival-div: 217.0ms (9.5% of total)adjust: 190.0ms (8.3% of total)ival-sub: 135.0ms (5.9% of total)ival-add: 123.0ms (5.4% of total)ival-neg: 69.0ms (3% of total)ival-true: 12.0ms (0.5% of total)ival-assert: 7.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 242 | 0 | - | 0 | - | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 10 | 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 | 0 | - | 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 | 242 | 0 |
/.f64 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | o/o | 10 | 0 |
| ↳ | (exp.f64 x) | overflow | 4 | |
| ↳ | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | overflow | 10 | |
| ↳ | (exp.f64 (neg.f64 x)) | overflow | 6 | |
| ↳ | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | overflow | 10 | |
| ↳ | (exp.f64 x) | overflow | 4 | |
| ↳ | (exp.f64 (neg.f64 x)) | overflow | 6 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 252 | 0 |
| - | 0 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 252 | 0 | 0 |
| - | 0 | 0 | 4 |
| number | freq |
|---|---|
| 0 | 4 |
| 1 | 252 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 263.0ms | 198× | 2 | valid |
| 58.0ms | 266× | 1 | valid |
| 3.0ms | 48× | 0 | valid |
Compiled 83 to 25 computations (69.9% saved)
ival-exp: 260.0ms (88.4% of total)adjust: 11.0ms (3.7% of total)ival-div: 9.0ms (3.1% of total)ival-add: 6.0ms (2% of total)ival-sub: 5.0ms (1.7% of total)ival-neg: 2.0ms (0.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| 1× | egg-herbie |
| 528× | lower-fma.f64 |
| 528× | lower-fma.f32 |
| 336× | lower-*.f64 |
| 336× | lower-*.f32 |
| 320× | div-sub |
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.6% | (/.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)))) |
| 528× | lower-fma.f64 |
| 528× | lower-fma.f32 |
| 336× | lower-*.f64 |
| 336× | lower-*.f32 |
| 224× | lower-/.f32 |
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 x) | |
| accuracy | 0.0078125 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | |
| accuracy | 2.433621260508252 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | |
| accuracy | 55.40737690909747 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 47.0ms | 99× | 2 | valid |
| 29.0ms | 133× | 1 | valid |
| 2.0ms | 24× | 0 | valid |
Compiled 35 to 9 computations (74.3% saved)
ival-exp: 44.0ms (65.7% of total)ival-add: 10.0ms (14.9% of total)adjust: 5.0ms (7.5% of total)ival-div: 4.0ms (6% of total)ival-sub: 3.0ms (4.5% of total)ival-neg: 1.0ms (1.5% 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>) () ()) |
#s(alt (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (+.f64 (exp.f64 x) (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 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 (+ 2 (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 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (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 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (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 (/ (- (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 (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) (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>) () ())) ()) |
#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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((/ (- (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.0ms | x | @ | inf | ((/ (- (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.0ms | x | @ | -inf | ((/ (- (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× | egg-herbie |
| 12 890× | lower-fma.f64 |
| 12 890× | lower-fma.f32 |
| 4 156× | lower-*.f64 |
| 4 156× | lower-*.f32 |
| 2 544× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 90 | 425 |
| 1 | 259 | 424 |
| 2 | 604 | 414 |
| 3 | 1672 | 414 |
| 4 | 2645 | 414 |
| 5 | 4176 | 414 |
| 6 | 4889 | 414 |
| 7 | 6516 | 414 |
| 0 | 8145 | 386 |
| 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))) |
2 |
(+ 2 (pow x 2)) |
(+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2))))) |
(+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (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)))) |
(- (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 (neg x))) |
(+ (exp x) (exp (neg x))) |
(+ (exp x) (exp (neg x))) |
(+ (exp 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)) |
(+ (exp x) (exp (* -1 x))) |
(+ (exp x) (exp (* -1 x))) |
(+ (exp x) (exp (* -1 x))) |
(+ (exp 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)) |
2 |
#s(literal 2 binary64) |
(+ 2 (pow x 2)) |
(fma.f64 x x #s(literal 2 binary64)) |
(+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/12 binary64) x) x #s(literal 2 binary64)) |
(+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2))))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/360 binary64) (fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/12 binary64) x) x #s(literal 2 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 (neg x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (neg x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (neg x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (neg 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))) (+ (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)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
| 3 904× | lower-*.f64 |
| 3 904× | lower-*.f32 |
| 3 826× | lower-/.f32 |
| 3 824× | lower-/.f64 |
| 2 870× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 30 |
| 0 | 13 | 15 |
| 1 | 55 | 15 |
| 2 | 424 | 15 |
| 3 | 7080 | 15 |
| 0 | 8062 | 15 |
| 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)) |
(+.f64 (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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 17 243 to 1 765 computations (89.8% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 744 | 3 | 747 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 745 | 3 | 748 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 96.1% | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ▶ | 100.0% | (tanh.f64 x) |
| ▶ | 95.1% | #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 14 to 12 computations (14.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | (sinh.f64 x) | |
| cost-diff | 7104 | (/.f64 (sinh.f64 x) (cosh.f64 x)) | |
| cost-diff | 0 | (tanh.f64 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)) |
| 5 802× | lower-fma.f32 |
| 5 800× | lower-fma.f64 |
| 3 504× | lower-*.f64 |
| 3 504× | lower-*.f32 |
| 1 670× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 45 |
| 0 | 23 | 31 |
| 1 | 54 | 31 |
| 2 | 103 | 31 |
| 3 | 168 | 31 |
| 4 | 326 | 31 |
| 5 | 751 | 31 |
| 6 | 2203 | 31 |
| 7 | 4611 | 31 |
| 0 | 8146 | 31 |
| 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) |
(tanh.f64 x) |
x |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(sinh.f64 x) |
x |
(cosh.f64 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) |
(tanh.f64 x) |
x |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(tanh.f64 x) |
(sinh.f64 x) |
x |
(cosh.f64 x) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (cosh.f64 x) | |
| accuracy | 0.00390625 | (sinh.f64 x) | |
| accuracy | 2.433621260508252 | (/.f64 (sinh.f64 x) (cosh.f64 x)) | |
| accuracy | 0.015625 | (tanh.f64 x) | |
| accuracy | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| accuracy | 0.02734375 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) | |
| accuracy | 3.1269576297414985 | #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)) |
| 69.0ms | 99× | 2 | valid |
| 52.0ms | 133× | 1 | valid |
| 4.0ms | 24× | 0 | valid |
Compiled 41 to 18 computations (56.1% saved)
ival-exp: 50.0ms (45.9% of total)adjust: 19.0ms (17.4% of total)const: 13.0ms (11.9% of total)ival-div: 9.0ms (8.3% of total)ival-add: 4.0ms (3.7% of total)ival-sub: 3.0ms (2.8% of total)ival-pow: 3.0ms (2.8% of total)ival-cosh: 2.0ms (1.8% of total)ival-mult: 2.0ms (1.8% of total)ival-tanh: 1.0ms (0.9% of total)ival-sinh: 1.0ms (0.9% of total)ival-neg: 1.0ms (0.9% 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 (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ()) |
#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ()) |
#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ()) |
#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<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 (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 x (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.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 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/6 (pow x 2)))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 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 (/ (- (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) (/ 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 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 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 (/ (- (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) (/ 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 (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 17.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x)) |
| 3.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x)) |
| 2.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x)) |
| 1× | egg-herbie |
| 17 474× | lower-fma.f64 |
| 17 474× | lower-fma.f32 |
| 3 856× | lower-*.f64 |
| 3 856× | lower-*.f32 |
| 2 998× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 792 |
| 1 | 234 | 750 |
| 2 | 589 | 750 |
| 3 | 1668 | 750 |
| 4 | 3191 | 750 |
| 5 | 6186 | 750 |
| 0 | 9246 | 711 |
| 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)))) |
x |
(* x (+ 1 (* 1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (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) (/ 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)))) |
(/ (- (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)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp 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)))) |
(* -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) (/ 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)))) |
(/ (- (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)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp 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) |
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) |
x |
(* x (+ 1 (* 1/6 (pow x 2)))) |
(fma.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) |
(fma.f64 (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(/ (- (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) (/ 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))) |
(/ (- (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))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (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))) (+ (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) (/ 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))) |
(/ (- (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))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
| 5 330× | lower-fma.f32 |
| 5 328× | lower-fma.f64 |
| 5 216× | lower-*.f64 |
| 5 216× | lower-*.f32 |
| 4 304× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 40 |
| 0 | 23 | 26 |
| 1 | 103 | 26 |
| 2 | 713 | 26 |
| 0 | 8937 | 26 |
| 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)) |
(tanh.f64 x) |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(sinh.f64 x) |
(cosh.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 19 857 to 1 356 computations (93.2% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 910 | 3 | 913 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 911 | 5 | 916 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 96.1% | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ▶ | 95.7% | (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
| ✓ | 100.0% | (tanh.f64 x) |
| ▶ | 95.1% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
| ▶ | 95.1% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
Compiled 45 to 30 computations (33.3% saved)
| 1× | egg-herbie |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (sinh.f64 x) | |
| cost-diff | 0 | (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) | |
| cost-diff | -5824 | (*.f64 (*.f64 x x) x) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) | |
| cost-diff | -5824 | (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) | |
| cost-diff | 0 | (*.f64 #s(literal -1/3 binary64) x) | |
| cost-diff | 0 | (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
| 9 362× | lower-fma.f32 |
| 9 352× | lower-fma.f64 |
| 2 866× | lower-*.f32 |
| 2 858× | lower-*.f64 |
| 2 518× | lower--.f64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 164 |
| 0 | 43 | 164 |
| 1 | 83 | 154 |
| 2 | 133 | 154 |
| 3 | 282 | 154 |
| 4 | 609 | 154 |
| 5 | 1162 | 154 |
| 6 | 1773 | 154 |
| 7 | 2559 | 154 |
| 8 | 3924 | 154 |
| 9 | 5949 | 154 |
| 0 | 8245 | 154 |
| 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 #s(literal -1/3 binary64) x) x) x x)) |
(fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) |
(*.f64 (*.f64 #s(literal -1/3 binary64) x) x) |
(*.f64 #s(literal -1/3 binary64) x) |
#s(literal -1/3 binary64) |
x |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) |
(*.f64 (*.f64 x x) x) |
(*.f64 x x) |
x |
#s(literal -1/3 binary64) |
(/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(sinh.f64 x) |
x |
#s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
#s(literal 1/720 binary64) |
(*.f64 x x) |
#s(literal 1/24 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(*.f64 (*.f64 #s(literal -1/3 binary64) x) x) |
(*.f64 #s(literal -1/3 binary64) x) |
#s(literal -1/3 binary64) |
x |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #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)) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(*.f64 (*.f64 x x) x) |
(pow.f64 x #s(literal 3 binary64)) |
(*.f64 x x) |
x |
#s(literal -1/3 binary64) |
(/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(sinh.f64 x) |
x |
#s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
#s(literal 1/720 binary64) |
(*.f64 x x) |
#s(literal 1/24 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.015625 | (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0.02734375 | (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) | |
| accuracy | 2.433621260508252 | (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) | |
| accuracy | 2.7625162577791045 | #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.02734375 | (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) | |
| accuracy | 0.10546875 | (*.f64 (*.f64 x x) x) | |
| accuracy | 3.1269576297414985 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) | |
| accuracy | 0.01953125 | (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) | |
| accuracy | 0.15234375 | (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) | |
| accuracy | 0.35546875 | (*.f64 #s(literal -1/3 binary64) x) | |
| accuracy | 3.1269576297414985 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
| 88.0ms | 99× | 2 | valid |
| 71.0ms | 133× | 1 | valid |
| 6.0ms | 24× | 0 | valid |
Compiled 122 to 31 computations (74.6% saved)
ival-exp: 47.0ms (38% of total)adjust: 21.0ms (17% of total)ival-mult: 19.0ms (15.4% of total)ival-add: 12.0ms (9.7% of total)const: 12.0ms (9.7% of total)ival-div: 5.0ms (4% of total)ival-sub: 3.0ms (2.4% of total)ival-cosh: 2.0ms (1.6% of total)ival-neg: 1.0ms (0.8% of total)ival-sinh: 1.0ms (0.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ()) |
#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ()) |
#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ()) |
#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 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 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor 0 x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) 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 (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<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 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/6 (pow x 2)))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) (taylor 0 x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) (taylor 0 x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1/24 (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/24 (* 1/720 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/24 (* 1/720 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/24 (* 1/720 (pow x 2))) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 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 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) 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 (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/720 (pow x 6)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (+ (* 1/24 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/720 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 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 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) (patch (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 x) (taylor -inf x) (#s(alt (*.f64 #s(literal -1/3 binary64) x) (patch (*.f64 #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 #s(literal -1/3 binary64) x) x) x x) (patch (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x 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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #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 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) 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 (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (patch (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) (patch #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/720 (pow x 6)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (+ (* 1/24 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/720 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (patch (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (* -1/3 x) x) (* -1/3 x) (+ (* (* (* -1/3 x) x) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (* x x) x) -1/3) x) (* x x) (* (* x x) x) (/ (sinh x) (cosh x)) (sinh x) (cosh x) (+ (* (+ (* (+ (* 1/720 (* x x)) 1/24) (* x x)) 1/2) (* x x)) 1) (+ (* 1/720 (* x x)) 1/24)) |
| 3.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (* -1/3 x) x) (* -1/3 x) (+ (* (* (* -1/3 x) x) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (* x x) x) -1/3) x) (* x x) (* (* x x) x) (/ (sinh x) (cosh x)) (sinh x) (cosh x) (+ (* (+ (* (+ (* 1/720 (* x x)) 1/24) (* x x)) 1/2) (* x x)) 1) (+ (* 1/720 (* x x)) 1/24)) |
| 1.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (* (* -1/3 x) x) (* -1/3 x) (+ (* (* (* -1/3 x) x) x) x) (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (* x x) x) -1/3) x) (* x x) (* (* x x) x) (/ (sinh x) (cosh x)) (sinh x) (cosh x) (+ (* (+ (* (+ (* 1/720 (* x x)) 1/24) (* x x)) 1/2) (* x x)) 1) (+ (* 1/720 (* x x)) 1/24)) |
| 1× | egg-herbie |
| 10 370× | lower-fma.f64 |
| 10 370× | lower-fma.f32 |
| 4 306× | lower-*.f64 |
| 4 306× | lower-*.f32 |
| 1 910× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 102 | 1242 |
| 1 | 292 | 1182 |
| 2 | 726 | 1174 |
| 3 | 2007 | 1174 |
| 4 | 5271 | 1174 |
| 0 | 8288 | 1103 |
| 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)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(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/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
1/24 |
(+ 1/24 (* 1/720 (pow x 2))) |
(+ 1/24 (* 1/720 (pow x 2))) |
(+ 1/24 (* 1/720 (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)))) |
(* -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 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ (- (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)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/720 (pow x 6)) |
(* (pow x 6) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (+ (* 1/24 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* 1/720 (pow x 2)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 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)))) |
(* -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)))) |
(* -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 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ (- (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)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/720 (pow x 6)) |
(* (pow x 6) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (+ (* 1/24 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* 1/720 (pow x 2)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
| 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) |
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 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x 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/6 (pow x 2)))) |
(fma.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) |
(fma.f64 (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
1/24 |
#s(literal 1/24 binary64) |
(+ 1/24 (* 1/720 (pow x 2))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(+ 1/24 (* 1/720 (pow x 2))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(+ 1/24 (* 1/720 (pow x 2))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 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))) |
(* -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 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x 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) (/ 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))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/720 (pow x 6)) |
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/720 binary64)) |
(* (pow x 6) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/720 binary64))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (+ (* 1/24 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/720 binary64) #s(literal 1 binary64))) |
(* 1/720 (pow x 2)) |
(*.f64 #s(literal 1/720 binary64) (*.f64 x x)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 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))) |
(* -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 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x 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) (/ 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))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/720 (pow x 6)) |
(*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/720 binary64)) |
(* (pow x 6) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (* 1/24 (/ 1 (pow x 2)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/720 binary64))) |
(* (pow x 6) (+ 1/720 (+ (/ 1/2 (pow x 4)) (+ (* 1/24 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/720 binary64) #s(literal 1 binary64))) |
(* 1/720 (pow x 2)) |
(*.f64 #s(literal 1/720 binary64) (*.f64 x x)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
(* (pow x 2) (+ 1/720 (* 1/24 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) |
| 6 410× | lower-fma.f32 |
| 6 400× | lower-fma.f64 |
| 4 464× | lower-*.f32 |
| 4 456× | lower-*.f64 |
| 4 094× | lower-/.f32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 141 |
| 0 | 43 | 117 |
| 1 | 179 | 109 |
| 2 | 1317 | 109 |
| 0 | 8559 | 109 |
| 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 #s(literal -1/3 binary64) x) x) x x)) |
(*.f64 (*.f64 #s(literal -1/3 binary64) x) x) |
(*.f64 #s(literal -1/3 binary64) x) |
(fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) |
(*.f64 x x) |
(*.f64 (*.f64 x x) x) |
(/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(sinh.f64 x) |
#s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 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> |
Compiled 11 679 to 1 180 computations (89.9% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 511 | 0 | 511 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 2 | 2 |
| Total | 511 | 5 | 516 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 96.1% | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 95.7% | (/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
| ✓ | 100.0% | (tanh.f64 x) |
| ✓ | 95.1% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
| ✓ | 95.1% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
Compiled 110 to 63 computations (42.7% saved)
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) 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)) |
(/.f64 (sinh.f64 x) #s(approx (cosh x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(/.f64 (sinh.f64 x) (cosh.f64 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 |
| 2.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)
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 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) 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 |
|---|---|---|
| 95.1% | 1 | x |
| 95.1% | 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 |
| 4× | *-commutative-binary64-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 24 |
| 1 | 15 | 24 |
| 1× | saturated |
| Inputs |
|---|
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
| Outputs |
|---|
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/3 binary64) x) x) x x)) |
| 12 890× | lower-fma.f64 |
| 12 890× | lower-fma.f32 |
| 5 330× | lower-fma.f32 |
| 5 328× | lower-fma.f64 |
| 5 216× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 30 |
| 0 | 13 | 15 |
| 1 | 55 | 15 |
| 2 | 424 | 15 |
| 3 | 7080 | 15 |
| 0 | 8062 | 15 |
| 0 | 16 | 40 |
| 0 | 23 | 26 |
| 1 | 103 | 26 |
| 2 | 713 | 26 |
| 0 | 8937 | 26 |
| 0 | 90 | 425 |
| 1 | 259 | 424 |
| 2 | 604 | 414 |
| 3 | 1672 | 414 |
| 4 | 2645 | 414 |
| 5 | 4176 | 414 |
| 6 | 4889 | 414 |
| 7 | 6516 | 414 |
| 0 | 8145 | 386 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 39 to 26 computations (33.3% saved)
(negabs x)
Compiled 52 to 32 computations (38.5% saved)
Loading profile data...