Data.Histogram.Bin.BinF:$cfromIndex from histogram-fill-0.8.4.1

Time bar (total: 2.6s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze27.0ms (1%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 11 to 10 computations (9.1% saved)

sample767.0ms (29.3%)

Memory
9.7MiB live, 823.0MiB allocated; 222ms collecting garbage
Samples
522.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 188.0ms
ival-div!: 94.0ms (50% of total)
ival-mult!: 50.0ms (26.6% of total)
ival-add!: 42.0ms (22.3% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess63.0ms (2.4%)

Memory
-9.3MiB live, 42.6MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03397
112497
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Compiler

Compiled 18 to 16 computations (11.1% saved)

series142.0ms (5.4%)

Memory
1.6MiB live, 81.9MiB allocated; 50ms collecting garbage
Counts
8 → 19
Calls
Call 1
Inputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
(/.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(*.f64 y x)
y
z
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 x (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (+ (/ x 2) (* y x)) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (/ x 2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (* y x) (*.f64 x y))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) (+.f64 y (/.f64 z x)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 1/2 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 z x))) #s(literal 1/2 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))))
#s(approx (+ (/ x 2) (* y x)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
#s(approx y y)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y (+.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 z y)))))
#s(approx (+ (/ x 2) (* y x)) (*.f64 y (+.f64 x (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 z (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (+ (/ x 2) (* y x)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/2 binary64) (/.f64 x z) (/.f64 (*.f64 x y) z)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)) z)) #s(literal 1 binary64)))))
Calls

9 calls:

TimeVariablePoint
2.0ms
x
inf
2.0ms
x
-inf
1.0ms
y
-inf
1.0ms
x
0
1.0ms
y
inf

rewrite306.0ms (11.7%)

Memory
-10.7MiB live, 123.5MiB allocated; 194ms collecting garbage
Counts
8 → 68
Calls
Call 1
Inputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
(/.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
(*.f64 y x)
y
z
Outputs
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (fma.f64 y x z))
(+.f64 (*.f64 y x) (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 (fma.f64 y x z) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 (*.f64 x (+.f64 y #s(literal 1/2 binary64))) z)
(+.f64 (*.f64 x (+.f64 y #s(literal 1/2 binary64))) (neg.f64 (neg.f64 z)))
(+.f64 (+.f64 z (*.f64 x #s(literal 1/2 binary64))) (*.f64 y x))
(+.f64 z (*.f64 x (+.f64 y #s(literal 1/2 binary64))))
(+.f64 (*.f64 y x) (-.f64 (*.f64 x #s(literal 1/2 binary64)) (neg.f64 z)))
(-.f64 (*.f64 x (+.f64 y #s(literal 1/2 binary64))) (neg.f64 z))
(-.f64 (+.f64 z (*.f64 x #s(literal 1/2 binary64))) (neg.f64 (*.f64 y x)))
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (neg.f64 (fma.f64 y x z)))
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (fma.f64 (neg.f64 y) x (neg.f64 z)))
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (-.f64 (neg.f64 (*.f64 y x)) z))
(-.f64 z (neg.f64 (*.f64 x (+.f64 y #s(literal 1/2 binary64)))))
(fma.f64 (neg.f64 x) #s(literal -1/2 binary64) (fma.f64 y x z))
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) z)
(fma.f64 x (+.f64 #s(literal 1/2 binary64) y) z)
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
(fma.f64 x y (fma.f64 x #s(literal 1/2 binary64) z))
(fma.f64 x #s(literal 1/2 binary64) (fma.f64 y x z))
(fma.f64 #s(literal 1/2 binary64) x (fma.f64 y x z))
(fma.f64 y x (-.f64 (*.f64 x #s(literal 1/2 binary64)) (neg.f64 z)))
(fma.f64 x y (-.f64 (*.f64 x #s(literal 1/2 binary64)) (neg.f64 z)))
(fma.f64 x (+.f64 #s(literal 1/2 binary64) y) (neg.f64 (neg.f64 z)))
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) (neg.f64 (neg.f64 z)))
(neg.f64 (-.f64 (neg.f64 z) (*.f64 x (+.f64 y #s(literal 1/2 binary64)))))
(*.f64 x (+.f64 y #s(literal 1/2 binary64)))
(*.f64 x (+.f64 #s(literal 1/2 binary64) y))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 (neg.f64 (neg.f64 y)) x))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (neg.f64 (neg.f64 (*.f64 y x))))
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (neg.f64 (*.f64 y x)))
(-.f64 (*.f64 y x) (neg.f64 (*.f64 x #s(literal 1/2 binary64))))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(/.f64 (fma.f64 (*.f64 y x) #s(literal -2 binary64) (neg.f64 x)) #s(literal -2 binary64))
(/.f64 (fma.f64 (*.f64 y x) #s(literal 2 binary64) x) #s(literal 2 binary64))
(fma.f64 (neg.f64 x) #s(literal -1/2 binary64) (*.f64 y x))
(fma.f64 y x (*.f64 x #s(literal 1/2 binary64)))
(fma.f64 x y (*.f64 x #s(literal 1/2 binary64)))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 y x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 y x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (neg.f64 (neg.f64 y)) x))
(fma.f64 (neg.f64 x) #s(literal -1/2 binary64) (*.f64 (neg.f64 (neg.f64 y)) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (neg.f64 (neg.f64 y)) x))
(fma.f64 x #s(literal 1/2 binary64) (neg.f64 (neg.f64 (*.f64 y x))))
(fma.f64 (neg.f64 x) #s(literal -1/2 binary64) (neg.f64 (neg.f64 (*.f64 y x))))
(fma.f64 #s(literal 1/2 binary64) x (neg.f64 (neg.f64 (*.f64 y x))))
(neg.f64 (-.f64 (neg.f64 (*.f64 y x)) (*.f64 x #s(literal 1/2 binary64))))
(*.f64 x #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 (neg.f64 x) #s(literal -1/2 binary64))
(/.f64 x #s(literal 2 binary64))
(/.f64 (neg.f64 x) #s(literal -2 binary64))
(/.f64 (*.f64 x #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (neg.f64 (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 (/.f64 x #s(literal -2 binary64)))
(neg.f64 (/.f64 (neg.f64 x) #s(literal 2 binary64)))
x
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(literal -1 binary64))
(neg.f64 #s(literal -2 binary64))
(*.f64 y x)
(*.f64 x y)
y
z

eval10.0ms (0.4%)

Memory
10.1MiB live, 10.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 907 to 234 computations (74.2% saved)

prune15.0ms (0.6%)

Memory
-47.9MiB live, 6.5MiB allocated; 18ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New77481
Fresh000
Picked101
Done000
Total78482
Accuracy
100.0%
Counts
82 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
100.0%
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) z)
62.6%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
38.5%
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
Compiler

Compiled 39 to 33 computations (15.4% saved)

series107.0ms (4.1%)

Memory
43.1MiB live, 43.1MiB allocated; 0ms collecting garbage
Counts
12 → 27
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
(+.f64 z (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) z)
(+.f64 y #s(literal 1/2 binary64))
y
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
(fma.f64 x #s(literal 1/2 binary64) z)
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 x (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (+ z (* 1/2 x)) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) (+.f64 y (/.f64 z x)))))
#s(approx (+ z (* 1/2 x)) (*.f64 x (+.f64 #s(literal 1/2 binary64) (/.f64 z x))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 1/2 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 z x))) #s(literal 1/2 binary64)))))
#s(approx (+ z (* 1/2 x)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 z x)) #s(literal 1/2 binary64)))))
#s(approx (+ (* x (+ y 1/2)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (+.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1 binary64) (/.f64 z x))))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))))
#s(approx (+ y 1/2) #s(literal 1/2 binary64))
#s(approx (+ y 1/2) (+.f64 #s(literal 1/2 binary64) y))
#s(approx y y)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y (+.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 z y)))))
#s(approx (+ y 1/2) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 z (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/2 binary64) (/.f64 x z) (/.f64 (*.f64 x y) z)))))
#s(approx (+ z (* 1/2 x)) (*.f64 z (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x z)))))
#s(approx (+ (* x (+ y 1/2)) z) (*.f64 z (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) y)) z))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)) z)) #s(literal 1 binary64)))))
#s(approx (+ z (* 1/2 x)) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x z)) #s(literal 1 binary64)))))
#s(approx (+ (* x (+ y 1/2)) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) y)) z)) #s(literal 1 binary64)))))
Calls

9 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
y
-inf
1.0ms
x
inf
1.0ms
z
-inf
1.0ms
x
0

rewrite162.0ms (6.2%)

Memory
-26.1MiB live, 115.5MiB allocated; 22ms collecting garbage
Counts
12 → 54
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
(+.f64 z (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) z)
(+.f64 y #s(literal 1/2 binary64))
y
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
(fma.f64 x #s(literal 1/2 binary64) z)
Outputs
#s(approx (+ (* x (+ 1/2 y)) z) z)
z
#s(approx (+ (* x (+ 1/2 y)) z) (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 z (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) z)
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (neg.f64 z))
(-.f64 z (*.f64 #s(literal -1/2 binary64) x))
(-.f64 z (neg.f64 (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 x #s(literal 1/2 binary64) z)
(fma.f64 #s(literal 1/2 binary64) x z)
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
(/.f64 x #s(literal 2 binary64))
(/.f64 (neg.f64 x) #s(literal -2 binary64))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
x
(+.f64 (*.f64 y x) (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (fma.f64 y x z))
(+.f64 (fma.f64 x #s(literal 1/2 binary64) z) (*.f64 y x))
(+.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z)
(+.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(-.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) (neg.f64 z))
(-.f64 (*.f64 y x) (neg.f64 (fma.f64 x #s(literal 1/2 binary64) z)))
(fma.f64 x (-.f64 y #s(literal -1/2 binary64)) z)
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(fma.f64 x #s(literal 1/2 binary64) (fma.f64 y x z))
(fma.f64 #s(literal 1/2 binary64) x (fma.f64 y x z))
(fma.f64 x y (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 y #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) y)
(-.f64 y #s(literal -1/2 binary64))
y
(+.f64 (*.f64 y x) (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (fma.f64 y x z))
(+.f64 (fma.f64 x #s(literal 1/2 binary64) z) (*.f64 y x))
(+.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) z)
(+.f64 z (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(-.f64 (*.f64 (-.f64 y #s(literal -1/2 binary64)) x) (neg.f64 z))
(-.f64 (*.f64 y x) (neg.f64 (fma.f64 x #s(literal 1/2 binary64) z)))
(fma.f64 x (-.f64 y #s(literal -1/2 binary64)) z)
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(fma.f64 x #s(literal 1/2 binary64) (fma.f64 y x z))
(fma.f64 #s(literal 1/2 binary64) x (fma.f64 y x z))
(fma.f64 x y (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 z (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) z)
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (neg.f64 z))
(-.f64 z (*.f64 #s(literal -1/2 binary64) x))
(-.f64 z (neg.f64 (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 x #s(literal 1/2 binary64) z)
(fma.f64 #s(literal 1/2 binary64) x z)

eval5.0ms (0.2%)

Memory
14.1MiB live, 14.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 823 to 189 computations (77% saved)

prune33.0ms (1.2%)

Memory
7.7MiB live, 7.7MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New52557
Fresh000
Picked314
Done000
Total55661
Accuracy
100.0%
Counts
61 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
62.6%
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
61.7%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
61.8%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
39.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
38.5%
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
Compiler

Compiled 127 to 105 computations (17.3% saved)

series127.0ms (4.8%)

Memory
-34.5MiB live, 58.2MiB allocated; 20ms collecting garbage
Counts
16 → 25
Calls
Call 1
Inputs
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
x
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
(*.f64 x y)
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ y 1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
(*.f64 x (+.f64 #s(literal 1/2 binary64) y))
(+.f64 #s(literal 1/2 binary64) y)
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))
Outputs
#s(approx (+ (* (- y -1/2) x) z) z)
#s(approx (+ (* (- y -1/2) x) z) (+.f64 z (*.f64 x (+.f64 #s(literal 1/2 binary64) y))))
#s(approx x x)
#s(approx (* x y) (*.f64 x y))
#s(approx (* x (+ 1/2 y)) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (* (- y -1/2) x) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) (+.f64 y (/.f64 z x)))))
#s(approx (+ (* (- y -1/2) x) z) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (+.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1 binary64) (/.f64 z x))))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 1/2 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 z x))) #s(literal 1/2 binary64)))))
#s(approx (+ (* (- y -1/2) x) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (* (- y -1/2) x) z) (+.f64 z (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))))
#s(approx (- y -1/2) #s(literal 1/2 binary64))
#s(approx (- y -1/2) (+.f64 #s(literal 1/2 binary64) y))
#s(approx y y)
#s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* x (+ 1/2 y)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
#s(approx (+ (* (- y -1/2) x) z) (*.f64 y (+.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 z y)))))
#s(approx (- y -1/2) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (* x (+ 1/2 y)) (*.f64 y (+.f64 x (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))))
#s(approx (+ (* (- y -1/2) x) z) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 z (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (* x (+ 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
#s(approx (+ (* (- y -1/2) x) z) (*.f64 z (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) y)) z))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/2 binary64) (/.f64 x z) (/.f64 (*.f64 x y) z)))))
#s(approx (+ (* (- y -1/2) x) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (*.f64 x (+.f64 #s(literal 1/2 binary64) y)) z)) #s(literal 1 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)) z)) #s(literal 1 binary64)))))
Calls

9 calls:

TimeVariablePoint
7.0ms
y
inf
3.0ms
x
-inf
2.0ms
x
inf
2.0ms
x
0
1.0ms
y
0

rewrite177.0ms (6.8%)

Memory
25.8MiB live, 169.1MiB allocated; 15ms collecting garbage
Counts
16 → 55
Calls
Call 1
Inputs
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
x
z
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
(*.f64 x y)
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ y 1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
(*.f64 x (+.f64 #s(literal 1/2 binary64) y))
(+.f64 #s(literal 1/2 binary64) y)
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))
Outputs
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (fma.f64 y x z))
(+.f64 (*.f64 x (-.f64 y #s(literal -1/2 binary64))) z)
(+.f64 z (*.f64 x (-.f64 y #s(literal -1/2 binary64))))
(-.f64 (*.f64 x (-.f64 y #s(literal -1/2 binary64))) (neg.f64 z))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(fma.f64 x (-.f64 y #s(literal -1/2 binary64)) z)
(fma.f64 #s(literal 1/2 binary64) x (fma.f64 y x z))
(fma.f64 x #s(literal 1/2 binary64) (fma.f64 y x z))
(+.f64 #s(literal 1/2 binary64) y)
(+.f64 y #s(literal 1/2 binary64))
(-.f64 y #s(literal -1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (neg.f64 y))
(neg.f64 (-.f64 #s(literal -1/2 binary64) y))
y
#s(literal -1/2 binary64)
(neg.f64 #s(literal 1/2 binary64))
x
z
#s(approx (+ (* (+ y 1/2) x) z) (*.f64 x y))
(*.f64 x y)
(*.f64 y x)
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ y 1/2) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(neg.f64 #s(literal -1/2 binary64))
#s(approx (+ (* (+ y 1/2) x) z) (*.f64 x (-.f64 y #s(literal -1/2 binary64))))
(*.f64 x (-.f64 y #s(literal -1/2 binary64)))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(+.f64 (*.f64 x y) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x y))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 y) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) y))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (neg.f64 (*.f64 x y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x y))
(fma.f64 y x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x y (*.f64 #s(literal 1/2 binary64) x))
(+.f64 #s(literal 1/2 binary64) y)
(+.f64 y #s(literal 1/2 binary64))
(-.f64 y #s(literal -1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (neg.f64 y))
(neg.f64 (-.f64 #s(literal -1/2 binary64) y))
#s(approx (+ (* (+ y 1/2) x) z) (*.f64 x (-.f64 y #s(literal -1/2 binary64))))
(*.f64 x (-.f64 y #s(literal -1/2 binary64)))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(+.f64 (*.f64 x y) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x y))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 y) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 x) y))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (neg.f64 (*.f64 x y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x y))
(fma.f64 y x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x y (*.f64 #s(literal 1/2 binary64) x))

eval6.0ms (0.2%)

Memory
15.5MiB live, 15.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 974 to 208 computations (78.6% saved)

prune5.0ms (0.2%)

Memory
-36.7MiB live, 10.3MiB allocated; 1ms collecting garbage
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New63265
Fresh000
Picked145
Done011
Total64771
Accuracy
100.0%
Counts
71 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
62.6%
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
61.7%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
61.8%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
39.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
25.2%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
38.5%
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
Compiler

Compiled 88 to 72 computations (18.2% saved)

series104.0ms (4%)

Memory
2.2MiB live, 97.1MiB allocated; 12ms collecting garbage
Counts
10 → 22
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 x (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (* x (+ 1/2 y)) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) (+.f64 y (/.f64 z x)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 1/2 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 z x))) #s(literal 1/2 binary64)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y))))
#s(approx (* x (+ 1/2 y)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
#s(approx (- y -1/2) #s(literal 1/2 binary64))
#s(approx (- y -1/2) (+.f64 #s(literal 1/2 binary64) y))
#s(approx y y)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 y (+.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 z y)))))
#s(approx (* x (+ 1/2 y)) (*.f64 y (+.f64 x (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))))
#s(approx (- y -1/2) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 z (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (* x (+ 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/2 binary64) (/.f64 x z) (/.f64 (*.f64 x y) z)))))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)) z)) #s(literal 1 binary64)))))
Calls

9 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
-inf
0.0ms
x
0
0.0ms
y
inf

rewrite182.0ms (7%)

Memory
10.5MiB live, 206.7MiB allocated; 66ms collecting garbage
Counts
10 → 28
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(-.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
Outputs
#s(approx (+ (* (+ y 1/2) x) z) #s(approx (* (+ y 1/2) x) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (* (+ y 1/2) x) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
(/.f64 x #s(literal 2 binary64))
(/.f64 (neg.f64 x) #s(literal -2 binary64))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(neg.f64 #s(literal -1/2 binary64))
x
#s(approx (+ (* (+ y 1/2) x) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
(*.f64 (-.f64 y #s(literal -1/2 binary64)) x)
(*.f64 x (-.f64 y #s(literal -1/2 binary64)))
(+.f64 (*.f64 y x) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 y x))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 y) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (neg.f64 (*.f64 y x)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 y x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 y x))
(fma.f64 y x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x y (*.f64 #s(literal 1/2 binary64) x))
(+.f64 y #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) y)
(-.f64 y #s(literal -1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (neg.f64 y))
(neg.f64 (-.f64 #s(literal -1/2 binary64) y))
y
#s(literal -1/2 binary64)

eval4.0ms (0.2%)

Memory
12.6MiB live, 12.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 804 to 173 computations (78.5% saved)

prune32.0ms (1.2%)

Memory
9.4MiB live, 9.4MiB allocated; 0ms collecting garbage
Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New42042
Fresh000
Picked022
Done055
Total42749
Accuracy
100.0%
Counts
49 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
62.6%
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
61.7%
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
61.8%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
39.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
25.2%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
38.5%
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
Compiler

Compiled 88 to 72 computations (18.2% saved)

regimes175.0ms (6.7%)

Memory
-18.5MiB live, 261.7MiB allocated; 74ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
2 → 3
3 → 5
7 → 3
10 → 1
12 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
Call 2
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
Call 3
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
Call 4
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
Outputs
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
Call 5
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
Outputs
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
Call 6
Inputs
#s(approx (+ (+ (/ x 2) (* y x)) z) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (* x (+ 1/2 y)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x y))
(fma.f64 x #s(approx (+ y 1/2) #s(literal 1/2 binary64)) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 (-.f64 y #s(literal -1/2 binary64)) x))
#s(approx (+ (+ (/ x 2) (* y x)) z) (*.f64 x (+.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 z (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 (-.f64 y #s(literal -1/2 binary64)) x z)
(fma.f64 x (+.f64 y #s(literal 1/2 binary64)) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) (fma.f64 #s(literal 1/2 binary64) x (*.f64 x y)))
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Outputs
(fma.f64 y x (fma.f64 x #s(literal 1/2 binary64) z))
Calls

29 calls:

29.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
23.0ms
z
13.0ms
z
6.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
4.0ms
y
Results
AccuracySegmentsBranch
38.5%1y
38.5%1z
38.5%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
38.5%1x
38.5%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
48.5%3z
51.2%3x
38.5%1y
49.3%3(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
55.0%3(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
55.8%3z
58.5%3x
70.1%5(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
66.0%3y
89.7%3(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
78.8%3(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
82.2%3x
89.7%3y
79.0%3z
100.0%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
100.0%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
100.0%1x
100.0%1y
100.0%1z
100.0%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
100.0%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 245 to 178 computations (27.3% saved)

bsearch42.0ms (1.6%)

Memory
5.4MiB live, 52.5MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
21.0ms
4.2124271225955604e+54
1.1101117729095501e+61
17.0ms
-2.6579888385703255e+75
-1.4191993990751945e+68
Samples
18.0ms288×0valid
Compiler

Compiled 390 to 374 computations (4.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-add!: 2.0ms (28.5% of total)
ival-div!: 2.0ms (28.5% of total)
ival-mult!: 2.0ms (28.5% of total)
adjust: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
2.2MiB live, 2.2MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.726917981262284e+264
7.686205613901538e+267
0.0ms
5.339940433757967e+115
5.066853267185687e+123
0.0ms
3.5170976858257776e+51
1.550945251244497e+64
0.0ms
-2.2242259774625633e+122
-7.869598268075913e+118
Compiler

Compiled 12 to 14 computations (-16.7% saved)

bsearch77.0ms (2.9%)

Memory
-7.6MiB live, 42.9MiB allocated; 26ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
60.0ms
2.904609590963535e+85
1.791786782047054e+89
13.0ms
-1.0103185060831658e+137
-1.5739196536151826e+119
Samples
60.0ms288×0valid
Compiler

Compiled 552 to 482 computations (12.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 52.0ms
ival-add!: 27.0ms (51.8% of total)
ival-mult!: 23.0ms (44.1% of total)
ival-div!: 2.0ms (3.8% of total)
adjust: 0.0ms (0% of total)

derivations4.0ms (0.2%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 232 to 54 computations (76.7% saved)

preprocess48.0ms (1.8%)

Memory
20.4MiB live, 67.9MiB allocated; 9ms collecting garbage
Compiler

Compiled 241 to 62 computations (74.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...