
Time bar (total: 5.1s)
| 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)
| 535.0ms | 8 254× | 0 | valid |
| 0.0ms | 2× | 2 | valid |
ival-add: 132.0ms (38% of total)ival-sqrt: 111.0ms (31.9% of total)ival-div: 92.0ms (26.5% of total)ival-true: 6.0ms (1.7% of total)exact: 4.0ms (1.2% of total)ival-assert: 3.0ms (0.9% 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 |
| 30.0ms | 512× | 0 | valid |
Compiled 58 to 22 computations (62.1% saved)
ival-add: 7.0ms (40% of total)ival-div: 6.0ms (34.3% of total)ival-sqrt: 4.0ms (22.8% 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.8% | (/.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.00390625 | (sqrt.f64 (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.0078125 | (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) | |
| accuracy | 0.13671875 | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 14.0ms | 256× | 0 | valid |
Compiled 25 to 8 computations (68% saved)
ival-add: 3.0ms (47.6% of total)ival-div: 2.0ms (31.7% of total)ival-sqrt: 2.0ms (31.7% 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 | @ | inf | ((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1)) |
| 0.0ms | x | @ | 0 | ((/ 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)
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 513 | 7 | 520 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 514 | 7 | 521 |
| Status | Accuracy | Program |
|---|---|---|
| 56.8% | (/.f64 (*.f64 x (neg.f64 x)) (*.f64 (neg.f64 x) (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) | |
| 35.4% | (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) | |
| ▶ | 30.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ▶ | 70.6% | #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)) |
| ▶ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ▶ | 70.9% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ▶ | 31.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 100 to 82 computations (18% saved)
| 1× | egg-herbie |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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)) | |
| 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))) |
| 132× | lower-fma.f32 |
| 126× | lower-fma.f64 |
| 70× | lower-*.f32 |
| 64× | lower-*.f64 |
| 64× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 122 |
| 0 | 33 | 122 |
| 1 | 49 | 122 |
| 2 | 68 | 122 |
| 3 | 103 | 122 |
| 4 | 137 | 122 |
| 5 | 140 | 122 |
| 0 | 140 | 122 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#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) |
#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) |
| Outputs |
|---|
#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) |
#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) |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) | |
| accuracy | 0 | (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) | |
| accuracy | 0.0234375 | (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) | |
| accuracy | 18.833484867636702 | #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)) | |
| accuracy | 0 | (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) | |
| accuracy | 0 | (sqrt.f64 x) | |
| accuracy | 22.66831373105315 | #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.00390625 | (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) | |
| accuracy | 19.66135356232386 | #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 | 22.00799933530091 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) | |
| accuracy | 0 | (*.f64 x #s(literal 1/2 binary64)) | |
| accuracy | 18.632036516832155 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| 24.0ms | 169× | 0 | valid |
| 11.0ms | 87× | 0 | invalid |
Compiled 102 to 22 computations (78.4% saved)
ival-mult: 8.0ms (38% of total)ival-add: 6.0ms (28.5% of total)ival-sqrt: 3.0ms (14.3% of total)ival-div: 2.0ms (9.5% of total)ival-sub: 1.0ms (4.8% 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 #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>) () ()) |
#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>) () ()) |
| Outputs |
|---|
#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 (* 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 (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 (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 (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>) () ())) ()) |
#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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 9.0ms | x | @ | -inf | ((/ 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) (/ 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)) |
| 2.0ms | x | @ | inf | ((/ 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) (/ 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)) |
| 2.0ms | x | @ | 0 | ((/ 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) (/ 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)) |
| 1× | egg-herbie |
| 22 598× | lower-fma.f64 |
| 22 598× | lower-fma.f32 |
| 3 778× | lower-*.f64 |
| 3 778× | lower-*.f32 |
| 3 642× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 127 | 1477 |
| 1 | 375 | 1262 |
| 2 | 1258 | 1181 |
| 3 | 4133 | 1171 |
| 0 | 8363 | 1053 |
| 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) |
(* 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) |
(* 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) |
(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))) |
(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 (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)))) |
(* -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))) |
| 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)) |
(* 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)) |
(* 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)) |
(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))))))) |
(-.f64 (-.f64 (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)))) (/.f64 #s(literal -1/2 binary64) x)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(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))))))) |
(-.f64 (-.f64 (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)))) (/.f64 #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) |
(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))))))) |
(-.f64 (-.f64 (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)))) (/.f64 #s(literal -1/2 binary64) 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) |
(* 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))))))) |
(-.f64 (-.f64 (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)))) (/.f64 #s(literal -1/2 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 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)) |
(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))))))) |
(-.f64 (-.f64 (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)))) (/.f64 #s(literal -1/2 binary64) x)) |
(* 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 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (*.f64 x x)) |
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* 1/16 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/16 binary64)) |
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x) |
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(* 1/16 x) |
(*.f64 #s(literal 1/16 binary64) x) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(* x (- 1/16 (* 1/8 (/ 1 x)))) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 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 #s(literal -1 binary64) (/.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)) (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 #s(literal -1 binary64) (/.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)) (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 #s(literal -1 binary64) (/.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)) (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 #s(literal -1 binary64) (/.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)) (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)) |
(* -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 #s(literal -1 binary64) (/.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)) (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 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (*.f64 x x)) |
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) |
(* 1/16 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/16 binary64)) |
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) |
(*.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x) |
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) |
(* 1/16 x) |
(*.f64 #s(literal 1/16 binary64) x) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) |
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) |
| 8 160× | lower-fma.f32 |
| 8 154× | lower-fma.f64 |
| 5 282× | lower-*.f32 |
| 5 276× | lower-*.f64 |
| 4 152× | lower-/.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 108 |
| 0 | 33 | 108 |
| 1 | 129 | 108 |
| 2 | 867 | 103 |
| 0 | 8371 | 103 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#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)) |
#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)) |
| 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> |
Compiled 9 477 to 1 667 computations (82.4% saved)
7 alts after pruning (2 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 579 | 1 | 580 |
| Fresh | 1 | 1 | 2 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 0 | 0 |
| Total | 580 | 7 | 587 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 35.4% | (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) |
| ▶ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 30.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ✓ | 70.6% | #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)) |
| ✓ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ✓ | 70.9% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ✓ | 31.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 45 to 39 computations (13.3% saved)
| 1× | egg-herbie |
Found 8 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)) |
| 472× | lower-fma.f32 |
| 470× | lower-fma.f64 |
| 312× | lower-*.f32 |
| 308× | lower-*.f64 |
| 162× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 56 |
| 0 | 24 | 56 |
| 1 | 39 | 53 |
| 2 | 63 | 53 |
| 3 | 83 | 53 |
| 4 | 116 | 53 |
| 5 | 137 | 53 |
| 6 | 158 | 53 |
| 7 | 178 | 53 |
| 8 | 208 | 53 |
| 9 | 258 | 53 |
| 10 | 402 | 53 |
| 11 | 718 | 53 |
| 12 | 878 | 53 |
| 13 | 908 | 53 |
| 14 | 912 | 53 |
| 0 | 912 | 51 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#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)))) (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 8 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.00390625 | (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) | |
| accuracy | 41.35795819968506 | (-.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 | 19.66135356232386 | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| 25.0ms | 106× | 1 | valid |
| 17.0ms | 68× | 2 | valid |
| 10.0ms | 82× | 0 | valid |
Compiled 50 to 18 computations (64% saved)
ival-add: 9.0ms (22.6% of total)adjust: 8.0ms (20.1% of total)ival-sub: 8.0ms (20.1% of total)ival-sqrt: 6.0ms (15.1% of total)ival-mult: 4.0ms (10% of total)ival-div: 2.0ms (5% of total)ival-neg: 2.0ms (5% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (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 (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 (* -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/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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* (* 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.0ms | x | @ | inf | ((+ (* (* 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.0ms | x | @ | 0 | ((+ (* (* 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 |
| 17 352× | lower-fma.f64 |
| 17 352× | lower-fma.f32 |
| 3 952× | lower-*.f64 |
| 3 952× | lower-*.f32 |
| 3 144× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 203 | 940 |
| 1 | 605 | 828 |
| 2 | 2046 | 790 |
| 3 | 6749 | 787 |
| 0 | 8172 | 730 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 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) |
(* -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/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 (* -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) |
(* -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 #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 (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 (neg.f64 x) (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))) #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/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))))) |
(*.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #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))))) |
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) #s(literal 1 binary64) (*.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) 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 (neg.f64 x) (fma.f64 (/.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))) #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) (-.f64 (*.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 (+ 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) |
| 7 120× | lower-fma.f32 |
| 7 118× | lower-fma.f64 |
| 5 016× | lower-*.f32 |
| 5 012× | lower-*.f64 |
| 3 846× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 51 |
| 0 | 24 | 51 |
| 1 | 107 | 48 |
| 2 | 713 | 46 |
| 0 | 8605 | 42 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 234 to 2 013 computations (82.1% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 606 | 1 | 607 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 5 | 5 |
| Total | 607 | 7 | 614 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 35.4% | (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
| ✓ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 30.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ✓ | 70.6% | #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)) |
| ✓ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ✓ | 70.9% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ✓ | 31.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 44 to 38 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
| 8× | lower-+.f32 |
| 6× | lower-+.f64 |
| 4× | +-commutative |
| 2× | lift-sqrt.f64 |
| 2× | lift-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 14 | 15 |
| 2 | 15 | 15 |
| 0 | 15 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
(-.f64 (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)) |
#s(literal 1 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.00390625 | (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) | |
| accuracy | 41.35795819968506 | (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
| 44.0ms | 70× | 2 | valid |
| 18.0ms | 105× | 1 | valid |
| 3.0ms | 81× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
adjust: 39.0ms (81% of total)ival-sqrt: 4.0ms (8.3% of total)ival-add: 3.0ms (6.2% of total)ival-sub: 2.0ms (4.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) 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 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<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 | ((- (sqrt (+ 1 x)) 1) (sqrt (+ 1 x)) (+ 1 x)) |
| 0.0ms | x | @ | inf | ((- (sqrt (+ 1 x)) 1) (sqrt (+ 1 x)) (+ 1 x)) |
| 0.0ms | x | @ | 0 | ((- (sqrt (+ 1 x)) 1) (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) |
| 5 796× | lower-fma.f64 |
| 5 796× | lower-fma.f32 |
| 3 390× | lower-*.f64 |
| 3 390× | lower-*.f32 |
| 2 998× | lower-pow.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 39 | 13 |
| 2 | 265 | 13 |
| 3 | 3291 | 13 |
| 0 | 8344 | 12 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (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) |
| 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> |
Compiled 8 675 to 1 648 computations (81% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 461 | 1 | 462 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 461 | 8 | 469 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 35.4% | (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
| 4.6% | (-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64)) | |
| ✓ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
| ✓ | 30.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) |
| ✓ | 70.6% | #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)) |
| ✓ | 69.3% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) |
| ✓ | 70.9% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| ✓ | 31.6% | #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) |
Compiled 125 to 80 computations (36% saved)
| Inputs |
|---|
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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 (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))) |
#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)) |
#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)) |
(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))))) |
(/.f64 (*.f64 x (neg.f64 x)) (*.f64 (neg.f64 x) (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) 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.8% | 1 | x |
| 99.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)
| Inputs |
|---|
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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 (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))) |
#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)) |
#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)) |
(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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) |
2 calls:
| 4.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | x |
| 100.0% | 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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 (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))) |
#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)) |
| 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) 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.9% | 2 | x |
| 99.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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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 (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))) |
#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:
| 25.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 3.0ms | x |
| 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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 (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))) |
| 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))))) |
| 2.0ms | x |
| 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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 (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:
| 2.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.2% | 2 | x |
| 98.2% | 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 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)) |
| 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 |
|---|---|---|
| 97.8% | 2 | x |
| 97.8% | 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) |
2 calls:
| 10.0ms | x |
| 2.0ms | (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 70.9% | 1 | x |
| 70.9% | 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #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.6% | 1 | x |
| 4.6% | 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 | 1.7000240343618558e-6 | 4.200023016066642 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.7000240343618558e-6 | 4.200023016066642 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.7000240343618558e-6 | 4.200023016066642 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.7000240343618558e-6 | 4.200023016066642 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.7000240343618558e-6 | 4.200023016066642 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.7000240343618558e-6 | 4.200023016066642 |
Compiled 11 to 10 computations (9.1% saved)
| 1× | egg-herbie |
| 12× | +-commutative-binary64-+.f64 |
| 8× | *-commutative-binary64-*.f64 |
| 8× | unsub-neg-binary64--.f64-neg.f64-+.f64 |
| 8× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 4× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 248 |
| 1 | 58 | 248 |
| 2 | 64 | 248 |
| 3 | 67 | 248 |
| 4 | 70 | 248 |
| 5 | 75 | 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #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 4722366482869645/2361183241434822606848 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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 4722366482869645/2361183241434822606848 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(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 160× | lower-fma.f32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 51 |
| 0 | 24 | 51 |
| 1 | 107 | 48 |
| 2 | 713 | 46 |
| 0 | 8605 | 42 |
| 0 | 161 | 600 |
| 1 | 485 | 505 |
| 2 | 1630 | 483 |
| 3 | 5408 | 474 |
| 0 | 8354 | 430 |
| 0 | 22 | 108 |
| 0 | 33 | 108 |
| 1 | 129 | 108 |
| 2 | 867 | 103 |
| 0 | 8371 | 103 |
| 0 | 6 | 21 |
| 0 | 10 | 21 |
| 1 | 46 | 21 |
| 2 | 315 | 20 |
| 3 | 3400 | 20 |
| 0 | 8278 | 20 |
| 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 153 computations (53.5% saved)
Compiled 328 to 84 computations (74.4% saved)
Loading profile data...