
Time bar (total: 5.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 9 to 7 computations (22.2% saved)
| 340.0ms | 8 256× | 0 | valid |
ival-mult: 65.0ms (33.4% of total)ival-div: 62.0ms (31.9% of total)ival-add: 53.0ms (27.3% of total)ival-true: 6.0ms (3.1% of total)exact: 5.0ms (2.6% of total)ival-assert: 3.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 69 | 0 | - | 0 | - | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) | n/o | 69 | 0 |
| ↳ | (*.f64 x x) | overflow | 69 | |
| ↳ | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 69 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 69 | 0 |
| - | 0 | 187 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 69 | 0 | 0 |
| - | 0 | 0 | 187 |
| number | freq |
|---|---|
| 0 | 187 |
| 1 | 69 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 22.0ms | 512× | 0 | valid |
Compiled 45 to 19 computations (57.8% saved)
ival-mult: 4.0ms (36.9% of total)ival-div: 3.0ms (27.7% of total)ival-add: 2.0ms (18.4% 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 |
| 46× | associate-*l* |
| 42× | times-frac |
| 30× | unsub-neg |
| 28× | distribute-lft-neg-in |
| 26× | distribute-neg-frac2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 26 | 15 |
| 2 | 62 | 14 |
| 3 | 128 | 14 |
| 4 | 232 | 14 |
| 5 | 331 | 14 |
| 6 | 344 | 14 |
| 7 | 346 | 14 |
| 8 | 350 | 14 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 11 | 7 |
| 0 | 11 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(negabs x)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 74.9% | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) | |
| cost-diff | 128 | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 4× | lower-+.f32 |
| 2× | lift-+.f64 |
| 2× | lift-/.f64 |
| 2× | lower-fma.f64 |
| 2× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 17 |
| 0 | 8 | 17 |
| 1 | 11 | 17 |
| 0 | 11 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
x |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
x |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 16.068801662567754 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 10.0ms | 256× | 0 | valid |
Compiled 19 to 7 computations (63.2% saved)
ival-div: 2.0ms (38.2% of total)ival-mult: 2.0ms (38.2% of total)ival-add: 1.0ms (19.1% 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 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (* x x) 1) (/ x (+ (* x x) 1)) (* x x)) |
| 1.0ms | x | @ | 0 | ((+ (* x x) 1) (/ x (+ (* x x) 1)) (* x x)) |
| 1.0ms | x | @ | -inf | ((+ (* x x) 1) (/ x (+ (* x x) 1)) (* x x)) |
| 1× | egg-herbie |
| 12 662× | lower-fma.f64 |
| 12 662× | lower-fma.f32 |
| 2 988× | lower-*.f64 |
| 2 988× | lower-*.f32 |
| 1 640× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 226 |
| 1 | 131 | 224 |
| 2 | 312 | 216 |
| 3 | 883 | 212 |
| 4 | 2385 | 210 |
| 5 | 5560 | 210 |
| 6 | 7661 | 210 |
| 0 | 8081 | 197 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (+.f64 (pow.f64 x #s(literal 5 binary64)) x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 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) |
| 4 942× | lower-/.f32 |
| 4 940× | lower-/.f64 |
| 4 762× | lower-fma.f64 |
| 4 762× | lower-fma.f32 |
| 3 572× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 33 | 15 |
| 2 | 202 | 15 |
| 3 | 1766 | 15 |
| 0 | 8562 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(*.f64 x x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 796 to 1 076 computations (86.2% saved)
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 356 | 6 | 362 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 357 | 6 | 363 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 74.9% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ▶ | 25.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ▶ | 52.5% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ▶ | 74.9% | (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
| 52.2% | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) | |
| ▶ | 50.4% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 78 to 60 computations (23.1% saved)
| 1× | egg-herbie |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) | |
| cost-diff | 448 | (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) 1) (*.f64 x x)) | |
| cost-diff | 0 | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) | |
| cost-diff | 0 | #s(approx (+ (* x x) 1) #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| 272× | lower-fma.f32 |
| 270× | lower-fma.f64 |
| 248× | lower-*.f32 |
| 244× | lower-*.f64 |
| 128× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 89 |
| 0 | 28 | 86 |
| 1 | 38 | 86 |
| 2 | 55 | 86 |
| 3 | 83 | 86 |
| 4 | 191 | 86 |
| 5 | 350 | 86 |
| 6 | 633 | 86 |
| 7 | 719 | 86 |
| 8 | 766 | 86 |
| 9 | 791 | 86 |
| 10 | 803 | 86 |
| 0 | 803 | 86 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
x |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
x |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
x |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
(/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) |
#s(literal -1 binary64) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(neg.f64 x) |
| Outputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
x |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
x |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
x |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) |
#s(literal -1 binary64) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(neg.f64 x) |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 0.19994257305929306 | (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) | |
| accuracy | 15.857168313167884 | (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 16.068801662567754 | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) | |
| accuracy | 31.61148536026631 | #s(approx (+ (* x x) 1) (*.f64 x x)) | |
| accuracy | 16.068801662567754 | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) | |
| accuracy | 30.23048864936437 | #s(approx (+ (* x x) 1) #s(literal 1 binary64)) | |
| accuracy | 0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 31.77204429606428 | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| accuracy | 16.068801662567754 | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| 21.0ms | 256× | 0 | valid |
Compiled 85 to 12 computations (85.9% saved)
ival-div: 5.0ms (44.5% of total)ival-mult: 4.0ms (35.6% of total)ival-add: 1.0ms (8.9% of total)ival-neg: 1.0ms (8.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.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>) () ()) |
#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.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 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) (taylor 0 x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) (taylor 0 x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 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 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 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 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ -1 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) 1) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 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 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 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 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) (patch (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ -1 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) 1) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (/ 1 x) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1)) (neg x)) |
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (/ 1 x) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1)) (neg x)) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (/ 1 x) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1)) (neg x)) |
| 1× | egg-herbie |
| 15 154× | lower-fma.f64 |
| 15 154× | lower-fma.f32 |
| 2 732× | lower-*.f64 |
| 2 732× | lower-*.f32 |
| 1 946× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 1089 |
| 1 | 152 | 1078 |
| 2 | 365 | 1034 |
| 3 | 1029 | 1010 |
| 4 | 2746 | 1000 |
| 5 | 6763 | 1000 |
| 0 | 8068 | 970 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
-1 |
(- (pow x 2) 1) |
(- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) |
(- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/ -1 (pow x 2)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/ -1 (pow x 2)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 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 x) |
(/.f64 #s(literal 1 binary64) x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #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) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) |
(fma.f64 (-.f64 x (pow.f64 x #s(literal 3 binary64))) x #s(literal -1 binary64)) |
(- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ 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 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #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 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ -1 (pow x 2)) |
(/.f64 #s(literal -1 binary64) (*.f64 x x)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))) (*.f64 x x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ 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 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #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 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ -1 (pow x 2)) |
(/.f64 #s(literal -1 binary64) (*.f64 x x)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))) (*.f64 x x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
| 4 638× | lower-*.f32 |
| 4 634× | lower-*.f64 |
| 3 018× | lower-/.f32 |
| 3 008× | lower-/.f64 |
| 2 300× | lower-fma.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 75 |
| 0 | 28 | 72 |
| 1 | 82 | 72 |
| 2 | 398 | 72 |
| 3 | 3203 | 72 |
| 0 | 9501 | 72 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(fma.f64 x x #s(literal 1 binary64)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
(/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) |
(neg.f64 x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 17 579 to 2 083 computations (88.2% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 084 | 2 | 1 086 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 1 085 | 7 | 1 092 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 74.9% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 25.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ✓ | 74.9% | (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
| ▶ | 51.5% | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
| ▶ | 52.5% | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
| ▶ | 52.2% | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
| ✓ | 50.4% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 48 to 37 computations (22.9% saved)
| 1× | egg-herbie |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| cost-diff | 0 | #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) | |
| cost-diff | 0 | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) | |
| cost-diff | 0 | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) | |
| cost-diff | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
| 22 500× | lower-fma.f32 |
| 22 496× | lower-fma.f64 |
| 3 212× | lower-*.f32 |
| 3 208× | lower-*.f64 |
| 2 190× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 96 |
| 0 | 24 | 96 |
| 1 | 49 | 96 |
| 2 | 114 | 96 |
| 3 | 236 | 96 |
| 4 | 559 | 96 |
| 5 | 1270 | 96 |
| 6 | 3838 | 96 |
| 7 | 5650 | 96 |
| 8 | 7144 | 96 |
| 0 | 8093 | 91 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(fma.f64 x x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(neg.f64 x) |
x |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
#s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(neg.f64 x) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(fma.f64 (fma.f64 x x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(fma.f64 x x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
(*.f64 (neg.f64 x) #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64))) |
#s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(neg.f64 x) |
x |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
#s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(neg.f64 x) |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 15.857168313167884 | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) | |
| accuracy | 30.924309647740415 | #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 15.857168313167884 | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) | |
| accuracy | 30.24089322183191 | #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) | |
| accuracy | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| accuracy | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| accuracy | 0.03125 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) | |
| accuracy | 30.57784154782425 | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
| 133.0ms | 256× | 0 | valid |
Compiled 78 to 16 computations (79.5% saved)
ival-mult: 5.0ms (30.1% of total)ival-add: 4.0ms (24.1% of total)ival-div: 3.0ms (18.1% of total)ival-pow: 3.0ms (18.1% of total)ival-neg: 1.0ms (6% 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 (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) (taylor 0 x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 5) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 5) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ -1 (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) 1) (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ -1 (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) 1) (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 5) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 5) (- (/ 1 (pow x 2)) 1))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ -1 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) 1) (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (patch #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) (patch (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ -1 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) 1) (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) (taylor -inf x) (#s(alt #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (patch #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) (+ (* (pow x 3) (+ (* x x) -1)) x) (pow x 3) (+ (* x x) -1) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1)) (neg x) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1))) |
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) (+ (* (pow x 3) (+ (* x x) -1)) x) (pow x 3) (+ (* x x) -1) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1)) (neg x) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1))) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) (+ (* (pow x 3) (+ (* x x) -1)) x) (pow x 3) (+ (* x x) -1) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1)) (neg x) (* (/ -1 (+ (* x x) 1)) (neg x)) (/ -1 (+ (* x x) 1))) |
| 1× | egg-herbie |
| 11 074× | lower-fma.f64 |
| 11 074× | lower-fma.f32 |
| 2 258× | lower-*.f64 |
| 2 258× | lower-*.f32 |
| 1 564× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 935 |
| 1 | 167 | 889 |
| 2 | 421 | 880 |
| 3 | 1243 | 848 |
| 4 | 3588 | 834 |
| 5 | 7129 | 834 |
| 0 | 8132 | 819 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
-1 |
(- (pow x 2) 1) |
(- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) |
(- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
-1 |
(- (pow x 2) 1) |
(- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) |
(- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 5) |
(* (pow x 5) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/ -1 (pow x 2)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/ -1 (pow x 2)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 5) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) 1))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/ -1 (pow x 2)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/ -1 (pow x 2)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) |
(fma.f64 (-.f64 x (pow.f64 x #s(literal 3 binary64))) x #s(literal -1 binary64)) |
(- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1) |
(fma.f64 (-.f64 x (pow.f64 x #s(literal 3 binary64))) x #s(literal -1 binary64)) |
(- (* (pow x 2) (+ 1 (* (pow x 2) (- (pow x 2) 1)))) 1) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 5) |
(pow.f64 x #s(literal 5 binary64)) |
(* (pow x 5) (- 1 (/ 1 (pow x 2)))) |
(-.f64 (pow.f64 x #s(literal 5 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ -1 (pow x 2)) |
(/.f64 #s(literal -1 binary64) (*.f64 x x)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))) (*.f64 x x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ -1 (pow x 2)) |
(/.f64 #s(literal -1 binary64) (*.f64 x x)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))) (*.f64 x x)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 5) |
(pow.f64 x #s(literal 5 binary64)) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) 1))) |
(-.f64 (pow.f64 x #s(literal 5 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ -1 (pow x 2)) |
(/.f64 #s(literal -1 binary64) (*.f64 x x)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))) (*.f64 x x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(/ -1 (pow x 2)) |
(/.f64 #s(literal -1 binary64) (*.f64 x x)) |
(/ (- (/ 1 (pow x 2)) 1) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (/.f64 (-.f64 (/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) #s(literal 1 binary64)) x) x) |
(/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) (pow x 2)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64))) (*.f64 x x)) |
| 9 406× | lower-fma.f32 |
| 9 402× | lower-fma.f64 |
| 4 696× | lower-*.f32 |
| 4 692× | lower-*.f64 |
| 3 062× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 83 |
| 0 | 24 | 83 |
| 1 | 100 | 83 |
| 2 | 625 | 83 |
| 3 | 7714 | 83 |
| 0 | 8483 | 78 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) |
(neg.f64 x) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
#s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x 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> |
Compiled 12 083 to 1 609 computations (86.7% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 639 | 1 | 640 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 4 | 4 |
| Total | 640 | 7 | 647 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 74.9% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 25.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ✓ | 74.9% | (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
| ✓ | 51.5% | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
| ✓ | 52.5% | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
| ▶ | 52.2% | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
| ✓ | 50.4% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 50 to 37 computations (26% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) | |
| cost-diff | 128 | (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) |
| 19 056× | lower-fma.f32 |
| 19 052× | lower-fma.f64 |
| 3 278× | lower-*.f32 |
| 3 274× | lower-*.f64 |
| 2 526× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 45 |
| 0 | 16 | 45 |
| 1 | 30 | 43 |
| 2 | 59 | 43 |
| 3 | 162 | 42 |
| 4 | 516 | 40 |
| 5 | 973 | 40 |
| 6 | 2333 | 40 |
| 7 | 4395 | 40 |
| 8 | 5989 | 40 |
| 9 | 7688 | 40 |
| 0 | 8062 | 39 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
(fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
(fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(*.f64 x x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.03515625 | (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) | |
| accuracy | 0.04296875 | (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) | |
| accuracy | 30.57784154782425 | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
| 49.0ms | 256× | 0 | valid |
Compiled 39 to 12 computations (69.2% saved)
ival-add: 36.0ms (83.3% of total)ival-mult: 5.0ms (11.6% of total)ival-div: 2.0ms (4.6% 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 (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (pow x 2) 1)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (pow x 2) 1)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (pow x 2) 1)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 5) (taylor inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 5) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 5) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 5) (- (/ 1 (pow x 2)) 1))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) (patch (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (patch (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 19.0ms | x | @ | 0 | ((+ (* (* (+ (* x x) -1) x) (* x x)) x) (/ x (+ (* x x) 1)) (+ (* x x) -1) (* x x) (* (+ (* x x) -1) x)) |
| 1.0ms | x | @ | inf | ((+ (* (* (+ (* x x) -1) x) (* x x)) x) (/ x (+ (* x x) 1)) (+ (* x x) -1) (* x x) (* (+ (* x x) -1) x)) |
| 1.0ms | x | @ | -inf | ((+ (* (* (+ (* x x) -1) x) (* x x)) x) (/ x (+ (* x x) 1)) (+ (* x x) -1) (* x x) (* (+ (* x x) -1) x)) |
| 1× | egg-herbie |
| 10 278× | lower-fma.f64 |
| 10 278× | lower-fma.f32 |
| 2 274× | lower-*.f64 |
| 2 274× | lower-*.f32 |
| 1 788× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 428 |
| 1 | 160 | 405 |
| 2 | 410 | 393 |
| 3 | 1266 | 385 |
| 4 | 3637 | 385 |
| 5 | 7646 | 385 |
| 0 | 8257 | 376 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 x) |
(* x (- (pow x 2) 1)) |
(* x (- (pow x 2) 1)) |
(* x (- (pow x 2) 1)) |
(pow x 5) |
(* (pow x 5) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(pow x 5) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) 1))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #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 x) |
(neg.f64 x) |
(* x (- (pow x 2) 1)) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(* x (- (pow x 2) 1)) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(* x (- (pow x 2) 1)) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(pow x 5) |
(pow.f64 x #s(literal 5 binary64)) |
(* (pow x 5) (- 1 (/ 1 (pow x 2)))) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) (pow.f64 x #s(literal 5 binary64))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64))) (pow.f64 x #s(literal 5 binary64))) |
(* (pow x 5) (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2)))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64))) (pow.f64 x #s(literal 5 binary64))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) x)) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #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) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(pow x 5) |
(pow.f64 x #s(literal 5 binary64)) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) 1))) |
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) (pow.f64 x #s(literal 5 binary64))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64))) (pow.f64 x #s(literal 5 binary64))) |
(* -1 (* (pow x 5) (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))))) |
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64))) (pow.f64 x #s(literal 5 binary64))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #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) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
| 7 214× | lower-fma.f32 |
| 7 210× | lower-fma.f64 |
| 3 854× | lower-*.f32 |
| 3 850× | lower-*.f64 |
| 2 370× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 43 |
| 0 | 16 | 43 |
| 1 | 72 | 41 |
| 2 | 488 | 40 |
| 3 | 6118 | 40 |
| 0 | 8883 | 37 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
(fma.f64 x x #s(literal -1 binary64)) |
(*.f64 x x) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 11 514 to 1 815 computations (84.2% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 481 | 0 | 481 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 481 | 7 | 488 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 74.9% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 25.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ✓ | 74.9% | (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
| ✓ | 51.5% | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
| ✓ | 52.5% | (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
| ✓ | 52.2% | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
| ✓ | 50.4% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 121 to 66 computations (45.5% saved)
| Inputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
(*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
| Outputs |
|---|
(*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 8.0ms | x |
| 3.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | x |
| 99.9% | 2 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (*.f64 x x) x)) |
| Outputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
1 calls:
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | x |
Compiled 1 to 1 computations (0% saved)
| Inputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| Outputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 81.6% | 3 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 99.4% | 2 | x |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 2 | x |
Compiled 1 to 1 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
| Outputs |
|---|
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
2 calls:
| 3.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.5% | 1 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 52.5% | 1 | x |
Compiled 8 to 6 computations (25% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 20020407.369264547 | 121827970593603.95 |
| 1.0ms | 16× | 0 | valid |
Compiled 23 to 22 computations (4.3% saved)
ival-div: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 20020407.369264547 | 121827970593603.95 |
Compiled 20 to 19 computations (5% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 10.0ms | 0.12024250912323202 | 42161.16708456583 |
| 5.0ms | 144× | 0 | valid |
Compiled 118 to 117 computations (0.8% saved)
ival-div: 1.0ms (36.1% of total)ival-add: 1.0ms (36.1% of total)ival-mult: 1.0ms (36.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 7.0ms | 0.12024250912323202 | 42161.16708456583 |
| 2.0ms | 64× | 0 | valid |
Compiled 91 to 108 computations (-18.7% saved)
ival-div: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 28× | *-commutative-binary64-*.f64 |
| 18× | neg-sub0-binary64--.f64-neg.f64 |
| 18× | +-commutative-binary64-+.f64 |
| 18× | neg-mul-1-binary64-*.f64-neg.f64 |
| 18× | sub-neg-binary64-neg.f64-+.f64--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 114 |
| 1 | 42 | 114 |
| 2 | 62 | 114 |
| 3 | 82 | 114 |
| 4 | 95 | 114 |
| 5 | 101 | 114 |
| 6 | 103 | 114 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x #s(literal 40000000 binary64)) (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 40000000 binary64)) (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 7656119366529843/9007199254740992 binary64)) (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 1 binary64)) (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
| Outputs |
|---|
(if (<=.f64 x #s(literal 40000000 binary64)) (*.f64 (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64))) (neg.f64 x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 40000000 binary64)) (*.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) (fma.f64 x x #s(literal 1 binary64)))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 40000000 binary64)) (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 7656119366529843/9007199254740992 binary64)) (*.f64 #s(approx (/ -1 (+ (* x x) 1)) (fma.f64 x x #s(literal -1 binary64))) (neg.f64 x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 1 binary64)) (*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(*.f64 #s(approx (/ -1 (+ (* x x) 1)) #s(literal -1 binary64)) (neg.f64 x)) |
| 15 154× | lower-fma.f64 |
| 15 154× | lower-fma.f32 |
| 12 662× | lower-fma.f64 |
| 12 662× | lower-fma.f32 |
| 4 942× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 33 | 15 |
| 2 | 202 | 15 |
| 3 | 1766 | 15 |
| 0 | 8562 | 13 |
| 0 | 45 | 226 |
| 1 | 131 | 224 |
| 2 | 312 | 216 |
| 3 | 883 | 212 |
| 4 | 2385 | 210 |
| 5 | 5560 | 210 |
| 6 | 7661 | 210 |
| 0 | 8081 | 197 |
| 0 | 52 | 1089 |
| 1 | 152 | 1078 |
| 2 | 365 | 1034 |
| 3 | 1029 | 1010 |
| 4 | 2746 | 1000 |
| 5 | 6763 | 1000 |
| 0 | 8068 | 970 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 169 to 96 computations (43.2% saved)
Compiled 192 to 92 computations (52.1% saved)
Loading profile data...