Graphics.Rendering.Chart.Axis.Types:hBufferRect from Chart-1.5.3

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB 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 9 to 8 computations (11.1% saved)

sample620.0ms (30.8%)

Memory
-10.9MiB live, 567.1MiB allocated; 134ms collecting garbage
Samples
289.0ms7 616×0valid
52.0ms143×3valid
27.0ms296×1valid
18.0ms201×2valid
Precisions
Click to see histograms. Total time spent on operations: 174.0ms
ival-div!: 92.0ms (52.8% of total)
ival-sub!: 34.0ms (19.5% of total)
ival-add!: 26.0ms (14.9% of total)
adjust: 22.0ms (12.6% of total)
Bogosity

preprocess25.0ms (1.2%)

Memory
-18.9MiB live, 30.4MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01946
18342
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Compiler

Compiled 14 to 12 computations (14.3% saved)

series122.0ms (6.1%)

Memory
13.2MiB live, 104.3MiB allocated; 14ms collecting garbage
Counts
6 → 24
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
x
(/.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
y
#s(literal 2 binary64)
Outputs
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (+ x (/ (- x y) 2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x)))
#s(approx x x)
#s(approx (/ (- x y) 2) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- x y) (-.f64 x y))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
#s(approx (+ x (/ (- x y) 2)) (*.f64 x (+.f64 #s(literal 3/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- x y) 2) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- x y) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 3/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64)))))
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))))
#s(approx (- x y) (+.f64 x (*.f64 #s(literal -1 binary64) y)))
#s(approx y y)
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (- x y) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64))))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y))))))
Calls

6 calls:

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

rewrite197.0ms (9.8%)

Memory
-1.3MiB live, 153.9MiB allocated; 101ms collecting garbage
Counts
6 → 16
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
x
(/.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
y
#s(literal 2 binary64)
Outputs
(+.f64 x (*.f64 (-.f64 x y) #s(literal 1/2 binary64)))
(+.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) x)
(-.f64 x (neg.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 x #s(literal 2 binary64) (-.f64 x y)) #s(literal 2 binary64))
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
x
(*.f64 (-.f64 x y) #s(literal 1/2 binary64))
(-.f64 (/.f64 x #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))
(/.f64 (-.f64 x y) #s(literal 2 binary64))
(/.f64 (neg.f64 (-.f64 x y)) #s(literal -2 binary64))
(+.f64 x (neg.f64 y))
(-.f64 x y)
(neg.f64 (-.f64 y x))
y
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))

eval4.0ms (0.2%)

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

Compiled 449 to 140 computations (68.8% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New30535
Fresh000
Picked101
Done000
Total31536
Accuracy
100.0%
Counts
36 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
87.9%
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
87.7%
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))))
48.6%
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
51.8%
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 130 to 94 computations (27.7% saved)

series182.0ms (9.1%)

Memory
-23.2MiB live, 119.0MiB allocated; 33ms collecting garbage
Counts
21 → 41
Calls
Call 1
Inputs
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
(-.f64 x y)
x
y
#s(literal 1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
(*.f64 #s(literal 3/2 binary64) x)
#s(literal 3/2 binary64)
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(/.f64 x y)
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y))
Outputs
#s(approx (+ (* (- x y) 1/2) x) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (+ (* (- x y) 1/2) x) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x)))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- x y) (-.f64 x y))
#s(approx x x)
#s(approx (* 3/2 x) (*.f64 #s(literal 3/2 binary64) x))
#s(approx (/ (- x y) 2) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))
#s(approx (- (* 1/2 (/ x y)) 1/2) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (/ x y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))
#s(approx (/ x y) (/.f64 x y))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) (/ x y)) (*.f64 #s(literal 3/2 binary64) (/.f64 x y)))
#s(approx (+ (* (- x y) 1/2) x) (*.f64 x (+.f64 #s(literal 3/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- x y) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- x y) 2) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (+ (* (- x y) 1/2) x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 3/2 binary64)))))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))))
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))))))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y))))))
#s(approx (+ (* (- x y) 1/2) x) (+.f64 x (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ (* (- x y) 1/2) x) (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))))
#s(approx (- x y) (+.f64 x (*.f64 #s(literal -1 binary64) y)))
#s(approx y y)
#s(approx (- (* 1/2 (/ x y)) 1/2) (/.f64 (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)) y))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (/.f64 (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) y))
#s(approx (+ (* (- x y) 1/2) x) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (- x y) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))
#s(approx (+ (* (- x y) 1/2) x) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (- x y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y))))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
#s(approx (* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))))
#s(approx (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64)))
#s(approx (+ (* 1/2 (/ x y)) (/ x y)) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y)))
Calls

6 calls:

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

rewrite268.0ms (13.4%)

Memory
19.2MiB live, 199.3MiB allocated; 81ms collecting garbage
Counts
21 → 57
Calls
Call 1
Inputs
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
(-.f64 x y)
x
y
#s(literal 1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
(*.f64 #s(literal 3/2 binary64) x)
#s(literal 3/2 binary64)
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(/.f64 x y)
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))
(-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y))
Outputs
(+.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) x)
(+.f64 x (*.f64 (-.f64 x y) #s(literal 1/2 binary64)))
(-.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) (neg.f64 x))
(-.f64 x (neg.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 x #s(literal 2 binary64) (-.f64 x y)) #s(literal 2 binary64))
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
(fma.f64 #s(literal 1/2 binary64) (-.f64 x y) x)
(+.f64 x (neg.f64 y))
(-.f64 x y)
(neg.f64 (-.f64 y x))
x
y
#s(literal 1/2 binary64)
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
(*.f64 y #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(neg.f64 #s(literal 1/2 binary64))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
(*.f64 #s(literal 3/2 binary64) x)
(*.f64 x #s(literal 3/2 binary64))
#s(literal 3/2 binary64)
(+.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64))))
(*.f64 y (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)))
(*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64)) y)
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal -1/2 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal -1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))
(neg.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(*.f64 x (/.f64 #s(literal 1 binary64) y))
(/.f64 x y)
(/.f64 (neg.f64 x) (neg.f64 y))
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))))
(*.f64 y (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)))
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) (-.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(+.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal -1/2 binary64))
(-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (-.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) (-.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(neg.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 3/2 binary64) (/.f64 x y))))
(*.f64 #s(literal 3/2 binary64) (/.f64 x y))
(+.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) (/.f64 x y))
(+.f64 (/.f64 x y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) (neg.f64 (/.f64 x y)))
(/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) x) y) y x) y)
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y))
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) (/.f64 x y))
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))

eval9.0ms (0.4%)

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

Compiled 1 739 to 368 computations (78.8% saved)

prune5.0ms (0.2%)

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

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New90494
Fresh000
Picked235
Done000
Total92799
Accuracy
100.0%
Counts
99 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
87.8%
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))))
59.9%
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))))
87.7%
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y))
87.8%
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))))
48.6%
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
51.8%
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 104 to 78 computations (25% saved)

series151.0ms (7.5%)

Memory
-10.7MiB live, 126.1MiB allocated; 39ms collecting garbage
Counts
27 → 38
Calls
Call 1
Inputs
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))
y
(-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
x
(/.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))
#s(literal 3/2 binary64)
(/.f64 x y)
#s(literal -1/2 binary64)
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))
(*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y)))
(*.f64 x (/.f64 #s(literal 1 binary64) y))
Outputs
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (+ x (/ (- x y) 2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x)))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) #s(literal -1/2 binary64))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))
#s(approx (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) (*.f64 #s(literal 3/2 binary64) (/.f64 x y)))
#s(approx x x)
#s(approx (/ (* 1/2 x) y) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ x y) (/.f64 x y))
#s(approx (/ (- x y) 2) (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (- (* 1/2 (/ x y)) 1/2) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
#s(approx (+ x (/ (- x y) 2)) (*.f64 x (+.f64 #s(literal 3/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (/ (- x y) 2) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 3/2 binary64)))))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 3/2 binary64) (/.f64 #s(literal 1 binary64) y))))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))))
#s(approx (- (* 1/2 (/ x y)) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))))))
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (+ x (/ (- x y) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))))
#s(approx y y)
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (/.f64 (+.f64 x (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))) y))
#s(approx (/ 1 y) (/.f64 #s(literal 1 binary64) y))
#s(approx (+ (* 3/2 (/ x y)) -1/2) (/.f64 (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 3/2 binary64) x)) y))
#s(approx (- (* 1/2 (/ x y)) 1/2) (/.f64 (fma.f64 #s(literal -1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x)) y))
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) (/.f64 x y)) #s(literal 1/2 binary64)))
#s(approx (* (+ (* 3/2 (/ x y)) -1/2) y) (*.f64 y (-.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))))
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) x)) y))))))
#s(approx (* y (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))))
#s(approx (- (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) 1/2) (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64)))
#s(approx (+ (* x (/ 1 y)) (/ (* 1/2 x) y)) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1/2 binary64) x)) y)))
#s(approx (* (+ (* 3/2 (/ x y)) -1/2) y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -3/2 binary64) (/.f64 x y))))))
#s(approx (/ (- x y) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))))))
Calls

6 calls:

TimeVariablePoint
9.0ms
x
inf
4.0ms
y
-inf
4.0ms
x
-inf
2.0ms
y
inf
2.0ms
y
0

rewrite227.0ms (11.3%)

Memory
-6.8MiB live, 88.5MiB allocated; 57ms collecting garbage
Counts
27 → 29
Calls
Call 1
Inputs
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))
y
(-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
x
(/.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))
#s(literal 3/2 binary64)
(/.f64 x y)
#s(literal -1/2 binary64)
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))
(*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y)))
(*.f64 x (/.f64 #s(literal 1 binary64) y))
Outputs
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64)))
y
(-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))
(+.f64 (*.f64 x (/.f64 #s(literal 1 binary64) y)) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
x
(/.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y)
(+.f64 (*.f64 #s(literal 3/2 binary64) (/.f64 x y)) #s(literal -1/2 binary64))
(fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64))
#s(literal 3/2 binary64)
(/.f64 x y)
#s(literal -1/2 binary64)
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))))
(*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64))
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))))
#s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))))
(*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y)))
(*.f64 x (/.f64 #s(literal 1 binary64) y))

eval6.0ms (0.3%)

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

Compiled 1 118 to 248 computations (77.8% saved)

prune4.0ms (0.2%)

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

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New45045
Fresh000
Picked044
Done033
Total45752
Accuracy
100.0%
Counts
52 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 (-.f64 x y) #s(literal 1/2 binary64) x)
87.8%
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x (/.f64 #s(literal 1 binary64) y))) #s(literal 1/2 binary64)))))
59.9%
(+.f64 x #s(approx (/ (- x y) 2) (*.f64 y #s(approx (- (* 1/2 (/ x y)) 1/2) #s(literal -1/2 binary64)))))
87.7%
#s(approx (+ x (/ (- x y) 2)) (*.f64 (fma.f64 #s(literal 3/2 binary64) (/.f64 x y) #s(literal -1/2 binary64)) y))
87.8%
#s(approx (+ x (/ (- x y) 2)) (*.f64 y (-.f64 (fma.f64 x (/.f64 #s(literal 1 binary64) y) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y)) #s(literal 1/2 binary64))))
48.6%
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal 3/2 binary64) x))
51.8%
#s(approx (+ x (/ (- x y) 2)) (*.f64 #s(literal -1/2 binary64) y))
Compiler

Compiled 104 to 78 computations (25% saved)

regimes28.0ms (1.4%)

Memory
-6.7MiB live, 38.1MiB allocated; 6ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

10 calls:

8.0ms
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
4.0ms
y
4.0ms
x
2.0ms
y
2.0ms
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
51.8%1(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
51.8%1x
51.8%1y
78.0%3y
62.8%2(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
77.8%3x
79.9%3y
99.9%1(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
99.9%1x
99.9%1y
Compiler

Compiled 176 to 85 computations (51.7% saved)

bsearch23.0ms (1.1%)

Memory
-19.2MiB live, 26.7MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
7.0ms
5.873809500222e+55
3.567958392519481e+56
12.0ms
-6.930652889212724e-40
-7.580832512317473e-57
Samples
7.0ms238×0valid
1.0ms3valid
1.0ms2valid
1.0ms1valid
Compiler

Compiled 490 to 411 computations (16.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub!: 2.0ms (42.6% of total)
ival-div!: 1.0ms (21.3% of total)
ival-add!: 1.0ms (21.3% of total)
adjust: 0.0ms (0% of total)

bsearch48.0ms (2.4%)

Memory
10.5MiB live, 10.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
46.0ms
5.873809500222e+55
3.567958392519481e+56
1.0ms
-6.930652889212724e-40
-7.580832512317473e-57
Samples
39.0ms76×0valid
1.0ms2valid
0.0ms1valid
Compiler

Compiled 362 to 331 computations (8.6% saved)

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

derivations2.0ms (0.1%)

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

Compiled 115 to 33 computations (71.3% saved)

preprocess85.0ms (4.2%)

Memory
-3.2MiB live, 52.4MiB allocated; 83ms collecting garbage
Compiler

Compiled 122 to 39 computations (68% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...