
Time bar (total: 3.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 0 |
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 1 |
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 2 |
| 50% | 24.8% | 24.8% | 50.4% | 0% | 0% | 0% | 3 |
| 75% | 37.2% | 12.4% | 50.4% | 0% | 0% | 0% | 4 |
| 87.5% | 43.4% | 6.2% | 50.4% | 0% | 0% | 0% | 5 |
| 93.8% | 46.5% | 3.1% | 50.4% | 0% | 0% | 0% | 6 |
| 96.9% | 48.1% | 1.6% | 50.4% | 0% | 0% | 0% | 7 |
| 98.4% | 48.8% | 0.8% | 50.4% | 0% | 0% | 0% | 8 |
| 99.2% | 49.2% | 0.4% | 50.4% | 0% | 0% | 0% | 9 |
| 99.6% | 49.4% | 0.2% | 50.4% | 0% | 0% | 0% | 10 |
| 99.8% | 49.5% | 0.1% | 50.4% | 0% | 0% | 0% | 11 |
| 99.9% | 49.6% | 0% | 50.4% | 0% | 0% | 0% | 12 |
Compiled 12 to 10 computations (16.7% saved)
| 1.4s | 5 892× | 2 | valid |
| 340.0ms | 2 347× | 1 | valid |
| 1.0ms | 17× | 0 | valid |
ival-cos: 1.0s (74.5% of total)adjust: 176.0ms (12.9% of total)ival-sub!: 172.0ms (12.6% of total)ival-assert: 0.0ms (0% of total)ival-and: 0.0ms (0% of total)ival-<=: 0.0ms (0% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 131 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (cos.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) | cancellation | 131 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 131 | 0 |
| - | 0 | 125 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 131 | 0 | 0 |
| - | 0 | 0 | 125 |
| number | freq |
|---|---|
| 0 | 125 |
| 1 | 131 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 110.0ms | 386× | 2 | valid |
| 9.0ms | 126× | 1 | valid |
Compiled 24 to 16 computations (33.3% saved)
ival-cos: 53.0ms (79.1% of total)adjust: 10.0ms (14.9% of total)ival-sub!: 4.0ms (6% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 19 | 13 |
| 2 | 29 | 13 |
| 3 | 39 | 13 |
| 4 | 83 | 12 |
| 5 | 367 | 12 |
| 6 | 2977 | 12 |
| 0 | 4 | 4 |
| 0 | 6 | 4 |
| 1 | 15 | 4 |
| 2 | 24 | 4 |
| 3 | 39 | 4 |
| 4 | 80 | 4 |
| 5 | 350 | 4 |
| 6 | 2870 | 4 |
| 0 | 8162 | 4 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
(abs x)
Compiled 4 to 4 computations (0% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.1% | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
Compiled 4 to 4 computations (0% saved)
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
| Outputs |
|---|
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | ((- 1 (cos x)) 1 (cos x) x) |
| 0.0ms | x | @ | inf | ((- 1 (cos x)) 1 (cos x) x) |
| 0.0ms | x | @ | -inf | ((- 1 (cos x)) 1 (cos x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 153 |
| 0 | 56 | 153 |
| 1 | 286 | 153 |
| 0 | 2430 | 145 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(cos.f64 x) |
x |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
| Outputs |
|---|
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 (cos.f64 x) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 (cos.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)) (+.f64 (cos.f64 x) #s(literal 1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)) (fma.f64 (cos.f64 x) (+.f64 (cos.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
#s(literal 1 binary64) |
(*.f64 (cos.f64 x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (cos.f64 x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (cos.f64 x)) #s(literal 2 binary64)) |
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
(sin.f64 (+.f64 (neg.f64 x) (/.f64 (PI.f64) #s(literal 2 binary64)))) |
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)) |
(cos.f64 (neg.f64 (neg.f64 x))) |
(cos.f64 (neg.f64 x)) |
(cos.f64 x) |
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64))))) |
x |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/40320 binary64) (*.f64 x x) #s(literal 1/720 binary64)) x) x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx x x) |
#s(approx (- 1 (cos x)) (-.f64 #s(literal 1 binary64) (cos.f64 x))) |
#s(approx (cos x) (cos.f64 x)) |
Compiled 341 to 109 computations (68% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 3 | 30 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 28 | 3 | 31 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.0% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ▶ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
| ▶ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
Compiled 31 to 24 computations (22.6% saved)
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
#s(literal -1/24 binary64) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(literal 1 binary64) |
#s(approx (cos x) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (* (* x x) 1/2) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* -1/24 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* -1/24 (pow x 4)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1/24 (pow x 3)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* -1/24 (pow x 2)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((- 1 (cos x)) (* (* x x) 1/2) (* x x) x 1/2 (- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) -1/24 (- 1 (cos x)) 1 (cos x)) |
| 1.0ms | x | @ | -inf | ((- 1 (cos x)) (* (* x x) 1/2) (* x x) x 1/2 (- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) -1/24 (- 1 (cos x)) 1 (cos x)) |
| 1.0ms | x | @ | 0 | ((- 1 (cos x)) (* (* x x) 1/2) (* x x) x 1/2 (- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) -1/24 (- 1 (cos x)) 1 (cos x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 99 | 456 |
| 0 | 108 | 443 |
| 1 | 439 | 443 |
| 0 | 3472 | 433 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x) |
(*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
#s(literal -1/24 binary64) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(literal 1 binary64) |
#s(approx (cos x) #s(literal 1 binary64)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (* (* x x) 1/2) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* -1/24 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 1)) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))))) |
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* -1/24 (pow x 4)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1/24 (pow x 3)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* -1/24 (pow x 2)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (cos x) #s(hole binary64 (cos x))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x) |
(*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(neg.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 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))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(literal 1/2 binary64) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)))) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64))) |
(*.f64 x (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x)) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64)) (*.f64 x x)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 x x)) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (*.f64 x x)) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64)))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(/.f64 (*.f64 (*.f64 x x) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64))) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64))))) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (*.f64 x x) (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64)))) |
(/.f64 (*.f64 (*.f64 x x) (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) (*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fabs.f64 x)) (fabs.f64 x) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (neg.f64 x)) (neg.f64 x) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (*.f64 #s(literal -1/24 binary64) x) (pow.f64 x #s(literal 3 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) x (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (*.f64 (*.f64 x x) #s(literal -1/24 binary64))) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal -1/24 binary64))) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 x x) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(fma.f64 x (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) (*.f64 x x))) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (*.f64 x x) #s(literal -1/24 binary64)))) |
(+.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
(*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) |
(*.f64 x (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64)) x) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)))) x) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) x) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64)))) |
(/.f64 (*.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) x) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(/.f64 (*.f64 x (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64))) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (*.f64 x (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64))))) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (*.f64 x (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64)))) |
(/.f64 (*.f64 x (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x)) (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)))) (-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) x) (-.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)))))) |
(fma.f64 (*.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 #s(literal -1/24 binary64) x) (*.f64 x x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) x (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 (*.f64 x x) (*.f64 #s(literal -1/24 binary64) x) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal -1/24 binary64) (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
(fma.f64 x (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) x)) |
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) (*.f64 (*.f64 x x) #s(literal -1/24 binary64)))) |
(+.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64)) (*.f64 #s(literal 1/2 binary64) x)) |
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/48 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64))))) (neg.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))) |
(/.f64 (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) #s(literal -1/4 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)))) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) |
(/.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64)))) |
(/.f64 (fma.f64 #s(literal -1/13824 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) |
(fma.f64 (*.f64 #s(literal -1/24 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal -1/24 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal -1/24 binary64) x) x #s(literal 1/2 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/24 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) |
(fma.f64 x (*.f64 #s(literal -1/24 binary64) x) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)))) |
(-.f64 (/.f64 #s(literal 1/4 binary64) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64))) (/.f64 (*.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)))) |
(-.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) #s(literal -1/2 binary64)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 #s(literal -1/24 binary64) x)) x)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/24 binary64))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/24 binary64) (*.f64 x x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/576 binary64) (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/48 binary64) #s(literal 1/4 binary64))))) |
(+.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal -1/24 binary64)) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal 1/24 binary64))) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 x x) #s(literal -1/24 binary64))) |
#s(literal -1/24 binary64) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 2 binary64)))) (neg.f64 (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (cos x) #s(literal 1 binary64)) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 2 binary64))) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 #s(approx (cos x) #s(literal 1 binary64)) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 2 binary64)) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 #s(approx (cos x) #s(literal 1 binary64)) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 3 binary64)) (fma.f64 #s(approx (cos x) #s(literal 1 binary64)) (+.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64)))) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(literal 1 binary64) |
(*.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (cos x) #s(literal 1 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) #s(approx (cos x) #s(literal 1 binary64))) #s(literal 2 binary64)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) x) x (-.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/40320 binary64)) #s(literal 1/24 binary64))) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
#s(approx (* (* x x) 1/2) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x) x)) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64)) x)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) (fma.f64 (*.f64 x x) #s(literal -1/24 binary64) #s(literal 1/2 binary64))) |
(*.f64 #s(approx (cos x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (cos x) #s(literal 1 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) #s(approx (cos x) #s(literal 1 binary64))) #s(literal 2 binary64)) |
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) (fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (cos x) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (-.f64 #s(literal 1 binary64) (cos.f64 x))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 1/24 binary64)) (pow.f64 x #s(literal 4 binary64)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 1/24 binary64)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) (*.f64 (*.f64 x x) #s(literal -1/24 binary64))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) (*.f64 (*.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 1/24 binary64)) x) x)) |
#s(approx (cos x) (cos.f64 x)) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1/24 binary64))) (pow.f64 x #s(literal 3 binary64)))) |
Compiled 3 586 to 684 computations (80.9% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 194 | 1 | 195 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 0 | 0 |
| Total | 196 | 2 | 198 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.0% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ▶ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
Compiled 24 to 19 computations (20.8% saved)
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
| Outputs |
|---|
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* -1/24 (pow x 2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* -1/24 (pow x 4)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1/24 (pow x 3)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* -1/24 (pow x 2)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) 1/2 x) |
| 1.0ms | x | @ | inf | ((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) 1/2 x) |
| 1.0ms | x | @ | 0 | ((- 1 (cos x)) (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (* (+ (* -1/24 (* x x)) 1/2) x) (+ (* -1/24 (* x x)) 1/2) 1/2 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 72 | 376 |
| 0 | 74 | 367 |
| 1 | 312 | 367 |
| 0 | 2318 | 342 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (- 1 (cos x)) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/720 (pow x 2)) 1/24)))))) |
#s(approx (- 1 (cos x)) #s(hole binary64 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* (pow x 2) (+ 1/720 (* -1/40320 (pow x 2)))) 1/24)))))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* 1/2 (pow x 2)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 2) (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* 1/2 x))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* x (+ 1/2 (* -1/24 (pow x 2)))))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 1/2)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (+ 1/2 (* -1/24 (pow x 2))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- 1 (cos x)) #s(hole binary64 (- 1 (cos x)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* -1/24 (pow x 4)))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) #s(hole binary64 (* (pow x 4) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1/24 (pow x 3)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* (pow x 3) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* -1/24 (pow x 2)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(hole binary64 (* (pow x 2) (- (* 1/2 (/ 1 (pow x 2))) 1/24)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) #s(hole binary64 (* -1 (* (pow x 3) (- 1/24 (* 1/2 (/ 1 (pow x 2)))))))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 x x) #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) (*.f64 x x)) |
(*.f64 x (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x)) |
(*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) |
(*.f64 x #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal -1/24 binary64) x) x #s(literal 1/2 binary64)))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) x) x (-.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/40320 binary64)) #s(literal 1/24 binary64))) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal -1/24 binary64) x) x #s(literal 1/2 binary64)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64) (*.f64 #s(literal 1/2 binary64) x))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) |
#s(approx (+ (* -1/24 (* x x)) 1/2) (fma.f64 (*.f64 #s(literal -1/24 binary64) x) x #s(literal 1/2 binary64))) |
#s(approx x x) |
#s(approx (- 1 (cos x)) (-.f64 #s(literal 1 binary64) (cos.f64 x))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/24 binary64))) |
#s(approx (* (* (+ (* -1/24 (* x x)) 1/2) x) x) (*.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 1/24 binary64)) (pow.f64 x #s(literal 4 binary64)))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/24 binary64))) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 1/24 binary64)))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) (*.f64 (*.f64 x x) #s(literal -1/24 binary64))) |
#s(approx (+ (* -1/24 (* x x)) 1/2) (*.f64 (*.f64 (-.f64 (*.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1/2 binary64)) #s(literal 1/24 binary64)) x) x)) |
#s(approx (* (+ (* -1/24 (* x x)) 1/2) x) (*.f64 (neg.f64 (fma.f64 #s(literal -1/2 binary64) (pow.f64 x #s(literal -2 binary64)) #s(literal 1/24 binary64))) (pow.f64 x #s(literal 3 binary64)))) |
Compiled 654 to 123 computations (81.2% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 0 | 32 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 32 | 2 | 34 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.0% | (-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| ✓ | 100.0% | #s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
Compiled 77 to 46 computations (40.3% saved)
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 (fma.f64 #s(literal -1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x)) |
(-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
3 calls:
| 2.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (cos.f64 x) |
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 100.0% | 1 | x |
Compiled 7 to 7 computations (0% saved)
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
3 calls:
| 1.0ms | x |
| 1.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (cos.f64 x) |
| 100.0% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 100.0% | 1 | x |
Compiled 7 to 7 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
3 calls:
| 2.0ms | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 1.0ms | x |
| 1.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.0% | 1 | (cos.f64 x) |
| 53.0% | 1 | (-.f64 #s(literal 1 binary64) (cos.f64 x)) |
| 53.0% | 1 | x |
Compiled 7 to 7 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 34 |
| 1 | 36 | 34 |
| 2 | 81 | 34 |
| 3 | 175 | 34 |
| 4 | 293 | 34 |
| 5 | 745 | 34 |
| 6 | 7991 | 34 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (- 1 (cos x)) (*.f64 (*.f64 #s(approx (+ (* -1/24 (* x x)) 1/2) #s(literal 1/2 binary64)) x) x)) |
#s(approx (- 1 (cos x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(-.f64 #s(literal 1 binary64) #s(approx (cos x) #s(literal 1 binary64))) |
| 1× | done |
Compiled 34 to 20 computations (41.2% saved)
(abs x)
Compiled 164 to 116 computations (29.3% saved)
Loading profile data...