
Time bar (total: 3.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 75.2% | 24.8% | 0% | 0% | 0% | 0 |
| 0% | 0% | 75.2% | 24.8% | 0% | 0% | 0% | 1 |
| 50% | 37.6% | 37.6% | 24.8% | 0% | 0% | 0% | 2 |
| 75% | 56.4% | 18.8% | 24.8% | 0% | 0% | 0% | 3 |
| 87.5% | 65.8% | 9.4% | 24.8% | 0% | 0% | 0% | 4 |
| 93.8% | 70.5% | 4.7% | 24.8% | 0% | 0% | 0% | 5 |
| 96.9% | 72.8% | 2.3% | 24.8% | 0% | 0% | 0% | 6 |
| 98.4% | 74% | 1.2% | 24.8% | 0% | 0% | 0% | 7 |
| 99.2% | 74.6% | 0.6% | 24.8% | 0% | 0% | 0% | 8 |
| 99.6% | 74.9% | 0.3% | 24.8% | 0% | 0% | 0% | 9 |
| 99.8% | 75% | 0.1% | 24.8% | 0% | 0% | 0% | 10 |
| 99.9% | 75.1% | 0.1% | 24.8% | 0% | 0% | 0% | 11 |
| 100% | 75.1% | 0% | 24.8% | 0% | 0% | 0% | 12 |
Compiled 11 to 7 computations (36.4% saved)
| 564.0ms | 8 256× | 0 | valid |
ival-exp: 85.0ms (28.2% of total)ival-expm1: 84.0ms (27.8% of total)ival->: 61.0ms (20.2% of total)ival-div: 58.0ms (19.2% of total)exact: 8.0ms (2.7% of total)ival-assert: 4.0ms (1.3% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 170 | 0 | - | 0 | - | (-.f64 (exp.f64 x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (exp.f64 x) #s(literal 1 binary64)) | cancellation | 170 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 170 | 0 |
| - | 0 | 86 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 170 | 0 | 0 |
| - | 0 | 0 | 86 |
| number | freq |
|---|---|
| 0 | 86 |
| 1 | 170 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 24.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-div: 4.0ms (32.1% of total)ival-exp: 4.0ms (32.1% of total)ival-expm1: 3.0ms (24.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 21 | 19 |
| 2 | 67 | 19 |
| 3 | 213 | 19 |
| 4 | 1052 | 19 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 13 | 7 |
| 2 | 29 | 7 |
| 3 | 67 | 7 |
| 4 | 285 | 7 |
| 5 | 3049 | 7 |
| 0 | 8303 | 5 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 37.0% | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
Compiled 7 to 5 computations (28.6% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) | |
| cost-diff | 2 | (-.f64 (exp.f64 x) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 13 | 15 |
| 2 | 29 | 15 |
| 3 | 67 | 15 |
| 4 | 285 | 15 |
| 5 | 3049 | 15 |
| 0 | 8303 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
(exp.f64 x) |
x |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(exp.f64 x) |
x |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(expm1.f64 x) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (exp.f64 x) | |
| accuracy | 0.01171875 | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) | |
| accuracy | 39.170589208707675 | (-.f64 (exp.f64 x) #s(literal 1 binary64)) |
| 13.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-div: 2.0ms (32.6% of total)ival-exp: 2.0ms (32.6% of total)ival-expm1: 2.0ms (32.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
(exp.f64 x) |
| Outputs |
|---|
x |
(* x (+ 1 (* 1/2 x))) |
(* x (+ 1 (* x (+ 1/2 (* 1/6 x))))) |
(* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))) |
(/ 1 x) |
(/ (+ 1 (* 1/2 x)) x) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(- (exp x) 1) |
(/ (exp x) (- (exp x) 1)) |
(exp x) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (exp x) 1) (/ (exp x) (- (exp x) 1)) (exp x)) |
| 1.0ms | x | @ | -inf | ((- (exp x) 1) (/ (exp x) (- (exp x) 1)) (exp x)) |
| 1.0ms | x | @ | 0 | ((- (exp x) 1) (/ (exp x) (- (exp x) 1)) (exp x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 111 |
| 1 | 166 | 111 |
| 2 | 541 | 105 |
| 3 | 2056 | 105 |
| 0 | 8631 | 87 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* 1/2 x))) |
(* x (+ 1 (* x (+ 1/2 (* 1/6 x))))) |
(* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))) |
(/ 1 x) |
(/ (+ 1 (* 1/2 x)) x) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(- (exp x) 1) |
(/ (exp x) (- (exp x) 1)) |
(exp x) |
| Outputs |
|---|
x |
(* x (+ 1 (* 1/2 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* x (+ 1 (* x (+ 1/2 (* 1/6 x))))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) |
(* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (* 1/2 x)) x) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(- (exp x) 1) |
(expm1.f64 x) |
(/ (exp x) (- (exp x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(exp x) |
(exp.f64 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 30 | 13 |
| 0 | 212 | 9 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
(exp.f64 x) |
| Outputs |
|---|
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))) |
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) |
(/.f64 (expm1.f64 (*.f64 x #s(literal 3 binary64))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) |
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal -1 binary64)) |
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal -1 binary64)) |
(expm1.f64 (+.f64 x #s(literal 0 binary64))) |
(expm1.f64 x) |
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 (exp.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64))))) |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64))) |
(+.f64 (exp.f64 x) #s(literal -1 binary64)) |
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (+.f64 x x))) (-.f64 (exp.f64 x) #s(literal -1 binary64))) |
(*.f64 (/.f64 (exp.f64 x) (expm1.f64 (*.f64 x #s(literal 3 binary64)))) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 (exp.f64 x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 (expm1.f64 x)))) |
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (expm1.f64 x))) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (expm1.f64 x))) |
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 (expm1.f64 x)))) |
(+.f64 (/.f64 (cosh.f64 x) (expm1.f64 x)) (/.f64 (sinh.f64 x) (expm1.f64 x))) |
(*.f64 #s(literal 1 binary64) (exp.f64 x)) |
(*.f64 (exp.f64 x) #s(literal 1 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x))))) |
(+.f64 (sinh.f64 x) (cosh.f64 x)) |
(+.f64 (cosh.f64 x) (sinh.f64 x)) |
(exp.f64 (+.f64 x #s(literal 0 binary64))) |
(exp.f64 x) |
Compiled 712 to 169 computations (76.3% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 4 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 53 | 4 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 36.7% | (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
| ▶ | 67.2% | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
| ▶ | 67.3% | #s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| ▶ | 67.2% | #s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
Compiled 51 to 39 computations (23.5% saved)
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) | |
| cost-diff | 0 | (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) | |
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) | |
| cost-diff | 0 | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 109 |
| 0 | 28 | 109 |
| 1 | 37 | 109 |
| 2 | 65 | 109 |
| 3 | 123 | 109 |
| 4 | 424 | 109 |
| 5 | 3438 | 109 |
| 0 | 8395 | 103 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(literal -1/2 binary64) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
#s(literal 1/12 binary64) |
x |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
#s(literal -1/2 binary64) |
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(exp.f64 x) |
x |
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(literal -1/2 binary64) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
#s(literal 1/12 binary64) |
x |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
#s(literal -1/2 binary64) |
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(exp.f64 x) |
x |
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(literal 1 binary64) |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (exp.f64 x) | |
| accuracy | 0.01171875 | (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) | |
| accuracy | 21.221636697290425 | #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) | |
| accuracy | 39.170589208707675 | (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) | |
| accuracy | 0.0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) | |
| accuracy | 0.11328125 | (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) | |
| accuracy | 21.015851610314925 | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) | |
| accuracy | 0.0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 20.950597796823246 | #s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0.0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) | |
| accuracy | 20.998809801875556 | #s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
| 40.0ms | 256× | 0 | valid |
Compiled 81 to 15 computations (81.5% saved)
const: 10.0ms (35.9% of total)ival-div: 7.0ms (25.1% of total)ival-exp: 2.0ms (7.2% of total)ival-mult: 2.0ms (7.2% of total)ival-expm1: 2.0ms (7.2% of total)ival-sub: 2.0ms (7.2% of total)ival-add: 1.0ms (3.6% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(exp.f64 x) |
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
| Outputs |
|---|
(/ 1 x) |
(/ (+ 1 (* 1/2 x)) x) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
x |
(* x (+ 1 (* 1/2 x))) |
(* x (+ 1 (* x (+ 1/2 (* 1/6 x))))) |
(* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))) |
(/ (exp x) (- (exp x) 1)) |
1/2 |
(+ 1/2 (/ 1 x)) |
(* 1/12 x) |
(* x (+ 1/12 (* 1/2 (/ 1 x)))) |
(* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))) |
(exp x) |
(- (exp x) 1) |
(* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ 1 x) (/ (exp x) (- (exp x) 1)) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (exp x)) |
| 1.0ms | x | @ | -inf | ((/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ 1 x) (/ (exp x) (- (exp x) 1)) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (exp x)) |
| 1.0ms | x | @ | inf | ((/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ 1 x) (/ (exp x) (- (exp x) 1)) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (/ (exp x) (- (exp x) 1)) (exp x) (- (exp x) 1) (exp x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 153 |
| 1 | 214 | 153 |
| 2 | 690 | 140 |
| 3 | 2466 | 140 |
| 4 | 7179 | 140 |
| 0 | 8133 | 120 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/ 1 x) |
(/ (+ 1 (* 1/2 x)) x) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
x |
(* x (+ 1 (* 1/2 x))) |
(* x (+ 1 (* x (+ 1/2 (* 1/6 x))))) |
(* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))) |
(/ (exp x) (- (exp x) 1)) |
1/2 |
(+ 1/2 (/ 1 x)) |
(* 1/12 x) |
(* x (+ 1/12 (* 1/2 (/ 1 x)))) |
(* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))) |
(exp x) |
(- (exp x) 1) |
(* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))) |
| Outputs |
|---|
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (* 1/2 x)) x) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/720 binary64) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* 1/2 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* x (+ 1 (* x (+ 1/2 (* 1/6 x))))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) |
(* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/24 binary64) x #s(literal 1/6 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x) |
(/ (exp x) (- (exp x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (/ 1 x)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(* 1/12 x) |
(*.f64 #s(literal 1/12 binary64) x) |
(* x (+ 1/12 (* 1/2 (/ 1 x)))) |
(fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) |
(* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(exp x) |
(exp.f64 x) |
(- (exp x) 1) |
(expm1.f64 x) |
(* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))) |
(*.f64 (neg.f64 x) (-.f64 (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) x)) x) #s(literal 1/12 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 83 |
| 0 | 28 | 83 |
| 1 | 108 | 83 |
| 0 | 823 | 77 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(exp.f64 x) |
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1/8 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal -1/8 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x))) |
(-.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -1 binary64))))) |
(-.f64 (/.f64 (pow.f64 x #s(literal -3 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x))) (/.f64 #s(literal -1/8 binary64) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/4 binary64)) (/.f64 #s(literal -1/2 binary64) x)))) |
(-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) |
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64))) |
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) x)) |
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) |
(pow.f64 x #s(literal -1 binary64)) |
(/.f64 #s(literal -1 binary64) (neg.f64 x)) |
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 1 binary64))) |
(/.f64 #s(literal 1 binary64) x) |
(neg.f64 (/.f64 #s(literal -1 binary64) x)) |
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) (pow.f64 x #s(literal -1 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))) |
(/.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64)))) #s(literal 1/4 binary64)) (+.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64))) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (fma.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) (+.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))) |
(/.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (*.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))))) |
(/.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))) |
(fma.f64 x #s(literal 1/12 binary64) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)))) (/.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))))) |
(-.f64 (fma.f64 #s(literal 1/12 binary64) x (pow.f64 x #s(literal -1 binary64))) #s(literal -1/2 binary64)) |
(-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal -1/12 binary64) x)) |
(-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/12 binary64))) |
(-.f64 (pow.f64 x #s(literal -1 binary64)) (-.f64 #s(literal -1/2 binary64) (*.f64 #s(literal 1/12 binary64) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) (/.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (-.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))) |
(+.f64 (*.f64 #s(literal 1/12 binary64) x) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64))) |
(+.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)) |
(*.f64 (/.f64 (exp.f64 x) (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) #s(literal 1 binary64))) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))) |
(*.f64 (/.f64 (exp.f64 x) (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal 1 binary64))) (+.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (neg.f64 (exp.f64 x))) (neg.f64 (neg.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))))) |
(/.f64 (neg.f64 (exp.f64 x)) (neg.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))) |
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(neg.f64 (/.f64 (neg.f64 (exp.f64 x)) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))) |
(neg.f64 (/.f64 (exp.f64 x) (neg.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))))) |
(+.f64 (/.f64 (cosh.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) (/.f64 (sinh.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))) |
(*.f64 (*.f64 (exp.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(*.f64 #s(literal 1 binary64) (exp.f64 x)) |
(*.f64 (exp.f64 x) #s(literal 1 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x))))) |
(+.f64 (sinh.f64 x) (cosh.f64 x)) |
(+.f64 (cosh.f64 x) (sinh.f64 x)) |
(exp.f64 (+.f64 x #s(literal 0 binary64))) |
(exp.f64 x) |
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) |
(-.f64 (/.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (+.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) (pow.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))))) |
(-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
(+.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) |
(*.f64 (*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(*.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) #s(approx (exp x) (-.f64 x #s(literal -1 binary64)))) |
#s(approx (exp x) (-.f64 x #s(literal -1 binary64))) |
Compiled 2 385 to 364 computations (84.7% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 118 | 3 | 121 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 118 | 7 | 125 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 36.7% | (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
| ✓ | 67.2% | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
| ▶ | 2.8% | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
| ✓ | 67.3% | #s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| ✓ | 67.2% | #s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
| ▶ | 3.1% | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| ▶ | 3.2% | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
Compiled 105 to 78 computations (25.7% saved)
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) | |
| cost-diff | 0 | #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (*.f64 #s(literal 1/12 binary64) x) | |
| cost-diff | 0 | #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 100 |
| 0 | 21 | 100 |
| 1 | 31 | 100 |
| 2 | 58 | 100 |
| 3 | 112 | 100 |
| 4 | 389 | 100 |
| 5 | 3130 | 100 |
| 0 | 8434 | 92 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) |
(*.f64 #s(literal 1/12 binary64) x) |
#s(literal 1/12 binary64) |
x |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(literal 1/12 binary64) |
x |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) |
(*.f64 #s(literal 1/12 binary64) x) |
#s(literal 1/12 binary64) |
x |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(literal 1/12 binary64) |
x |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.11328125 | (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) | |
| accuracy | 21.015851610314925 | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) | |
| accuracy | 41.60404597953143 | #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) | |
| accuracy | 20.998809801875556 | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) | |
| accuracy | 41.60404597953143 | #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) | |
| accuracy | 0.359375 | (*.f64 #s(literal 1/12 binary64) x) | |
| accuracy | 21.015851610314925 | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) | |
| accuracy | 41.35208475030899 | #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) |
| 29.0ms | 256× | 0 | valid |
Compiled 60 to 14 computations (76.7% saved)
const: 7.0ms (34.8% of total)ival-div: 4.0ms (19.9% of total)ival-exp: 2.0ms (10% of total)ival-mult: 2.0ms (10% of total)ival-expm1: 2.0ms (10% of total)ival-add: 1.0ms (5% of total)ival-sub: 1.0ms (5% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) |
(*.f64 #s(literal 1/12 binary64) x) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| Outputs |
|---|
(/ 1 x) |
(/ (+ 1 (* 1/2 x)) x) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
(* 1/12 x) |
(/ (exp x) (- (exp x) 1)) |
(* x (+ 1/12 (* 1/2 (/ 1 x)))) |
(* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))) |
1/2 |
(+ 1/2 (/ 1 x)) |
(* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2))) |
| 1.0ms | x | @ | inf | ((/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2))) |
| 0.0ms | x | @ | 0 | ((/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2)) (* 1/12 x) (/ (exp x) (- (exp x) 1)) (- (/ 1 x) -1/2) (/ (exp x) (- (exp x) 1)) (+ (* 1/12 x) (- (/ 1 x) -1/2))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 87 |
| 1 | 133 | 87 |
| 2 | 399 | 80 |
| 3 | 1330 | 74 |
| 4 | 5479 | 74 |
| 0 | 8653 | 67 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/ 1 x) |
(/ (+ 1 (* 1/2 x)) x) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
(* 1/12 x) |
(/ (exp x) (- (exp x) 1)) |
(* x (+ 1/12 (* 1/2 (/ 1 x)))) |
(* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))) |
1/2 |
(+ 1/2 (/ 1 x)) |
(* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))) |
| Outputs |
|---|
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (* 1/2 x)) x) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(/ (+ 1 (* x (+ 1/2 (* 1/12 x)))) x) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(/ (+ 1 (* x (+ 1/2 (* x (+ 1/12 (* -1/720 (pow x 2))))))) x) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/720 binary64) #s(literal 1/12 binary64)) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
(* 1/12 x) |
(*.f64 #s(literal 1/12 binary64) x) |
(/ (exp x) (- (exp x) 1)) |
(/.f64 (exp.f64 x) (expm1.f64 x)) |
(* x (+ 1/12 (* 1/2 (/ 1 x)))) |
(fma.f64 #s(literal 1/12 binary64) x #s(literal 1/2 binary64)) |
(* x (+ 1/12 (+ (* 1/2 (/ 1 x)) (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (/ 1 x)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)) |
(* -1 (* x (- (* -1 (/ (+ 1/2 (/ 1 x)) x)) 1/12))) |
(*.f64 (neg.f64 x) (-.f64 (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) x)) x) #s(literal 1/12 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 87 |
| 0 | 21 | 87 |
| 1 | 89 | 87 |
| 0 | 689 | 79 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) |
(*.f64 #s(literal 1/12 binary64) x) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x)) |
(*.f64 #s(literal 1/12 binary64) x) |
(*.f64 x #s(literal 1/12 binary64)) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64))) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
(/.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) |
(/.f64 (fma.f64 #s(literal 1/1728 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) |
(fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
(fma.f64 x #s(literal 1/12 binary64) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) (/.f64 (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))))) |
(-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/12 binary64) x)) |
(-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/12 binary64))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/12 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x))))) (/.f64 (pow.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/144 binary64) (*.f64 x x) (*.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (-.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)))))) |
(+.f64 #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/12 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/12 binary64) x) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
Compiled 859 to 115 computations (86.6% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 0 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 4 | 4 |
| Total | 33 | 7 | 40 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 36.7% | (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
| ✓ | 67.2% | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
| ✓ | 2.8% | #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
| ✓ | 67.3% | #s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| ✓ | 67.2% | #s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
| ✓ | 3.1% | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| ✓ | 3.2% | #s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
Compiled 217 to 114 computations (47.5% saved)
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
3 calls:
| 5.0ms | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 3.0ms | x |
| 2.0ms | (exp.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | (exp.f64 x) |
| 99.0% | 2 | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 100.0% | 2 | x |
Compiled 10 to 8 computations (20% saved)
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (exp x) (- (exp x) 1)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64)))) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 2.0ms | (exp.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 67.3% | 1 | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 67.3% | 1 | (exp.f64 x) |
| 67.3% | 1 | x |
Compiled 10 to 8 computations (20% saved)
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64)))) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
3 calls:
| 2.0ms | x |
| 1.0ms | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 1.0ms | (exp.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.2% | 1 | x |
| 3.2% | 1 | (exp.f64 x) |
| 3.2% | 1 | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
Compiled 10 to 8 computations (20% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
3 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 1.0ms | (exp.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.1% | 1 | (exp.f64 x) |
| 3.1% | 1 | (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) #s(literal 1 binary64))) |
| 3.1% | 1 | x |
Compiled 10 to 8 computations (20% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | -792.3619354745699 | -0.00011622835844391975 |
| 7.0ms | 144× | 0 | valid |
Compiled 253 to 215 computations (15% saved)
ival-exp: 2.0ms (46.7% of total)ival-div: 1.0ms (23.4% of total)ival-expm1: 1.0ms (23.4% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 78 |
| 1 | 46 | 78 |
| 2 | 79 | 78 |
| 3 | 146 | 78 |
| 4 | 444 | 78 |
| 5 | 2996 | 78 |
| 1× | node limit |
| Inputs |
|---|
(if (<=.f64 x #s(literal -8782019273372467/2251799813685248 binary64)) (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| Outputs |
|---|
(if (<=.f64 x #s(literal -8782019273372467/2251799813685248 binary64)) (/.f64 (exp.f64 x) (-.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) #s(approx (/ (exp x) (- (exp x) 1)) (fma.f64 #s(literal 1/12 binary64) x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1/2 binary64))))) |
#s(approx (/ (exp x) (- (exp x) 1)) (/.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (+ (* 1/12 x) (- (/ 1 x) -1/2)) (*.f64 #s(literal 1/12 binary64) x))) |
#s(approx (/ (exp x) (- (exp x) 1)) #s(approx (- (/ 1 x) -1/2) #s(literal 1/2 binary64))) |
| 1× | done |
Compiled 78 to 34 computations (56.4% saved)
Compiled 182 to 90 computations (50.5% saved)
Loading profile data...