Graphics.Rendering.Chart.Plot.AreaSpots:renderSpotLegend from Chart-1.5.3

Time bar (total: 28.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.1MiB live, 0.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 10 to 9 computations (10% saved)

sample945.0ms (3.3%)

Memory
41.9MiB live, 615.0MiB allocated; 103ms collecting garbage
Samples
525.0ms7 921×0valid
67.0ms70×3valid
16.0ms111×2valid
15.0ms154×1valid
Precisions
Click to see histograms. Total time spent on operations: 298.0ms
ival-sub!: 118.0ms (39.7% of total)
ival-fabs: 71.0ms (23.9% of total)
ival-div!: 62.0ms (20.8% of total)
ival-add!: 28.0ms (9.4% of total)
adjust: 19.0ms (6.4% of total)
Bogosity

preprocess39.0ms (0.1%)

Memory
-8.7MiB live, 37.7MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02356
16454
212654
338354
4192154
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Compiler

Compiled 14 to 14 computations (0% saved)

series5.0ms (0%)

Memory
6.2MiB live, 6.2MiB allocated; 0ms collecting garbage
Counts
7 → 22
Calls
Call 1
Inputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
x
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))
(fabs.f64 (-.f64 y x))
(-.f64 y x)
y
#s(literal 2 binary64)
Outputs
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (- y x))))))
#s(approx x #s(hole binary64 x))
#s(approx (/ (fabs (- y x)) 2) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (- y x))))
#s(approx (- y x) #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (+ y (* -1 x))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 x))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- y x)) x))))))
#s(approx (- y x) #s(hole binary64 (* -1 x)))
#s(approx (- y x) #s(hole binary64 (* x (- (/ y x) 1))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1)))))
#s(approx (/ (fabs (- y x)) 2) #s(hole binary64 (* 1/2 (fabs (+ y (* -1 x))))))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (+ y (* -1 x)))))
#s(approx (- y x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ y x)))))))
#s(approx (- y x) #s(hole binary64 (- y x)))
#s(approx y #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (* y (+ 1 (* -1 (/ x y))))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (neg (+ x (* -1 y))))))))
#s(approx (/ (fabs (- y x)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ x (* -1 y)))))))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (neg (+ x (* -1 y))))))
#s(approx (- y x) #s(hole binary64 (* -1 (* y (- (/ x y) 1)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ x (/ (fabs (- y x)) 2)) x (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x) y 2)
1.0ms
x
@inf
((+ x (/ (fabs (- y x)) 2)) x (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x) y 2)
1.0ms
y
@-inf
((+ x (/ (fabs (- y x)) 2)) x (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x) y 2)
1.0ms
y
@inf
((+ x (/ (fabs (- y x)) 2)) x (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x) y 2)
1.0ms
x
@0
((+ x (/ (fabs (- y x)) 2)) x (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x) y 2)

rewrite1.1s (3.8%)

Memory
-6.0MiB live, 1 042.6MiB allocated; 177ms collecting garbage
Counts
29 → 23
Calls
Call 1
Inputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
x
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))
(fabs.f64 (-.f64 y x))
(-.f64 y x)
y
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (- y x))))))
#s(approx x #s(hole binary64 x))
#s(approx (/ (fabs (- y x)) 2) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (- y x))))
#s(approx (- y x) #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (+ y (* -1 x))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 x))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- y x)) x))))))
#s(approx (- y x) #s(hole binary64 (* -1 x)))
#s(approx (- y x) #s(hole binary64 (* x (- (/ y x) 1))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1)))))
#s(approx (/ (fabs (- y x)) 2) #s(hole binary64 (* 1/2 (fabs (+ y (* -1 x))))))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (+ y (* -1 x)))))
#s(approx (- y x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ y x)))))))
#s(approx (- y x) #s(hole binary64 (- y x)))
#s(approx y #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (* y (+ 1 (* -1 (/ x y))))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (neg (+ x (* -1 y))))))))
#s(approx (/ (fabs (- y x)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ x (* -1 y)))))))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (neg (+ x (* -1 y))))))
#s(approx (- y x) #s(hole binary64 (* -1 (* y (- (/ x y) 1)))))
Outputs
(+.f64 x (/.f64 (fabs.f64 (-.f64 x y)) #s(literal 2 binary64)))
x
(/.f64 (fabs.f64 (-.f64 x y)) #s(literal 2 binary64))
(fabs.f64 (-.f64 x y))
(-.f64 y x)
y
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
#s(approx x x)
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
#s(approx (fabs (- x y)) (fabs.f64 (-.f64 x y)))
#s(approx (- y x) y)
#s(approx (- y x) (-.f64 y x))
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 x y)) x) x))
#s(approx (- y x) (neg.f64 x))
#s(approx (- y x) (*.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (+ x (/ (fabs (- x y)) 2)) (*.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fabs.f64 (-.f64 x y)) x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (- y x) (neg.f64 (-.f64 x (*.f64 (/.f64 y x) x))))
#s(approx y y)
#s(approx (- y x) (-.f64 y (*.f64 (/.f64 x y) y)))
#s(approx (- y x) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) (neg.f64 y)))

eval2.0ms (0%)

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

Compiled 104 to 54 computations (48.1% saved)

prune4.0ms (0%)

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New14923
Fresh000
Picked101
Done000
Total15924
Accuracy
99.9%
Counts
24 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.7%
(-.f64 y x)
15.1%
(fabs.f64 (-.f64 x y))
54.5%
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
2.2%
#s(approx (- y x) (neg.f64 x))
6.9%
#s(approx (- y x) y)
87.3%
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 x y)) x) x))
99.9%
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
11.3%
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
4.6%
#s(literal 2 binary64)
Compiler

Compiled 124 to 128 computations (-3.2% saved)

series5.0ms (0%)

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

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ x (/ (fabs (- x y)) 2)) (+ (* 1/2 (fabs (- x y))) x) 1/2 (fabs (- x y)) (- x y) x y 2 (- y x) (- y x) (/ (fabs (- x y)) 2) (* 1/2 (fabs (- x y))))
1.0ms
y
@-inf
((+ x (/ (fabs (- x y)) 2)) (+ (* 1/2 (fabs (- x y))) x) 1/2 (fabs (- x y)) (- x y) x y 2 (- y x) (- y x) (/ (fabs (- x y)) 2) (* 1/2 (fabs (- x y))))
1.0ms
x
@inf
((+ x (/ (fabs (- x y)) 2)) (+ (* 1/2 (fabs (- x y))) x) 1/2 (fabs (- x y)) (- x y) x y 2 (- y x) (- y x) (/ (fabs (- x y)) 2) (* 1/2 (fabs (- x y))))
1.0ms
y
@inf
((+ x (/ (fabs (- x y)) 2)) (+ (* 1/2 (fabs (- x y))) x) 1/2 (fabs (- x y)) (- x y) x y 2 (- y x) (- y x) (/ (fabs (- x y)) 2) (* 1/2 (fabs (- x y))))
1.0ms
x
@0
((+ x (/ (fabs (- x y)) 2)) (+ (* 1/2 (fabs (- x y))) x) 1/2 (fabs (- x y)) (- x y) x y 2 (- y x) (- y x) (/ (fabs (- x y)) 2) (* 1/2 (fabs (- x y))))

rewrite1.1s (4%)

Memory
16.4MiB live, 1 197.8MiB allocated; 274ms collecting garbage
Counts
51 → 38
Calls
Call 1
Inputs
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
(fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x)
#s(literal 1/2 binary64)
(fabs.f64 (-.f64 x y))
(-.f64 x y)
x
y
#s(literal 2 binary64)
#s(approx (- y x) y)
(-.f64 y x)
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)))
#s(approx (+ x (/ (fabs (- x y)) 2)) #s(hole binary64 (* 1/2 (fabs (- x y)))))
#s(approx (+ x (/ (fabs (- x y)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (- x y))))))
#s(approx (+ (* 1/2 (fabs (- x y))) x) #s(hole binary64 (* 1/2 (fabs (- x y)))))
#s(approx (+ (* 1/2 (fabs (- x y))) x) #s(hole binary64 (+ x (* 1/2 (fabs (- x y))))))
#s(approx (fabs (- x y)) #s(hole binary64 (fabs (- x y))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx x #s(hole binary64 x))
#s(approx (- y x) #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (+ y (* -1 x))))
#s(approx (/ (fabs (- x y)) 2) #s(hole binary64 (* 1/2 (fabs (- x y)))))
#s(approx (* 1/2 (fabs (- x y))) #s(hole binary64 (* 1/2 (fabs (- x y)))))
#s(approx (+ x (/ (fabs (- x y)) 2)) #s(hole binary64 x))
#s(approx (+ x (/ (fabs (- x y)) 2)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- x y)) x))))))
#s(approx (+ (* 1/2 (fabs (- x y))) x) #s(hole binary64 x))
#s(approx (+ (* 1/2 (fabs (- x y))) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- x y)) x))))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (- y x) #s(hole binary64 (* -1 x)))
#s(approx (- y x) #s(hole binary64 (* x (- (/ y x) 1))))
#s(approx (+ x (/ (fabs (- x y)) 2)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (neg (+ y (* -1 x)))) x)) 1)))))
#s(approx (+ (* 1/2 (fabs (- x y))) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (neg (+ y (* -1 x)))) x)) 1)))))
#s(approx (fabs (- x y)) #s(hole binary64 (fabs (neg (+ y (* -1 x))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- y x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ y x)))))))
#s(approx (/ (fabs (- x y)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ y (* -1 x)))))))
#s(approx (* 1/2 (fabs (- x y))) #s(hole binary64 (* 1/2 (fabs (neg (+ y (* -1 x)))))))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx y #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (- y x)))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (- y x) #s(hole binary64 (* y (+ 1 (* -1 (/ x y))))))
#s(approx (+ x (/ (fabs (- x y)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (+ x (* -1 y)))))))
#s(approx (+ (* 1/2 (fabs (- x y))) x) #s(hole binary64 (+ x (* 1/2 (fabs (+ x (* -1 y)))))))
#s(approx (fabs (- x y)) #s(hole binary64 (fabs (+ x (* -1 y)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
#s(approx (- y x) #s(hole binary64 (* -1 (* y (- (/ x y) 1)))))
#s(approx (/ (fabs (- x y)) 2) #s(hole binary64 (* 1/2 (fabs (+ x (* -1 y))))))
#s(approx (* 1/2 (fabs (- x y))) #s(hole binary64 (* 1/2 (fabs (+ x (* -1 y))))))
Outputs
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x)) x))
(fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x)) x)
#s(literal 1/2 binary64)
(fabs.f64 (-.f64 y x))
(-.f64 x y)
x
y
#s(literal 2 binary64)
#s(approx (- y x) y)
(-.f64 y x)
#s(approx (/ (fabs (- y x)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x)))
#s(approx (+ x (/ (fabs (- y x)) 2)) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x))))
#s(approx (+ x (* 1/2 (fabs (- y x)))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x))))
#s(approx (+ x (* 1/2 (fabs (- y x)))) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x)) x))
#s(approx (fabs (- y x)) (fabs.f64 (-.f64 y x)))
#s(approx (- x y) (neg.f64 y))
#s(approx (- x y) (-.f64 x y))
#s(approx x x)
#s(approx (- y x) (-.f64 y x))
#s(approx (* 1/2 (fabs (- y x))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 y x))))
#s(approx (+ x (/ (fabs (- y x)) 2)) x)
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
#s(approx (+ x (* 1/2 (fabs (- y x)))) x)
#s(approx (+ x (* 1/2 (fabs (- y x)))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
#s(approx (- x y) x)
#s(approx (- x y) (-.f64 x (*.f64 (/.f64 y x) x)))
#s(approx (- y x) (neg.f64 x))
#s(approx (- y x) (*.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (+ x (/ (fabs (- y x)) 2)) (*.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fabs.f64 (-.f64 y x)) x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (+ x (* 1/2 (fabs (- y x)))) (*.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fabs.f64 (-.f64 y x)) x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (- y x) (neg.f64 (-.f64 x (*.f64 (/.f64 y x) x))))
#s(approx y y)
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (- y x) (-.f64 y (*.f64 (/.f64 x y) y)))
#s(approx (- x y) (neg.f64 (-.f64 y (*.f64 (/.f64 x y) y))))
#s(approx (- y x) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) (neg.f64 y)))

eval6.0ms (0%)

Memory
-35.5MiB live, 11.0MiB allocated; 4ms collecting garbage
Compiler

Compiled 178 to 68 computations (61.8% saved)

prune4.0ms (0%)

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

10 alts after pruning (5 fresh and 5 done)

PrunedKeptTotal
New29534
Fresh404
Picked055
Done000
Total331043
Accuracy
99.9%
Counts
43 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.7%
(-.f64 y x)
14.4%
(-.f64 x y)
54.5%
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
6.9%
#s(approx (- y x) y)
6.5%
#s(approx (- x y) (neg.f64 y))
11.3%
#s(approx (- x y) x)
87.3%
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
99.9%
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
4.6%
#s(literal 2 binary64)
4.6%
#s(literal 1/2 binary64)
Compiler

Compiled 85 to 91 computations (-7.1% saved)

series10.0ms (0%)

Memory
-20.3MiB live, 26.3MiB allocated; 3ms collecting garbage
Counts
13 → 38
Calls
Call 1
Inputs
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
(fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x)
(*.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
(/.f64 (fabs.f64 (-.f64 y x)) x)
(fabs.f64 (-.f64 y x))
(-.f64 y x)
y
#s(approx (- x y) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
(-.f64 x y)
Outputs
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (- y x))))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (+ x (* 1/2 (fabs (- y x))))))
#s(approx (* x 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (/ (fabs (- y x)) x) #s(hole binary64 (/ (fabs (- y x)) x)))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (- y x))))
#s(approx (- y x) #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (+ y (* -1 x))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 x))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- y x)) x))))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 x))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- y x)) x))))))
#s(approx (- y x) #s(hole binary64 (* -1 x)))
#s(approx (- y x) #s(hole binary64 (* x (- (/ y x) 1))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1)))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1)))))
#s(approx (/ (fabs (- y x)) x) #s(hole binary64 (/ (fabs (+ y (* -1 x))) x)))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (+ y (* -1 x)))))
#s(approx (- y x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ y x)))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- y x) #s(hole binary64 (- y x)))
#s(approx y #s(hole binary64 y))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (- y x) #s(hole binary64 (* y (+ 1 (* -1 (/ x y))))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (neg (+ x (* -1 y))))))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (+ x (* 1/2 (fabs (neg (+ x (* -1 y))))))))
#s(approx (/ (fabs (- y x)) x) #s(hole binary64 (/ (fabs (neg (+ x (* -1 y)))) x)))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (neg (+ x (* -1 y))))))
#s(approx (- y x) #s(hole binary64 (* -1 (* y (- (/ x y) 1)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
y
@inf
((+ x (/ (fabs (- y x)) 2)) (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) (* x 1/2) x 1/2 (/ (fabs (- y x)) x) (fabs (- y x)) (- y x) y (- x y) (- x y) (neg y) (- x y))
1.0ms
x
@-inf
((+ x (/ (fabs (- y x)) 2)) (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) (* x 1/2) x 1/2 (/ (fabs (- y x)) x) (fabs (- y x)) (- y x) y (- x y) (- x y) (neg y) (- x y))
1.0ms
x
@inf
((+ x (/ (fabs (- y x)) 2)) (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) (* x 1/2) x 1/2 (/ (fabs (- y x)) x) (fabs (- y x)) (- y x) y (- x y) (- x y) (neg y) (- x y))
1.0ms
y
@-inf
((+ x (/ (fabs (- y x)) 2)) (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) (* x 1/2) x 1/2 (/ (fabs (- y x)) x) (fabs (- y x)) (- y x) y (- x y) (- x y) (neg y) (- x y))
1.0ms
x
@0
((+ x (/ (fabs (- y x)) 2)) (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) (* x 1/2) x 1/2 (/ (fabs (- y x)) x) (fabs (- y x)) (- y x) y (- x y) (- x y) (neg y) (- x y))

rewrite1.1s (4%)

Memory
45.8MiB live, 764.9MiB allocated; 104ms collecting garbage
Counts
51 → 40
Calls
Call 1
Inputs
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
(fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x)
(*.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
(/.f64 (fabs.f64 (-.f64 y x)) x)
(fabs.f64 (-.f64 y x))
(-.f64 y x)
y
#s(approx (- x y) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
(-.f64 x y)
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (- y x))))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (* 1/2 (fabs (- y x)))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (+ x (* 1/2 (fabs (- y x))))))
#s(approx (* x 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (/ (fabs (- y x)) x) #s(hole binary64 (/ (fabs (- y x)) x)))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (- y x))))
#s(approx (- y x) #s(hole binary64 y))
#s(approx (- y x) #s(hole binary64 (+ y (* -1 x))))
#s(approx (- x y) #s(hole binary64 (* -1 y)))
#s(approx (- x y) #s(hole binary64 (- x y)))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 x))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- y x)) x))))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 x))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (fabs (- y x)) x))))))
#s(approx (- y x) #s(hole binary64 (* -1 x)))
#s(approx (- y x) #s(hole binary64 (* x (- (/ y x) 1))))
#s(approx (- x y) #s(hole binary64 x))
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x))))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1)))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1)))))
#s(approx (/ (fabs (- y x)) x) #s(hole binary64 (/ (fabs (+ y (* -1 x))) x)))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (+ y (* -1 x)))))
#s(approx (- y x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 (/ y x)))))))
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1)))))
#s(approx (- y x) #s(hole binary64 (- y x)))
#s(approx y #s(hole binary64 y))
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (- y x) #s(hole binary64 (* y (+ 1 (* -1 (/ x y))))))
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1))))
#s(approx (+ x (/ (fabs (- y x)) 2)) #s(hole binary64 (+ x (* 1/2 (fabs (neg (+ x (* -1 y))))))))
#s(approx (+ (* (* x 1/2) (/ (fabs (- y x)) x)) x) #s(hole binary64 (+ x (* 1/2 (fabs (neg (+ x (* -1 y))))))))
#s(approx (/ (fabs (- y x)) x) #s(hole binary64 (/ (fabs (neg (+ x (* -1 y)))) x)))
#s(approx (fabs (- y x)) #s(hole binary64 (fabs (neg (+ x (* -1 y))))))
#s(approx (- y x) #s(hole binary64 (* -1 (* y (- (/ x y) 1)))))
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y)))))))
Outputs
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 (/.f64 (fabs.f64 (-.f64 x y)) x) (*.f64 #s(literal 1/2 binary64) x) x))
(fma.f64 (/.f64 (fabs.f64 (-.f64 x y)) x) (*.f64 #s(literal 1/2 binary64) x) x)
(*.f64 #s(literal 1/2 binary64) x)
x
#s(literal 1/2 binary64)
(/.f64 (fabs.f64 (-.f64 x y)) x)
(fabs.f64 (-.f64 x y))
(-.f64 y x)
y
#s(approx (- x y) x)
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
(-.f64 x y)
#s(approx (+ x (/ (fabs (- x y)) 2)) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
#s(approx (* x (+ 1 (* (fabs (- x y)) (/ 1/2 x)))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
#s(approx (* x (+ 1 (* (fabs (- x y)) (/ 1/2 x)))) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x x)
#s(approx (/ (fabs (- x y)) x) (/.f64 (fabs.f64 (-.f64 x y)) x))
#s(approx (fabs (- x y)) (fabs.f64 (-.f64 x y)))
#s(approx (- y x) y)
#s(approx (- y x) (-.f64 y x))
#s(approx (- x y) (-.f64 x y))
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (* x (+ 1 (* (fabs (- x y)) (/ 1/2 x)))) x)
#s(approx (* x (+ 1 (* (fabs (- x y)) (/ 1/2 x)))) (fma.f64 (/.f64 (fabs.f64 (-.f64 x y)) x) (*.f64 #s(literal 1/2 binary64) x) x))
#s(approx (- y x) (neg.f64 x))
#s(approx (- y x) (*.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) x))
#s(approx (- x y) (-.f64 x (*.f64 (/.f64 y x) x)))
#s(approx (+ x (/ (fabs (- x y)) 2)) (*.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fabs.f64 (-.f64 x y)) x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (* x (+ 1 (* (fabs (- x y)) (/ 1/2 x)))) (*.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 (fabs.f64 (-.f64 x y)) x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (- y x) (neg.f64 (-.f64 x (*.f64 (/.f64 y x) x))))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 y x) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx y y)
#s(approx (neg y) (neg.f64 y))
#s(approx (- y x) (-.f64 y (*.f64 (/.f64 x y) y)))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
#s(approx (- y x) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) (neg.f64 y)))
#s(approx (- x y) (neg.f64 (-.f64 y (*.f64 (/.f64 x y) y))))

eval8.0ms (0%)

Memory
-34.1MiB live, 8.4MiB allocated; 8ms collecting garbage
Compiler

Compiled 181 to 73 computations (59.7% saved)

prune4.0ms (0%)

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

11 alts after pruning (1 fresh and 10 done)

PrunedKeptTotal
New32133
Fresh000
Picked055
Done055
Total321143
Accuracy
99.9%
Counts
43 → 11
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.7%
(-.f64 y x)
14.4%
(-.f64 x y)
28.2%
(*.f64 #s(literal 1/2 binary64) x)
54.5%
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
6.9%
#s(approx (- y x) y)
6.5%
#s(approx (- x y) (neg.f64 y))
11.3%
#s(approx (- x y) x)
87.3%
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
99.9%
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
4.6%
#s(literal 2 binary64)
4.6%
#s(literal 1/2 binary64)
Compiler

Compiled 61 to 66 computations (-8.2% saved)

series1.0ms (0%)

Memory
2.7MiB live, 2.7MiB allocated; 0ms collecting garbage
Counts
3 → 2
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
Outputs
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((* 1/2 x) 1/2 x)
0.0ms
x
@-inf
((* 1/2 x) 1/2 x)
0.0ms
x
@0
((* 1/2 x) 1/2 x)
0.0ms
y
@0
((* 1/2 x) 1/2 x)
0.0ms
y
@inf
((* 1/2 x) 1/2 x)

rewrite23.6s (83.1%)

Memory
102.4MiB live, 11 240.9MiB allocated; 3.0s collecting garbage
Counts
5 → 5
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
Outputs
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx x x)

eval0.0ms (0%)

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

Compiled 7 to 8 computations (-14.3% saved)

prune5.0ms (0%)

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

11 alts after pruning (0 fresh and 11 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done01010
Total31114
Accuracy
99.9%
Counts
14 → 11
Alt Table
Click to see full alt table
StatusAccuracyProgram
5.7%
(-.f64 y x)
14.4%
(-.f64 x y)
28.2%
(*.f64 #s(literal 1/2 binary64) x)
54.5%
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
6.9%
#s(approx (- y x) y)
6.5%
#s(approx (- x y) (neg.f64 y))
11.3%
#s(approx (- x y) x)
87.3%
#s(approx (+ x (/ (fabs (- y x)) 2)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (/.f64 (fabs.f64 (-.f64 y x)) x) x))
99.9%
#s(approx (+ x (/ (fabs (- x y)) 2)) (fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y)) x))
4.6%
#s(literal 2 binary64)
4.6%
#s(literal 1/2 binary64)
Compiler

Compiled 125 to 104 computations (16.8% saved)

regimes17.0ms (0.1%)

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

3 calls:

5.0ms
x
5.0ms
y
5.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
99.9%1(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
99.9%1x
99.9%1y
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes51.0ms (0.2%)

Memory
-23.4MiB live, 24.0MiB allocated; 8ms collecting garbage
Counts
12 → 2
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
#s(approx (- y x) y)
#s(approx (- x y) (neg.f64 y))
#s(approx (- y x) (neg.f64 x))
(-.f64 x y)
(-.f64 y x)
(*.f64 #s(literal 1/2 binary64) x)
(fabs.f64 (-.f64 x y))
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
Outputs
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (fabs (- x y)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 x y))))
Calls

3 calls:

42.0ms
x
4.0ms
y
4.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
76.1%2(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
67.6%2x
64.4%3y
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes65.0ms (0.2%)

Memory
17.7MiB live, 17.7MiB allocated; 0ms collecting garbage
Counts
11 → 2
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
#s(approx (- y x) y)
#s(approx (- x y) (neg.f64 y))
#s(approx (- y x) (neg.f64 x))
(-.f64 x y)
(-.f64 y x)
(*.f64 #s(literal 1/2 binary64) x)
(fabs.f64 (-.f64 x y))
Outputs
(*.f64 #s(literal 1/2 binary64) x)
(fabs.f64 (-.f64 x y))
Calls

3 calls:

54.0ms
x
6.0ms
y
4.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
29.9%2y
33.2%2x
36.6%2(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes16.0ms (0.1%)

Memory
-29.5MiB live, 14.1MiB allocated; 6ms collecting garbage
Counts
10 → 2
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
#s(approx (- y x) y)
#s(approx (- x y) (neg.f64 y))
#s(approx (- y x) (neg.f64 x))
(-.f64 x y)
(-.f64 y x)
(*.f64 #s(literal 1/2 binary64) x)
Outputs
(*.f64 #s(literal 1/2 binary64) x)
(-.f64 x y)
Calls

2 calls:

8.0ms
x
7.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
30.3%2x
32.0%2(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

regimes10.0ms (0%)

Memory
13.7MiB live, 13.7MiB allocated; 0ms collecting garbage
Counts
9 → 2
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
#s(approx (- y x) y)
#s(approx (- x y) (neg.f64 y))
#s(approx (- y x) (neg.f64 x))
(-.f64 x y)
(-.f64 y x)
Outputs
(-.f64 x y)
#s(approx (- y x) y)
Calls

3 calls:

3.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
3.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
17.5%2y
14.4%1x
14.4%1(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes9.0ms (0%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms collecting garbage
Counts
7 → 3
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
#s(approx (- y x) y)
#s(approx (- x y) (neg.f64 y))
#s(approx (- y x) (neg.f64 x))
Outputs
#s(approx (- x y) (neg.f64 y))
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- y x) y)
Calls

3 calls:

3.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
3.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
11.3%1(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
11.3%1x
15.7%3y
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes3.0ms (0%)

Memory
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Counts
5 → 2
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
#s(approx (- y x) y)
Outputs
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- y x) y)
Calls

1 calls:

3.0ms
y
Results
AccuracySegmentsBranch
13.9%2y
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes5.0ms (0%)

Memory
7.1MiB live, 7.1MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
#s(approx (- x y) x)
Outputs
#s(approx (+ x (/ (fabs (- x y)) 2)) x)
Calls

2 calls:

2.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
2.0ms
y
Results
AccuracySegmentsBranch
11.3%1(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
11.3%1y
Compiler

Compiled 8 to 9 computations (-12.5% saved)

regimes5.0ms (0%)

Memory
8.5MiB live, 8.5MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
#s(literal 2 binary64)
Outputs
#s(literal 1/2 binary64)
Calls

3 calls:

2.0ms
x
2.0ms
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
2.0ms
y
Results
AccuracySegmentsBranch
4.6%1x
4.6%1y
4.6%1(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)))
Compiler

Compiled 9 to 11 computations (-22.2% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-5.449655748064137e-294
1.6598608649690896e-275
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch1.0ms (0%)

Memory
-47.2MiB live, 0.4MiB allocated; 1ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-5.449655748064137e-294
1.6598608649690896e-275
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.6598608649690896e-275
9.880719353823746e-239
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch11.0ms (0%)

Memory
25.9MiB live, 25.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
9.0ms
6.281840148943121e-44
2.8576105911056596e-41
Samples
5.0ms126×0valid
0.0ms2valid
Compiler

Compiled 67 to 84 computations (-25.4% saved)

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

bsearch31.0ms (0.1%)

Memory
2.0MiB live, 101.4MiB allocated; 12ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
19.0ms
21160.30752226572
1.4947814033992142e+22
9.0ms
-0.02360645086291443
-3.0050069262146273e-5
Samples
18.0ms280×0valid
0.0ms2valid
0.0ms1valid
Compiler

Compiled 235 to 272 computations (-15.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-fabs: 7.0ms (55.7% of total)
ival-sub!: 3.0ms (23.9% of total)
ival-add!: 1.0ms (8% of total)
ival-div!: 1.0ms (8% of total)
adjust: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
1.9MiB live, 1.9MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
0.0ms
21160.30752226572
1.4947814033992142e+22
Compiler

Compiled 131 to 152 computations (-16% saved)

derivations2.0ms (0%)

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

Compiled 59 to 41 computations (30.5% saved)

preprocess190.0ms (0.7%)

Memory
-19.4MiB live, 124.8MiB allocated; 19ms collecting garbage
Compiler

Compiled 66 to 48 computations (27.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...