
Time bar (total: 4.8s)
| 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 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 66.7% | 50% | 25% | 0% | 0% | 25% | 0% | 3 |
| 83.3% | 62.5% | 12.5% | 0% | 0% | 25% | 0% | 4 |
| 91.7% | 68.7% | 6.2% | 0% | 0% | 25% | 0% | 5 |
| 95.8% | 71.8% | 3.1% | 0% | 0% | 25% | 0% | 6 |
| 97.9% | 73.4% | 1.6% | 0% | 0% | 25% | 0% | 7 |
| 99% | 74.2% | 0.8% | 0% | 0% | 25% | 0% | 8 |
| 99.5% | 74.6% | 0.4% | 0% | 0% | 25% | 0% | 9 |
| 99.7% | 74.8% | 0.2% | 0% | 0% | 25% | 0% | 10 |
| 99.9% | 74.9% | 0.1% | 0% | 0% | 25% | 0% | 11 |
| 99.9% | 74.9% | 0% | 0% | 0% | 25% | 0% | 12 |
Compiled 10 to 8 computations (20% saved)
| 446.0ms | 8 255× | 0 | valid |
| 0.0ms | 1× | 2 | valid |
| 0.0ms | 3× | 0 | invalid |
ival-sqrt: 107.0ms (40.7% of total)ival-add: 87.0ms (33.1% of total)ival-div: 56.0ms (21.3% of total)ival-true: 6.0ms (2.3% of total)exact: 4.0ms (1.5% of total)ival-assert: 3.0ms (1.1% of total)adjust: 0.0ms (0% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (sqrt.f64 (+.f64 x #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 48.0ms | 512× | 0 | valid |
Compiled 58 to 22 computations (62.1% saved)
ival-add: 28.0ms (77.5% of total)ival-sqrt: 4.0ms (11.1% of total)ival-div: 3.0ms (8.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 44× | associate-*l* |
| 42× | distribute-lft-neg-in |
| 42× | times-frac |
| 38× | unsub-neg |
| 36× | sub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 23 | 17 |
| 2 | 51 | 16 |
| 3 | 110 | 16 |
| 4 | 221 | 16 |
| 5 | 333 | 16 |
| 6 | 361 | 16 |
| 7 | 377 | 16 |
| 8 | 390 | 16 |
| 0 | 6 | 8 |
| 0 | 10 | 8 |
| 1 | 14 | 8 |
| 0 | 14 | 8 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| Outputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
(/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) |
Compiled 8 to 6 computations (25% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.7% | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) | |
| cost-diff | 0 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 8× | lower-+.f32 |
| 4× | lift-+.f64 |
| 4× | lower-+.f64 |
| 4× | +-commutative |
| 2× | lift-sqrt.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 23 |
| 0 | 10 | 23 |
| 1 | 14 | 23 |
| 0 | 14 | 23 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
x |
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) |
#s(literal 1 binary64) |
(sqrt.f64 (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
(/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) |
x |
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) |
(+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(sqrt.f64 (+.f64 x #s(literal 1 binary64))) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 x #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) | |
| accuracy | 0.015625 | (sqrt.f64 (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.1796875 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 15.0ms | 256× | 0 | valid |
Compiled 25 to 8 computations (68% saved)
ival-add: 3.0ms (42.4% of total)ival-div: 2.0ms (28.3% of total)ival-sqrt: 2.0ms (28.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ()) |
#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ()) |
#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt 2 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 1/2 x)) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1)) |
| 2.0ms | x | @ | 0 | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1)) |
| 2.0ms | x | @ | inf | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1)) |
| 1× | egg-herbie |
| 18 662× | lower-fma.f64 |
| 18 662× | lower-fma.f32 |
| 3 776× | lower-*.f64 |
| 3 776× | lower-*.f32 |
| 2 642× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 161 | 600 |
| 1 | 485 | 505 |
| 2 | 1630 | 483 |
| 3 | 5408 | 474 |
| 0 | 8354 | 430 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
2 |
(+ 2 (* 1/2 x)) |
(+ 2 (* x (+ 1/2 (* -1/8 x)))) |
(+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
1 |
(+ 1 (* 1/2 x)) |
(+ 1 (* x (+ 1/2 (* -1/8 x)))) |
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (/ 1 x))) |
(* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
2 |
#s(literal 2 binary64) |
(+ 2 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(+ 2 (* x (+ 1/2 (* -1/8 x)))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 2 binary64)) |
(+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 2 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 1/2 (* -1/8 x)))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal 1 binary64)) |
(* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal 1 binary64)) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal 1 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (+.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x) (neg.f64 x)) (sqrt.f64 x)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal 1 binary64)) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(-.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal -1 binary64))) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal 1/2 binary64))) x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) |
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
| 3 950× | lower-fma.f64 |
| 3 950× | lower-fma.f32 |
| 3 308× | lower-/.f32 |
| 3 306× | lower-/.f64 |
| 2 908× | lower-*.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 0 | 10 | 21 |
| 1 | 46 | 21 |
| 2 | 315 | 20 |
| 3 | 3400 | 20 |
| 0 | 8278 | 20 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) |
(sqrt.f64 (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 9 770 to 2 141 computations (78.1% saved)
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 513 | 7 | 520 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 513 | 8 | 521 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| ▶ | 69.7% | (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
| 37.8% | (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) | |
| ▶ | 32.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| 69.1% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) | |
| ▶ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ▶ | 68.8% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ▶ | 33.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 94 to 82 computations (12.8% saved)
| 1× | egg-herbie |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) | |
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) | |
| cost-diff | 0 | (*.f64 x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) | |
| cost-diff | 0 | (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
| 24× | lower-+.f64 |
| 24× | lower-+.f32 |
| 22× | lower-*.f32 |
| 20× | lower-fma.f32 |
| 18× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 111 |
| 0 | 29 | 111 |
| 1 | 41 | 111 |
| 2 | 48 | 111 |
| 3 | 51 | 111 |
| 0 | 51 | 111 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
x |
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
#s(literal 1/2 binary64) |
#s(literal 2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(*.f64 x #s(literal 1/2 binary64)) |
x |
#s(literal 1/2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
#s(literal -1/8 binary64) |
x |
#s(literal 1/2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(sqrt.f64 x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 #s(literal 1/2 binary64) x #s(literal 2 binary64)))) |
x |
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) |
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 #s(literal 1/2 binary64) x #s(literal 2 binary64))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 2 binary64)) |
#s(literal 1/2 binary64) |
#s(literal 2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 x #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) x) |
x |
#s(literal 1/2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
#s(literal -1/8 binary64) |
x |
#s(literal 1/2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(sqrt.f64 x) |
x |
#s(literal 1 binary64) |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) | |
| accuracy | 0 | (sqrt.f64 x) | |
| accuracy | 17.66132146643238 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) | |
| accuracy | 0 | (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) | |
| accuracy | 20.456054548508178 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) | |
| accuracy | 0 | (sqrt.f64 x) | |
| accuracy | 17.18322418989367 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) | |
| accuracy | 0 | (*.f64 x #s(literal 1/2 binary64)) | |
| accuracy | 19.585525105387877 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) | |
| accuracy | 0 | (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) | |
| accuracy | 0.17578125 | (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) | |
| accuracy | 19.204855215684645 | #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) |
| 16.0ms | 154× | 0 | valid |
| 12.0ms | 102× | 0 | invalid |
Compiled 87 to 18 computations (79.3% saved)
ival-add: 5.0ms (29.4% of total)ival-mult: 4.0ms (23.5% of total)ival-sqrt: 4.0ms (23.5% of total)ival-div: 2.0ms (11.8% of total)ival-sub: 1.0ms (5.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ()) |
#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt 2 (taylor 0 x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 1/2 x)) (taylor 0 x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 2 (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 1/2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 1/2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 1/2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt 1/2 (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) (taylor inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/8 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/8 x) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) (patch (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) (patch #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/8 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/8 x) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (+ (* x 1/2) 2) (/ x (+ 1 (sqrt (+ x 1)))) (* x 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (sqrt x) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* -1/8 x) 1/2) x) (+ (* -1/8 x) 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (- (sqrt x) 1)) |
| 1.0ms | x | @ | inf | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (+ (* x 1/2) 2) (/ x (+ 1 (sqrt (+ x 1)))) (* x 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (sqrt x) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* -1/8 x) 1/2) x) (+ (* -1/8 x) 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (- (sqrt x) 1)) |
| 1.0ms | x | @ | 0 | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (+ (* x 1/2) 2) (/ x (+ 1 (sqrt (+ x 1)))) (* x 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (sqrt x) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* -1/8 x) 1/2) x) (+ (* -1/8 x) 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (- (sqrt x) 1)) |
| 1× | egg-herbie |
| 23 318× | lower-fma.f64 |
| 23 318× | lower-fma.f32 |
| 3 980× | lower-*.f64 |
| 3 980× | lower-*.f32 |
| 3 700× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 141 | 1447 |
| 1 | 420 | 1208 |
| 2 | 1371 | 1125 |
| 3 | 4099 | 1101 |
| 0 | 8672 | 1002 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
2 |
(+ 2 (* 1/2 x)) |
(+ 2 (* x (+ 1/2 (* -1/8 x)))) |
(+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
2 |
(+ 2 (* 1/2 x)) |
(+ 2 (* 1/2 x)) |
(+ 2 (* 1/2 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* -1/8 x))) |
1/2 |
(+ 1/2 (* -1/8 x)) |
(+ 1/2 (* -1/8 x)) |
(+ 1/2 (* -1/8 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(- (sqrt x) 1) |
(- (sqrt x) 1) |
(- (sqrt x) 1) |
(- (sqrt x) 1) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (/ 1 x))) |
(* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) |
(* 1/2 x) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(* -1/8 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* -1/8 x) |
(* x (- (* 1/2 (/ 1 x)) 1/8)) |
(* x (- (* 1/2 (/ 1 x)) 1/8)) |
(* x (- (* 1/2 (/ 1 x)) 1/8)) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(sqrt x) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* 1/2 x) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* -1/8 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* -1/8 x) |
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) |
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) |
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
2 |
#s(literal 2 binary64) |
(+ 2 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(+ 2 (* x (+ 1/2 (* -1/8 x)))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 2 binary64)) |
(+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 2 binary64)) |
2 |
#s(literal 2 binary64) |
(+ 2 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(+ 2 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(+ 2 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* -1/8 x)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(+ 1/2 (* -1/8 x)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(+ 1/2 (* -1/8 x)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64))) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal 1 binary64)) |
(* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal 1 binary64)) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal 1 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64))) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64))) |
(* -1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/8 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* -1/8 x) |
(*.f64 #s(literal -1/8 binary64) x) |
(* x (- (* 1/2 (/ 1 x)) 1/8)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(* x (- (* 1/2 (/ 1 x)) 1/8)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(* x (- (* 1/2 (/ 1 x)) 1/8)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64))) |
(sqrt x) |
(sqrt.f64 x) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal 1 binary64)) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(-.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal -1 binary64))) |
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal 1/2 binary64))) x))) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(* x (+ 1/2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(* -1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/8 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* -1/8 x) |
(*.f64 #s(literal -1/8 binary64) x) |
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
| 8 384× | lower-fma.f32 |
| 8 380× | lower-fma.f64 |
| 4 582× | lower-*.f32 |
| 4 578× | lower-*.f64 |
| 3 514× | lower-/.f32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 98 |
| 0 | 29 | 98 |
| 1 | 117 | 98 |
| 2 | 761 | 94 |
| 3 | 7532 | 94 |
| 0 | 8275 | 94 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 890 to 1 506 computations (80.9% saved)
9 alts after pruning (3 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 563 | 1 | 564 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 1 | 1 |
| Total | 563 | 9 | 572 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| ✓ | 69.7% | (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
| ▶ | 37.8% | (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
| ▶ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 32.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ▶ | 69.1% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
| ✓ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ✓ | 68.8% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ✓ | 33.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 60 to 51 computations (15% saved)
| 1× | egg-herbie |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) | |
| cost-diff | 128 | (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) | |
| cost-diff | 320 | (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) | |
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
| 1 608× | lower-fma.f32 |
| 1 602× | lower-fma.f64 |
| 680× | lower-*.f32 |
| 674× | lower-*.f64 |
| 416× | distribute-lft-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 98 |
| 0 | 34 | 98 |
| 1 | 54 | 95 |
| 2 | 92 | 95 |
| 3 | 141 | 95 |
| 4 | 208 | 95 |
| 5 | 230 | 95 |
| 6 | 251 | 95 |
| 7 | 271 | 95 |
| 8 | 301 | 95 |
| 9 | 361 | 95 |
| 10 | 614 | 95 |
| 11 | 1543 | 95 |
| 12 | 2058 | 95 |
| 13 | 2765 | 95 |
| 14 | 2769 | 95 |
| 15 | 2769 | 95 |
| 16 | 2770 | 95 |
| 0 | 2770 | 93 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
#s(literal 1/16 binary64) |
x |
#s(literal -1/8 binary64) |
#s(literal 1/2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 x x) |
x |
#s(literal -1/8 binary64) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
#s(literal 1 binary64) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 #s(literal 1 binary64) x) |
x |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
#s(literal 1/16 binary64) |
x |
#s(literal -1/8 binary64) |
#s(literal 1/2 binary64) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(*.f64 x x) |
x |
#s(literal -1/8 binary64) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(-.f64 (sqrt.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
(-.f64 #s(literal 1 binary64) (sqrt.f64 (-.f64 x #s(literal -1 binary64)))) |
#s(literal 1 binary64) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(sqrt.f64 (-.f64 x #s(literal -1 binary64))) |
(+.f64 #s(literal 1 binary64) x) |
(-.f64 x #s(literal -1 binary64)) |
x |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 #s(literal 1 binary64) x) | |
| accuracy | 0 | (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) | |
| accuracy | 0.015625 | (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) | |
| accuracy | 39.79578374849219 | (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0.00390625 | (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) | |
| accuracy | 20.640431429107906 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) | |
| accuracy | 0 | (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) | |
| accuracy | 0.00390625 | (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) | |
| accuracy | 0.05078125 | (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) | |
| accuracy | 19.766786553519292 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
| 28.0ms | 98× | 1 | valid |
| 26.0ms | 69× | 2 | valid |
| 15.0ms | 89× | 0 | valid |
Compiled 87 to 24 computations (72.4% saved)
ival-mult: 13.0ms (25.6% of total)adjust: 12.0ms (23.6% of total)ival-add: 12.0ms (23.6% of total)ival-sqrt: 6.0ms (11.8% of total)ival-div: 2.0ms (3.9% of total)ival-sub: 2.0ms (3.9% of total)ival-neg: 2.0ms (3.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 (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ()) |
#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ()) |
#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ()) |
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt 1/2 (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* x (- (* 1/16 x) 1/8))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1/2 (* x (- (* 1/16 x) 1/8))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1/8 (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 1/16 x) 1/8) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 1/16 x) 1/8) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 1/16 x) 1/8) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 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 (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/2 x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/8 x) 1/2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* x (+ 1/8 (* -1/16 x))) 1/2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* x (+ 1/8 (* x (- (* 5/128 x) 1/16)))) 1/2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/16 (pow x 3)) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/16 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/16 x) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/8 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 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 (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) (sqrt (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)) (sqrt (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ (* 1/8 (sqrt (/ 1 (pow x 5)))) (/ 1 x)) (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/16 (pow x 3)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/16 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/16 x) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/8 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 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 (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* (sqrt x) (pow (sqrt -1) 2)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ (+ 1 (* 1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ (+ 1 (* -1 (/ (- (* 1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* (+ (* 1/16 x) -1/8) x) 1/2) x) (+ (* (+ (* 1/16 x) -1/8) x) 1/2) (+ (* 1/16 x) -1/8) (+ (* (* x x) -1/8) (* 1/2 x)) (/ x (+ 1 (sqrt (+ x 1)))) (* x x) (* 1/2 x) (neg (- 1 (sqrt (+ 1 x)))) (- 1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x)) |
| 2.0ms | x | @ | 0 | ((/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* (+ (* 1/16 x) -1/8) x) 1/2) x) (+ (* (+ (* 1/16 x) -1/8) x) 1/2) (+ (* 1/16 x) -1/8) (+ (* (* x x) -1/8) (* 1/2 x)) (/ x (+ 1 (sqrt (+ x 1)))) (* x x) (* 1/2 x) (neg (- 1 (sqrt (+ 1 x)))) (- 1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x)) |
| 2.0ms | x | @ | inf | ((/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* (+ (* 1/16 x) -1/8) x) 1/2) x) (+ (* (+ (* 1/16 x) -1/8) x) 1/2) (+ (* 1/16 x) -1/8) (+ (* (* x x) -1/8) (* 1/2 x)) (/ x (+ 1 (sqrt (+ x 1)))) (* x x) (* 1/2 x) (neg (- 1 (sqrt (+ 1 x)))) (- 1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x)) |
| 1× | egg-herbie |
| 11 834× | lower-fma.f64 |
| 11 834× | lower-fma.f32 |
| 3 516× | lower-+.f64 |
| 3 516× | lower-+.f32 |
| 3 088× | lower--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 230 | 1429 |
| 1 | 690 | 1258 |
| 2 | 2341 | 1208 |
| 3 | 6538 | 1199 |
| 0 | 8367 | 1122 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
1/2 |
(+ 1/2 (* -1/8 x)) |
(+ 1/2 (* x (- (* 1/16 x) 1/8))) |
(+ 1/2 (* x (- (* 1/16 x) 1/8))) |
-1/8 |
(- (* 1/16 x) 1/8) |
(- (* 1/16 x) 1/8) |
(- (* 1/16 x) 1/8) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* -1/8 x))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(* -1/2 x) |
(* x (- (* 1/8 x) 1/2)) |
(* x (- (* x (+ 1/8 (* -1/16 x))) 1/2)) |
(* x (- (* x (+ 1/8 (* x (- (* 5/128 x) 1/16)))) 1/2)) |
1 |
(+ 1 (* 1/2 x)) |
(+ 1 (* x (+ 1/2 (* -1/8 x)))) |
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(* 1/16 (pow x 3)) |
(* (pow x 3) (- 1/16 (* 1/8 (/ 1 x)))) |
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(* 1/16 (pow x 2)) |
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) |
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(* 1/16 x) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(* -1/8 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(sqrt x) |
(- (sqrt x) 1) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(sqrt x) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) |
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) |
(* -1 (sqrt x)) |
(* x (- (/ 1 x) (sqrt (/ 1 x)))) |
(* x (- (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)) (sqrt (/ 1 x)))) |
(* x (- (+ (* 1/8 (sqrt (/ 1 (pow x 5)))) (/ 1 x)) (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(* 1/16 (pow x 3)) |
(* -1 (* (pow x 3) (- (* 1/8 (/ 1 x)) 1/16))) |
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) |
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) |
(* 1/16 (pow x 2)) |
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) |
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) |
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) |
(* 1/16 x) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(* -1/8 (pow x 2)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(* -1 (sqrt x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* (sqrt x) (pow (sqrt -1) 2)) |
(* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))) |
(* -1 (* x (- (* -1 (/ (+ 1 (* 1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (- (* -1 (/ (+ 1 (* -1 (/ (- (* 1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* -1/8 x)) |
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) |
(+ 1/2 (* x (- (* 1/16 x) 1/8))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(+ 1/2 (* x (- (* 1/16 x) 1/8))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
-1/8 |
#s(literal -1/8 binary64) |
(- (* 1/16 x) 1/8) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(- (* 1/16 x) 1/8) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(- (* 1/16 x) 1/8) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* -1/2 x) |
(*.f64 #s(literal -1/2 binary64) x) |
(* x (- (* 1/8 x) 1/2)) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal -1/2 binary64)) x) |
(* x (- (* x (+ 1/8 (* -1/16 x))) 1/2)) |
(*.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) x #s(literal 1/8 binary64)) x #s(literal -1/2 binary64)) x) |
(* x (- (* x (+ 1/8 (* x (- (* 5/128 x) 1/16)))) 1/2)) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 5/128 binary64) x #s(literal -1/16 binary64)) x #s(literal 1/8 binary64)) x #s(literal -1/2 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 1/2 (* -1/8 x)))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(-.f64 (-.f64 (sqrt.f64 x) (/.f64 #s(literal -1/2 binary64) x)) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
(* 1/16 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64)) |
(* (pow x 3) (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/16 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/16 binary64)) |
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) x) |
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x)) |
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x)) |
(* 1/16 x) |
(*.f64 #s(literal 1/16 binary64) x) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) |
(* -1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/8 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x) |
(sqrt x) |
(sqrt.f64 x) |
(- (sqrt x) 1) |
(-.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) |
(fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) |
(-.f64 (-.f64 (sqrt.f64 x) (/.f64 #s(literal -1/2 binary64) x)) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64) #s(literal 1 binary64)))) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal -1 binary64)) |
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal -1 binary64)) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(* x (- (/ 1 x) (sqrt (/ 1 x)))) |
(fma.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
(* x (- (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)) (sqrt (/ 1 x)))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/2 binary64) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal 1 binary64)) |
(* x (- (+ (* 1/8 (sqrt (/ 1 (pow x 5)))) (/ 1 x)) (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(+.f64 #s(literal 1 binary64) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/2 binary64) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64)) (*.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(* 1/16 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64)) |
(* -1 (* (pow x 3) (- (* 1/8 (/ 1 x)) 1/16))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* 1/16 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/16 binary64)) |
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) x) |
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x)) |
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x)) |
(* 1/16 x) |
(*.f64 #s(literal 1/16 binary64) x) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) |
(* -1/8 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/8 binary64)) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x) |
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x) |
(* -1 (sqrt x)) |
(neg.f64 (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) |
(-.f64 #s(literal -1 binary64) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) |
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x)) |
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64)) (*.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 x)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64) #s(literal -1 binary64)) x) x (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x)) |
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal -1/2 binary64))) x) #s(literal 1 binary64))) |
(* (sqrt x) (pow (sqrt -1) 2)) |
(neg.f64 (sqrt.f64 x)) |
(* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))) |
(fma.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
(* -1 (* x (- (* -1 (/ (+ 1 (* 1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -1 (* x (- (* -1 (/ (+ 1 (* -1 (/ (- (* 1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal 1/2 binary64))) x) #s(literal -1 binary64))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) |
(*.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 binary64)))) x) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
(*.f64 (-.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) (fma.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 binary64)))) x) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
| 5 516× | lower-fma.f32 |
| 5 510× | lower-fma.f64 |
| 4 498× | lower-*.f32 |
| 4 492× | lower-*.f64 |
| 4 226× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 89 |
| 0 | 34 | 89 |
| 1 | 150 | 86 |
| 2 | 1001 | 86 |
| 0 | 8601 | 84 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
(*.f64 x x) |
(*.f64 #s(literal 1/2 binary64) x) |
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 #s(literal 1 binary64) 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> |
Compiled 11 320 to 2 086 computations (81.6% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 564 | 1 | 565 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 6 | 6 |
| Total | 565 | 9 | 574 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| ✓ | 69.7% | (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
| ▶ | 37.8% | (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
| ✓ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 32.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ✓ | 69.1% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
| ✓ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ✓ | 68.8% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ✓ | 33.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 59 to 51 computations (13.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
| 8× | lower-+.f32 |
| 4× | lift-+.f64 |
| 4× | lower-+.f64 |
| 4× | +-commutative |
| 2× | lift-sqrt.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 9 | 16 |
| 1 | 13 | 16 |
| 0 | 13 | 16 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
#s(literal -1 binary64) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
| Outputs |
|---|
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
(+.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(sqrt.f64 (+.f64 x #s(literal 1 binary64))) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.015625 | (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) | |
| accuracy | 39.79578374849219 | (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
| 10.0ms | 95× | 1 | valid |
| 9.0ms | 72× | 2 | valid |
| 4.0ms | 89× | 0 | valid |
Compiled 18 to 8 computations (55.6% saved)
ival-add: 5.0ms (40.2% of total)ival-sqrt: 4.0ms (32.2% of total)adjust: 3.0ms (24.1% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ()) |
#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ()) |
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((+ -1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x)) |
| 0.0ms | x | @ | -inf | ((+ -1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x)) |
| 0.0ms | x | @ | 0 | ((+ -1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x)) |
| 1× | egg-herbie |
| 16 374× | lower-fma.f64 |
| 16 374× | lower-fma.f32 |
| 3 902× | lower-*.f64 |
| 3 902× | lower-*.f32 |
| 2 204× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 110 | 415 |
| 1 | 312 | 375 |
| 2 | 912 | 358 |
| 3 | 2749 | 347 |
| 4 | 6280 | 347 |
| 0 | 8165 | 312 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(* x (+ 1/2 (* -1/8 x))) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
1 |
(+ 1 (* 1/2 x)) |
(+ 1 (* x (+ 1/2 (* -1/8 x)))) |
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(sqrt x) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) |
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* -1/8 x))) |
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 x)) |
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 1/2 (* -1/8 x)))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(sqrt x) |
(sqrt.f64 x) |
(* x (- (sqrt (/ 1 x)) (/ 1 x))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal -1 binary64)) |
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal -1 binary64)) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) |
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64)) |
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64))) |
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/8 binary64) (*.f64 #s(literal -1/2 binary64) (sqrt.f64 x))) x) #s(literal 1 binary64))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) |
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
| 4 752× | lower-fma.f64 |
| 4 752× | lower-fma.f32 |
| 3 448× | lower-/.f64 |
| 3 448× | lower-/.f32 |
| 2 796× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 40 | 13 |
| 2 | 261 | 13 |
| 3 | 2585 | 13 |
| 0 | 9376 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
(sqrt.f64 (+.f64 #s(literal 1 binary64) x)) |
(+.f64 #s(literal 1 binary64) 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> |
Compiled 11 637 to 2 188 computations (81.2% saved)
12 alts after pruning (3 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 636 | 3 | 639 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 8 | 8 |
| Total | 636 | 12 | 648 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| ✓ | 69.7% | (/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
| ✓ | 37.8% | (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
| 5.7% | (+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))) | |
| 7.4% | (+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) | |
| 4.5% | (+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) | |
| ✓ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 32.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ✓ | 69.1% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
| ✓ | 67.7% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ✓ | 68.8% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ✓ | 33.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 167 to 116 computations (30.5% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| Outputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
2 calls:
| 4.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | x |
| 99.7% | 1 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))) |
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) |
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
2 calls:
| 21.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 2 | x |
| 99.7% | 2 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) |
2 calls:
| 3.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 2 | x |
| 99.6% | 2 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
2 calls:
| 6.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 2 | x |
| 99.5% | 2 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
2 calls:
| 3.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 2 | x |
| 99.4% | 2 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
2 calls:
| 5.0ms | x |
| 2.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.9% | 2 | x |
| 98.9% | 2 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
2 calls:
| 2.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.1% | 2 | x |
| 98.1% | 2 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 68.8% | 1 | x |
| 68.8% | 1 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
| Outputs |
|---|
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
2 calls:
| 1.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.5% | 1 | x |
| 4.5% | 1 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.245357142862682e-6 | 994880.9975080277 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.245357142862682e-6 | 994880.9975080277 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.245357142862682e-6 | 994880.9975080277 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.245357142862682e-6 | 994880.9975080277 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.245357142862682e-6 | 994880.9975080277 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.245357142862682e-6 | 994880.9975080277 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | egg-herbie |
| 12× | +-commutative-binary64-+.f64 |
| 8× | *-commutative-binary64-*.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | *-rgt-identity-binary64-*.f64 |
| 2× | 1-exp-binary32-exp.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 248 |
| 1 | 59 | 248 |
| 2 | 62 | 248 |
| 3 | 67 | 248 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
(/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))) |
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))) |
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))) |
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64))) |
(+.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal -1 binary64)) |
| 18 662× | lower-fma.f64 |
| 18 662× | lower-fma.f32 |
| 16 374× | lower-fma.f64 |
| 16 374× | lower-fma.f32 |
| 8 384× | lower-fma.f32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 89 |
| 0 | 34 | 89 |
| 1 | 150 | 86 |
| 2 | 1001 | 86 |
| 0 | 8601 | 84 |
| 0 | 161 | 600 |
| 1 | 485 | 505 |
| 2 | 1630 | 483 |
| 3 | 5408 | 474 |
| 0 | 8354 | 430 |
| 0 | 6 | 21 |
| 0 | 10 | 21 |
| 1 | 46 | 21 |
| 2 | 315 | 20 |
| 3 | 3400 | 20 |
| 0 | 8278 | 20 |
| 0 | 21 | 98 |
| 0 | 29 | 98 |
| 1 | 117 | 98 |
| 2 | 761 | 94 |
| 3 | 7532 | 94 |
| 0 | 8275 | 94 |
| 0 | 110 | 415 |
| 1 | 312 | 375 |
| 2 | 912 | 358 |
| 3 | 2749 | 347 |
| 4 | 6280 | 347 |
| 0 | 8165 | 312 |
| 1× | fuel |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 329 to 158 computations (52% saved)
Compiled 328 to 86 computations (73.8% saved)
Loading profile data...