
Time bar (total: 2.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 3 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 6 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 7 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 8 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 9 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 10 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0% | 0% | 0% | 0% | 12 |
Compiled 14 to 10 computations (28.6% saved)
| 976.0ms | 4 102× | 2 | valid |
| 308.0ms | 4 154× | 0 | valid |
ival-div: 446.0ms (44.1% of total)ival-mult: 182.0ms (18% of total)adjust: 168.0ms (16.6% of total)ival-sqrt: 120.0ms (11.9% of total)ival-sub: 79.0ms (7.8% of total)ival-true: 7.0ms (0.7% of total)exact: 6.0ms (0.6% of total)ival-assert: 3.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 141 | 0 | - | 6 | (5.440346288036831e-160) | (sqrt.f64 (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| 0 | 0 | - | 0 | - | (/.f64 x x) |
| 0 | 0 | - | 0 | - | (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 x x)) | oflow-rescue | 68 | 0 |
| ↳ | (*.f64 x x) | overflow | 68 | |
sqrt.f64 | (sqrt.f64 (*.f64 x x)) | uflow-rescue | 67 | 0 |
| ↳ | (*.f64 x x) | underflow | 67 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 135 | 13 |
| - | 0 | 108 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 135 | 0 | 13 |
| - | 0 | 0 | 108 |
| number | freq |
|---|---|
| 0 | 121 |
| 1 | 135 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 51.0ms | 238× | 2 | valid |
| 18.0ms | 274× | 0 | valid |
Compiled 86 to 28 computations (67.4% saved)
ival-div: 13.0ms (31.7% of total)ival-mult: 11.0ms (26.8% of total)adjust: 6.0ms (14.6% of total)ival-sub: 5.0ms (12.2% of total)ival-sqrt: 5.0ms (12.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 39 | 14 |
| 2 | 115 | 12 |
| 3 | 226 | 12 |
| 4 | 324 | 12 |
| 5 | 375 | 12 |
| 6 | 386 | 12 |
| 7 | 387 | 12 |
| 0 | 8 | 12 |
| 0 | 14 | 8 |
| 1 | 28 | 6 |
| 2 | 51 | 6 |
| 3 | 79 | 6 |
| 4 | 102 | 6 |
| 5 | 134 | 6 |
| 6 | 157 | 6 |
| 7 | 183 | 6 |
| 8 | 202 | 6 |
| 9 | 209 | 6 |
| 10 | 216 | 6 |
| 11 | 233 | 6 |
| 12 | 318 | 6 |
| 13 | 338 | 6 |
| 14 | 345 | 6 |
| 0 | 345 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Outputs |
|---|
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) |
Compiled 12 to 8 computations (33.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 46.6% | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) | |
| cost-diff | 2 | (sqrt.f64 (*.f64 x x)) | |
| cost-diff | 2 | (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) | |
| cost-diff | 2 | (/.f64 x x) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 35 |
| 0 | 14 | 25 |
| 1 | 28 | 21 |
| 2 | 51 | 21 |
| 3 | 79 | 21 |
| 4 | 102 | 21 |
| 5 | 134 | 21 |
| 6 | 157 | 21 |
| 7 | 183 | 21 |
| 8 | 202 | 21 |
| 9 | 209 | 21 |
| 10 | 216 | 21 |
| 11 | 233 | 21 |
| 12 | 318 | 21 |
| 13 | 338 | 21 |
| 14 | 345 | 21 |
| 0 | 345 | 21 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(/.f64 x x) |
x |
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(sqrt.f64 (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) |
(/.f64 x x) |
#s(literal 1 binary64) |
x |
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
(/.f64 (fabs.f64 x) x) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(sqrt.f64 (*.f64 x x)) |
(fabs.f64 x) |
(*.f64 x x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.1640625 | (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) | |
| accuracy | 32.09941341238024 | (sqrt.f64 (*.f64 x x)) |
| 102.0ms | 119× | 2 | valid |
| 11.0ms | 137× | 0 | valid |
Compiled 37 to 10 computations (73% saved)
ival-div: 82.0ms (80.5% of total)ival-mult: 12.0ms (11.8% of total)adjust: 3.0ms (2.9% of total)ival-sqrt: 3.0ms (2.9% of total)ival-sub: 2.0ms (2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 x x) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
(sqrt.f64 (*.f64 x x)) |
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(*.f64 x x) |
| Outputs |
|---|
1 |
x |
0 |
(pow x 2) |
-1 |
(* -1 x) |
2 |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 24.0ms | x | @ | inf | ((/ x x) (* (/ 1 x) (sqrt (* x x))) (sqrt (* x x)) (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (* x x)) |
| 1.0ms | x | @ | -inf | ((/ x x) (* (/ 1 x) (sqrt (* x x))) (sqrt (* x x)) (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (* x x)) |
| 0.0ms | x | @ | 0 | ((/ x x) (* (/ 1 x) (sqrt (* x x))) (sqrt (* x x)) (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 11 | 10 |
| 2 | 12 | 10 |
| 3 | 13 | 10 |
| 4 | 15 | 10 |
| 5 | 17 | 10 |
| 6 | 21 | 10 |
| 7 | 30 | 10 |
| 8 | 33 | 10 |
| 0 | 33 | 10 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
1 |
x |
0 |
(pow x 2) |
-1 |
(* -1 x) |
2 |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
x |
0 |
#s(literal 0 binary64) |
(pow x 2) |
(*.f64 x x) |
-1 |
#s(literal -1 binary64) |
(* -1 x) |
(neg.f64 x) |
2 |
#s(literal 2 binary64) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 30 |
| 0 | 14 | 15 |
| 1 | 66 | 7 |
| 2 | 373 | 7 |
| 0 | 719 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x x) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) |
(sqrt.f64 (*.f64 x x)) |
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
(*.f64 x x) |
| Outputs |
|---|
#s(literal 1 binary64) |
#s(literal 1 binary64) |
(*.f64 (neg.f64 x) #s(literal -1 binary64)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(*.f64 #s(literal -1 binary64) (neg.f64 x)) |
(*.f64 #s(literal 1 binary64) x) |
(*.f64 x #s(literal 1 binary64)) |
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/4 binary64)) |
(pow.f64 (sqrt.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) |
(pow.f64 x #s(literal 1 binary64)) |
(/.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1/2 binary64))) (pow.f64 x #s(literal -1/2 binary64))) |
(/.f64 (neg.f64 x) #s(literal -1 binary64)) |
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) x)) |
(/.f64 #s(literal 1 binary64) (fabs.f64 (pow.f64 x #s(literal -1 binary64)))) |
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) |
(/.f64 x #s(literal 1 binary64)) |
(neg.f64 (neg.f64 x)) |
(sqrt.f64 (*.f64 x x)) |
(-.f64 #s(literal 0 binary64) (neg.f64 x)) |
(fabs.f64 (-.f64 x #s(literal 0 binary64))) |
(fabs.f64 (neg.f64 x)) |
(fabs.f64 x) |
(exp.f64 (neg.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 x)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 1 binary64))) |
(exp.f64 (log.f64 x)) |
x |
#s(literal 0 binary64) |
(*.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 x x) |
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/2 binary64)) |
(pow.f64 (sqrt.f64 x) #s(literal 4 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(/.f64 (*.f64 x (neg.f64 x)) #s(literal -1 binary64)) |
(/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) |
(/.f64 (*.f64 x x) #s(literal 1 binary64)) |
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) |
(/.f64 x (pow.f64 x #s(literal -1 binary64))) |
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 x x))) |
(fabs.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 734 to 215 computations (70.7% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 54 | 2 | 56 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 55 | 2 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 55.0% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
| ▶ | 48.2% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
Compiled 28 to 20 computations (28.6% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 30 |
| 0 | 12 | 22 |
| 1 | 24 | 18 |
| 2 | 47 | 18 |
| 3 | 75 | 18 |
| 4 | 99 | 18 |
| 5 | 131 | 18 |
| 6 | 154 | 18 |
| 7 | 180 | 18 |
| 8 | 199 | 18 |
| 9 | 206 | 18 |
| 10 | 213 | 18 |
| 11 | 230 | 18 |
| 12 | 313 | 18 |
| 13 | 333 | 18 |
| 14 | 340 | 18 |
| 0 | 340 | 18 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 28.820312500000004 | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) | |
| accuracy | 33.17968750000001 | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
| 56.0ms | 119× | 2 | valid |
| 9.0ms | 137× | 0 | valid |
Compiled 28 to 12 computations (57.1% saved)
ival-mult: 44.0ms (75.8% of total)ival-div: 5.0ms (8.6% of total)adjust: 3.0ms (5.2% of total)ival-sqrt: 3.0ms (5.2% of total)ival-sub: 2.0ms (3.4% 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 (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
| Outputs |
|---|
0 |
2 |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (- (/ x x) (* (/ 1 x) (sqrt (* x x))))) |
| 0.0ms | x | @ | inf | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (- (/ x x) (* (/ 1 x) (sqrt (* x x))))) |
| 0.0ms | x | @ | -inf | ((- (/ x x) (* (/ 1 x) (sqrt (* x x)))) (- (/ x x) (* (/ 1 x) (sqrt (* x x))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 2 | 2 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
2 |
| Outputs |
|---|
0 |
#s(literal 0 binary64) |
2 |
#s(literal 2 binary64) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 28 |
| 0 | 12 | 20 |
| 1 | 61 | 6 |
| 2 | 369 | 6 |
| 0 | 716 | 6 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
Compiled 28 to 12 computations (57.1% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 2 | 0 | 2 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 2 | 2 | 4 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 55.0% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
| ✓ | 48.2% | #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
Compiled 68 to 39 computations (42.6% saved)
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
2 calls:
| 2.0ms | x |
| 1.0ms | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | x |
| 89.4% | 2 | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
Compiled 13 to 9 computations (30.8% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
| Outputs |
|---|
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 48.2% | 1 | (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) |
| 48.2% | 1 | x |
Compiled 13 to 9 computations (30.8% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 84.0ms | -2.8446509522022644e-298 | 4.001599296869208e-307 |
| 73.0ms | 128× | 0 | valid |
| 4.0ms | 32× | 2 | valid |
Compiled 295 to 232 computations (21.4% saved)
ival-mult: 67.0ms (91.7% of total)ival-div: 3.0ms (4.1% of total)adjust: 1.0ms (1.4% of total)ival-sub: 1.0ms (1.4% of total)ival-sqrt: 1.0ms (1.4% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 34 |
| 1 | 27 | 28 |
| 2 | 50 | 28 |
| 3 | 89 | 28 |
| 4 | 146 | 28 |
| 5 | 232 | 28 |
| 6 | 337 | 28 |
| 7 | 462 | 28 |
| 8 | 868 | 28 |
| 9 | 1345 | 28 |
| 10 | 1767 | 28 |
| 11 | 1805 | 28 |
| 12 | 1828 | 28 |
| 13 | 1840 | 28 |
| 14 | 1852 | 28 |
| 15 | 1854 | 28 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x #s(literal -20240225330731/50600563326827654588123836679729326762389162441035529589225339506857584891998836722990095925359281123796769466079202977847452184346448369216753349985184627480379356069141590341116726935523304085309941919618186267140501870856173174654525838912289889085202514128089692388083353653807625633046581877161501565826926935273373696 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
| Outputs |
|---|
(if (<=.f64 x #s(literal -20240225330731/50600563326827654588123836679729326762389162441035529589225339506857584891998836722990095925359281123796769466079202977847452184346448369216753349985184627480379356069141590341116726935523304085309941919618186267140501870856173174654525838912289889085202514128089692388083353653807625633046581877161501565826926935273373696 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))) |
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 11 | 10 |
| 2 | 12 | 10 |
| 3 | 13 | 10 |
| 4 | 15 | 10 |
| 5 | 17 | 10 |
| 6 | 21 | 10 |
| 7 | 30 | 10 |
| 8 | 33 | 10 |
| 0 | 33 | 10 |
| 1× | done |
| 1× | iter limit |
| 1× | saturated |
Compiled 49 to 21 computations (57.1% saved)
Compiled 128 to 56 computations (56.3% saved)
Loading profile data...