
Time bar (total: 2.4s)
| 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 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 0% | 0% | 50% | 0% | 0% | 50% | 0% | 3 |
| 50% | 25% | 25% | 0% | 0% | 50% | 0% | 4 |
| 75% | 37.5% | 12.5% | 0% | 0% | 50% | 0% | 5 |
| 87.5% | 43.7% | 6.2% | 0% | 0% | 50% | 0% | 6 |
| 93.8% | 46.9% | 3.1% | 0% | 0% | 50% | 0% | 7 |
| 96.9% | 48.4% | 1.6% | 0% | 0% | 50% | 0% | 8 |
| 98.4% | 49.2% | 0.8% | 0% | 0% | 50% | 0% | 9 |
| 99.2% | 49.6% | 0.4% | 0% | 0% | 50% | 0% | 10 |
| 99.6% | 49.8% | 0.2% | 0% | 0% | 50% | 0% | 11 |
| 99.8% | 49.9% | 0.1% | 0% | 0% | 50% | 0% | 12 |
Compiled 8 to 7 computations (12.5% saved)
| 507.0ms | 8 256× | 0 | valid |
| 0.0ms | 3× | 0 | invalid |
ival-mult: 122.0ms (40.9% of total)ival-sub: 91.0ms (30.5% of total)ival-sqrt: 69.0ms (23.1% of total)ival-true: 6.0ms (2% of total)exact: 5.0ms (1.7% of total)ival-assert: 3.0ms (1% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 32.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-sub: 12.0ms (59% of total)ival-mult: 4.0ms (19.7% of total)ival-sqrt: 4.0ms (19.7% 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 | 13 |
| 1 | 21 | 13 |
| 2 | 48 | 13 |
| 3 | 72 | 13 |
| 4 | 131 | 13 |
| 5 | 338 | 13 |
| 6 | 2405 | 13 |
| 7 | 5967 | 13 |
| 0 | 5 | 6 |
| 0 | 8 | 6 |
| 1 | 16 | 6 |
| 2 | 40 | 6 |
| 3 | 79 | 6 |
| 4 | 138 | 6 |
| 5 | 345 | 6 |
| 6 | 2407 | 6 |
| 7 | 5971 | 6 |
| 0 | 8210 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(abs x)
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
Compiled 6 to 5 computations (16.7% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) | |
| cost-diff | 0 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 16 |
| 0 | 8 | 16 |
| 1 | 16 | 16 |
| 2 | 40 | 16 |
| 3 | 79 | 16 |
| 4 | 138 | 16 |
| 5 | 345 | 16 |
| 6 | 2407 | 16 |
| 7 | 5971 | 16 |
| 0 | 8210 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
(*.f64 x x) |
x |
| Outputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
(*.f64 x x) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 33.0ms | 256× | 0 | valid |
Compiled 18 to 7 computations (61.1% saved)
ival-mult: 2.0ms (37% of total)ival-sqrt: 2.0ms (37% of total)ival-sub: 1.0ms (18.5% 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 |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) |
(+ 1 (* -1 (pow x 2))) |
(pow x 2) |
(* x (sqrt -1)) |
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) |
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) |
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(* -1 (* x (sqrt -1))) |
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) |
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (- 1 (* x x))) (- 1 (* x x)) (* x x)) |
| 1.0ms | x | @ | 0 | ((sqrt (- 1 (* x x))) (- 1 (* x x)) (* x x)) |
| 1.0ms | x | @ | -inf | ((sqrt (- 1 (* x x))) (- 1 (* x x)) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 220 |
| 1 | 156 | 219 |
| 2 | 542 | 203 |
| 0 | 2743 | 197 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) |
(+ 1 (* -1 (pow x 2))) |
(pow x 2) |
(* x (sqrt -1)) |
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) |
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) |
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(* -1 (* x (sqrt -1))) |
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) |
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* -1/2 (pow x 2))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* -1 (pow x 2))) |
(fma.f64 (neg.f64 x) x #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* x (sqrt -1)) |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x) |
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) |
(*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x) |
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) |
(*.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) x) |
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(*.f64 (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) x) x) |
(* -1 (* x (sqrt -1))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64))) |
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) |
(*.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64) (/.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) x) x))) x) |
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(*.f64 (neg.f64 x) (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64))))) |
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) |
(*.f64 (neg.f64 x) (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (neg.f64 (pow.f64 x #s(literal 4 binary64))))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 14 |
| 0 | 8 | 11 |
| 1 | 38 | 11 |
| 0 | 273 | 11 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/4 binary64))) |
(pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 1 binary64)))) |
(/.f64 (sqrt.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (sqrt.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))) |
(sin.f64 (+.f64 (asin.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (acos.f64 (neg.f64 x))) |
(sin.f64 (acos.f64 (fabs.f64 x))) |
(sin.f64 (acos.f64 x)) |
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(cos.f64 (neg.f64 (asin.f64 x))) |
(cos.f64 (asin.f64 (neg.f64 x))) |
(cos.f64 (asin.f64 (fabs.f64 x))) |
(cos.f64 (asin.f64 x)) |
(exp.f64 (*.f64 (log1p.f64 (*.f64 (neg.f64 x) x)) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (-.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (+.f64 #s(literal 1 binary64) (fabs.f64 x)) (-.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x))))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (fma.f64 x x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) |
(fma.f64 (neg.f64 x) x #s(literal 1 binary64)) |
(fma.f64 x (neg.f64 x) #s(literal 1 binary64)) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(+.f64 (*.f64 (neg.f64 x) x) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) x) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 793 to 240 computations (69.7% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 67 | 2 | 69 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 68 | 2 | 70 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
| ▶ | 99.7% | #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
Compiled 21 to 17 computations (19% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 0 | 13 | 34 |
| 1 | 25 | 34 |
| 2 | 69 | 34 |
| 3 | 160 | 34 |
| 4 | 295 | 34 |
| 5 | 613 | 34 |
| 6 | 4247 | 34 |
| 0 | 8313 | 34 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
x |
#s(literal -1/2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
x |
#s(literal -1/2 binary64) |
#s(literal 1 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0 | #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) | |
| accuracy | 0.21603256524515058 | #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
| 27.0ms | 256× | 0 | valid |
Compiled 28 to 10 computations (64.3% saved)
ival-sqrt: 13.0ms (64.9% of total)ival-mult: 4.0ms (20% of total)ival-sub: 1.0ms (5% of total)ival-add: 1.0ms (5% 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 |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) |
(pow x 2) |
(* x (sqrt -1)) |
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) |
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) |
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1/2 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(* -1 (* x (sqrt -1))) |
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) |
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | -inf | ((sqrt (- 1 (* x x))) (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x)) |
| 1.0ms | x | @ | inf | ((sqrt (- 1 (* x x))) (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x)) |
| 0.0ms | x | @ | 0 | ((sqrt (- 1 (* x x))) (sqrt (- 1 (* x x))) (+ (* (* x x) -1/2) 1) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 211 |
| 1 | 149 | 211 |
| 2 | 498 | 195 |
| 3 | 2273 | 186 |
| 0 | 8363 | 178 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) |
(pow x 2) |
(* x (sqrt -1)) |
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) |
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) |
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1/2 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(* -1 (* x (sqrt -1))) |
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) |
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* -1/2 (pow x 2))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* -1/8 (pow x 2)) 1/2))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -1/16 (pow x 2)) 1/8)) 1/2))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* x (sqrt -1)) |
(*.f64 (sqrt.f64 #s(literal -1 binary64)) x) |
(* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1)))))) |
(fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) |
(* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3))))) |
(fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) |
(* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(fma.f64 (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x))) |
(* -1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -1/2 binary64)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1/2)) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(* -1 (* x (sqrt -1))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal -1 binary64))) |
(* -1 (* x (+ (sqrt -1) (* 1/2 (/ 1 (* (pow x 2) (sqrt -1))))))) |
(neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))) |
(* -1 (* x (- (+ (sqrt -1) (/ 1/2 (* (pow x 2) (sqrt -1)))) (/ 1/8 (* (pow x 4) (pow (sqrt -1) 3)))))) |
(neg.f64 (fma.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))) |
(* -1 (* x (- (+ (sqrt -1) (+ (/ 1/2 (* (pow x 2) (sqrt -1))) (* 1/16 (/ 1 (* (pow x 6) (pow (sqrt -1) 5)))))) (* 1/8 (/ 1 (* (pow x 4) (pow (sqrt -1) 3))))))) |
(neg.f64 (fma.f64 (-.f64 (-.f64 (sqrt.f64 #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (sqrt.f64 #s(literal -1 binary64)))) (/.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (pow.f64 x #s(literal 6 binary64)))) x (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 30 |
| 0 | 13 | 24 |
| 1 | 57 | 24 |
| 0 | 436 | 24 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))))) |
(/.f64 (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64))) |
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) |
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/2 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64)) |
(fma.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal -1 binary64)))) |
(-.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) |
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) |
(-.f64 #s(literal 1 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/2 binary64))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x))) |
(+.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))))) |
(+.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) x) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 1 105 to 213 computations (80.7% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 0 | 62 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 62 | 2 | 64 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
| ✓ | 99.7% | #s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
Compiled 48 to 30 computations (37.5% saved)
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
(sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 1.0ms | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 100.0% | 1 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 100.0% | 1 | x |
Compiled 15 to 12 computations (20% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
4 calls:
| 8.0ms | (*.f64 x x) |
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 1.0ms | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | (*.f64 x x) |
| 99.7% | 1 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) |
| 99.7% | 1 | (sqrt.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| 99.7% | 1 | x |
Compiled 15 to 12 computations (20% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 18 | 21 |
| 2 | 42 | 21 |
| 3 | 82 | 21 |
| 4 | 132 | 21 |
| 5 | 336 | 21 |
| 6 | 2611 | 21 |
| 7 | 6747 | 21 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (sqrt (- 1 (* x x))) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) #s(literal 1 binary64))) |
#s(approx (sqrt (- 1 (* x x))) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 220 |
| 1 | 156 | 219 |
| 2 | 542 | 203 |
| 0 | 2743 | 197 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 21 to 11 computations (47.6% saved)
(abs x)
Compiled 80 to 52 computations (35% saved)
Loading profile data...