A quarter-circle in the lower-left quadrant

Time bar (total: 2.4s)

start0.0ms (0%)

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

analyze154.0ms (6.3%)

Memory
-24.0MiB live, 149.6MiB allocated; 88ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
12.5%12.5%87.4%0.1%0%0%0%4
31.3%31.2%68.7%0.1%0%0%0%5
31.3%31.2%68.7%0.1%0%0%0%6
37.5%37.5%62.4%0.1%0%0%0%7
51.6%51.5%48.4%0.1%0%0%0%8
67.2%67.1%32.8%0.1%0%0%0%9
74.6%74.5%25.4%0.1%0%0%0%10
83.2%83.1%16.8%0.1%0%0%0%11
87%86.9%13%0.1%0%0%0%12
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample637.0ms (26.2%)

Memory
37.6MiB live, 1 158.8MiB allocated; 207ms collecting garbage
Samples
428.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 243.0ms
ival-pow2: 163.0ms (67% of total)
ival-add!: 56.0ms (23% of total)
ival-sub!: 15.0ms (6.2% of total)
ival-fmax: 7.0ms (2.9% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

preprocess37.0ms (1.5%)

Memory
40.5MiB live, 40.5MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02888
115384
Stop Event
iter-limit
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
Compiler

Compiled 26 to 20 computations (23.1% saved)

series72.0ms (3%)

Memory
-2.2MiB live, 42.9MiB allocated; 7ms collecting garbage
Counts
10 → 14
Calls
Call 1
Inputs
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 1/2 binary64)
(fmax.f64 x y)
Outputs
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 y #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (+ (pow y 2) (pow x 2)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (pow y 2) (pow x 2)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (pow x 2) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx y y)
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))
Calls

6 calls:

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

rewrite265.0ms (10.9%)

Memory
-47.6MiB live, 162.7MiB allocated; 190ms collecting garbage
Counts
10 → 38
Calls
Call 1
Inputs
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 1/2 binary64)
(fmax.f64 x y)
Outputs
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) (+.f64 y x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) y)))
(*.f64 (-.f64 (+.f64 y x) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) (+.f64 y x)) (+.f64 y x)))
(*.f64 (+.f64 (+.f64 x #s(literal 1/2 binary64)) y) (/.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (+.f64 (+.f64 x #s(literal 1/2 binary64)) y)))
(*.f64 (fma.f64 (+.f64 (+.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64) (+.f64 y x)) (/.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fma.f64 (+.f64 (+.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64) (+.f64 y x))))
(*.f64 (/.f64 (-.f64 (+.f64 y x) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (+.f64 (pow.f64 (*.f64 (+.f64 (+.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (+.f64 y x))) (fma.f64 (*.f64 (+.f64 (+.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 (+.f64 (+.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64)) (+.f64 y x)) (+.f64 y x)))
(*.f64 (+.f64 y x) (+.f64 y x))
(*.f64 (fma.f64 (-.f64 x y) x y) (+.f64 y x))
(*.f64 (neg.f64 (+.f64 y x)) (neg.f64 (+.f64 y x)))
(*.f64 (/.f64 (+.f64 y x) (+.f64 y x)) (+.f64 y x))
(*.f64 (+.f64 y x) (fma.f64 (-.f64 x y) x y))
y
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
y
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
#s(literal 2 binary64)
#s(literal 0 binary64)
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (fabs.f64 #s(literal 2 binary64)) (fabs.f64 #s(literal 2 binary64)))
x
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 x) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 x) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
x
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 x) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 x) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
#s(literal 1/2 binary64)
(fmax.f64 x y)

eval5.0ms (0.2%)

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

Compiled 768 to 197 computations (74.3% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New35439
Fresh000
Picked101
Done000
Total36440
Accuracy
100.0%
Counts
40 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
99.8%
(fmax.f64 (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
26.6%
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 54 to 40 computations (25.9% saved)

series107.0ms (4.4%)

Memory
-20.9MiB live, 126.7MiB allocated; 25ms collecting garbage
Counts
21 → 57
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(literal 1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(-.f64 x (-.f64 #s(literal 1/2 binary64) y))
(-.f64 #s(literal 1/2 binary64) y)
(fmax.f64 (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64))
(*.f64 (+.f64 y x) (+.f64 y x))
(+.f64 y x)
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64))
(+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x))
(pow.f64 y #s(literal 2 binary64))
(*.f64 x x)
Outputs
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 y #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(approx (- (pow x 2) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (pow x 2) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (fmax (- x (- 1/2 y)) (fmax x y)) (fmax.f64 (-.f64 (+.f64 x y) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- x (- 1/2 y)) (-.f64 y #s(literal 1/2 binary64)))
#s(approx (- x (- 1/2 y)) (-.f64 (+.f64 x y) #s(literal 1/2 binary64)))
#s(approx (fmax (- (* (+ y x) (+ y x)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (pow.f64 (+.f64 x y) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 x (+.f64 x (*.f64 #s(literal 2 binary64) y)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) (+ y x)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (* (+ y x) (+ y x)) (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* (+ y x) (+ y x)) (fma.f64 x (+.f64 x (*.f64 #s(literal 2 binary64) y)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 x y))
#s(approx (+ (pow y 2) (* x x)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- (pow x 2) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- x (- 1/2 y)) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 y x)))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 y x) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))) (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 y x) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (+ y x) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (+ (pow y 2) (* x x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (fmax (- x (- 1/2 y)) (fmax x y)) (fmax.f64 (-.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) x))) (fmax.f64 x y)))
#s(approx (- x (- 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 y #s(literal 1/2 binary64)) x)) #s(literal 1 binary64)))))
#s(approx (fmax (- (* (+ y x) (+ y x)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (pow.f64 (-.f64 y (*.f64 #s(literal -1 binary64) x)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (pow.f64 y #s(literal 2 binary64)) #s(literal 1/2 binary64)) x))) x)))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) x))) x)))))
#s(approx (+ y x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (- x (- 1/2 y)) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(approx (- 1/2 y) (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 y (+.f64 y (*.f64 #s(literal 2 binary64) x)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) (+ y x)) (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* (+ y x) (+ y x)) (fma.f64 y (+.f64 y (*.f64 #s(literal 2 binary64) x)) (pow.f64 x #s(literal 2 binary64))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (- x (- 1/2 y)) (*.f64 y (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)))))
#s(approx (- 1/2 y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- 1/2 y) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y)) #s(literal 1 binary64))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 x y)))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 x y) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))) (/.f64 #s(literal 1/2 binary64) (pow.f64 y #s(literal 2 binary64))))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 x y) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (+ y x) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (+ (pow y 2) (* x x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))
#s(approx (fmax (- x (- 1/2 y)) (fmax x y)) (fmax.f64 (-.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) y))) (fmax.f64 x y)))
#s(approx (- x (- 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 x #s(literal 1/2 binary64)) y)) #s(literal 1 binary64)))))
#s(approx (- 1/2 y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))))))
#s(approx (fmax (- (* (+ y x) (+ y x)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (pow.f64 (-.f64 x (*.f64 #s(literal -1 binary64) y)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) y))) y)))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))) y)))))
#s(approx (+ y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
Calls

6 calls:

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

rewrite201.0ms (8.3%)

Memory
22.6MiB live, 259.3MiB allocated; 18ms collecting garbage
Counts
21 → 77
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)))
(-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(literal 1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(-.f64 x (-.f64 #s(literal 1/2 binary64) y))
(-.f64 #s(literal 1/2 binary64) y)
(fmax.f64 (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64))
(*.f64 (+.f64 y x) (+.f64 y x))
(+.f64 y x)
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64))
(+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x))
(pow.f64 y #s(literal 2 binary64))
(*.f64 x x)
Outputs
(fmax.f64 #s(approx (- y (+ x 1/2)) (-.f64 x #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- y (+ x 1/2)) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 x (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (fma.f64 (-.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) x) (-.f64 x (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
(*.f64 (pow.f64 (-.f64 x #s(literal 1/2 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (-.f64 x #s(literal 1/2 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
#s(literal 2 binary64)
#s(literal 0 binary64)
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (fabs.f64 #s(literal 2 binary64)) (fabs.f64 #s(literal 2 binary64)))
#s(literal 1/2 binary64)
(fmax.f64 x y)
y
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (-.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 y (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)) (-.f64 (-.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) y) (-.f64 #s(literal 1/2 binary64) y))
(*.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y) (fma.f64 y (-.f64 y #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
(*.f64 (+.f64 y #s(literal 1/2 binary64)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) (+.f64 y #s(literal 1/2 binary64))))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) (fma.f64 y #s(literal 1/2 binary64) y)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) (fma.f64 y #s(literal 1/2 binary64) y))))
(*.f64 (/.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y) (fma.f64 y (*.f64 (*.f64 (+.f64 y #s(literal 1/2 binary64)) (+.f64 y #s(literal 1/2 binary64))) (+.f64 y #s(literal 1/2 binary64))) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)))) (fma.f64 (fma.f64 y #s(literal 1/2 binary64) y) (-.f64 (fma.f64 y #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (-.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 y (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)) (-.f64 (-.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (-.f64 y x) (-.f64 y x))
(*.f64 (fma.f64 (-.f64 y x) x y) (-.f64 y x))
(*.f64 (neg.f64 (fma.f64 (-.f64 y x) x y)) (-.f64 y x))
(*.f64 (fabs.f64 (fma.f64 (-.f64 y x) x y)) (-.f64 y x))
(*.f64 (-.f64 y x) (fma.f64 (-.f64 y x) x y))
(*.f64 (-.f64 y x) (-.f64 y x))
(*.f64 (fma.f64 (-.f64 y x) x y) (-.f64 y x))
(*.f64 (neg.f64 (fma.f64 (-.f64 y x) x y)) (-.f64 y x))
(*.f64 (fabs.f64 (fma.f64 (-.f64 y x) x y)) (-.f64 y x))
(*.f64 (-.f64 y x) (fma.f64 (-.f64 y x) x y))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (-.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (-.f64 #s(literal 1/2 binary64) y) x) (-.f64 y (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)))
(*.f64 (fma.f64 y (-.f64 (-.f64 #s(literal 1/2 binary64) x) y) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x)) (-.f64 (-.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (-.f64 y x) (-.f64 y x))
(*.f64 (fma.f64 (-.f64 y x) x y) (-.f64 y x))
(*.f64 (neg.f64 (fma.f64 (-.f64 y x) x y)) (-.f64 y x))
(*.f64 (fabs.f64 (fma.f64 (-.f64 y x) x y)) (-.f64 y x))
(*.f64 (-.f64 y x) (fma.f64 (-.f64 y x) x y))
y
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))

eval16.0ms (0.7%)

Memory
-16.0MiB live, 33.6MiB allocated; 5ms collecting garbage
Compiler

Compiled 2 640 to 545 computations (79.4% saved)

prune6.0ms (0.2%)

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1105115
Fresh000
Picked224
Done000
Total1127119
Accuracy
100.0%
Counts
119 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
27.5%
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
100.0%
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
67.3%
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
26.6%
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
27.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
26.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 190 to 133 computations (30% saved)

series94.0ms (3.9%)

Memory
12.5MiB live, 102.9MiB allocated; 7ms collecting garbage
Counts
23 → 59
Calls
Call 1
Inputs
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64))
(*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y))
#s(approx (+ y x) y)
y
#s(literal 1/2 binary64)
(fmax.f64 x y)
x
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64)))
(-.f64 (fabs.f64 x) #s(literal 1/2 binary64))
(fabs.f64 x)
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (-.f64 y x) #s(literal 1/2 binary64))
(-.f64 y x)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
Outputs
#s(approx (fmax (- (* (+ y x) (+ y x)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (pow.f64 (+.f64 x y) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (pow.f64 y #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 x (+.f64 x (*.f64 #s(literal 2 binary64) y)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) (+ y x)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (* (+ y x) (+ y x)) (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* (+ y x) (+ y x)) (fma.f64 x (+.f64 x (*.f64 #s(literal 2 binary64) y)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 x y))
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx x x)
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(approx (- (pow x 2) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- (fabs x) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64)))
#s(approx (fabs x) (fabs.f64 x))
#s(approx (fmax (- (- y x) 1/2) (fmax x y)) (fmax.f64 (-.f64 y (+.f64 #s(literal 1/2 binary64) x)) (fmax.f64 x y)))
#s(approx (- (- y x) 1/2) (-.f64 y #s(literal 1/2 binary64)))
#s(approx (- (- y x) 1/2) (-.f64 (+.f64 y (*.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))
#s(approx (- y x) (+.f64 y (*.f64 #s(literal -1 binary64) x)))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 y x)))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 y x) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))) (/.f64 #s(literal 1/2 binary64) (pow.f64 x #s(literal 2 binary64))))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 y x) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (+ y x) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- (pow x 2) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- (- y x) 1/2) (*.f64 #s(literal -1 binary64) x))
#s(approx (- (- y x) 1/2) (*.f64 x (-.f64 (/.f64 y x) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))))
#s(approx (- y x) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (fmax (- (* (+ y x) (+ y x)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (pow.f64 (-.f64 y (*.f64 #s(literal -1 binary64) x)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (pow.f64 y #s(literal 2 binary64)) #s(literal 1/2 binary64)) x))) x)))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) x))) x)))))
#s(approx (+ y x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (fmax (- (- y x) 1/2) (fmax x y)) (fmax.f64 (-.f64 (+.f64 y (*.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (- y x) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 y #s(literal 1/2 binary64)) x))))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x))))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (-.f64 (fma.f64 y (+.f64 y (*.f64 #s(literal 2 binary64) x)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) (+ y x)) (fma.f64 #s(literal 2 binary64) (*.f64 x y) (pow.f64 x #s(literal 2 binary64))))
#s(approx (* (+ y x) (+ y x)) (fma.f64 y (+.f64 y (*.f64 #s(literal 2 binary64) x)) (pow.f64 x #s(literal 2 binary64))))
#s(approx (- (- y x) 1/2) (*.f64 #s(literal -1 binary64) (+.f64 #s(literal 1/2 binary64) x)))
#s(approx (- (- y x) 1/2) (-.f64 y (+.f64 #s(literal 1/2 binary64) x)))
#s(approx (- y x) (-.f64 y x))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 x y)))))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 x y) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))) (/.f64 #s(literal 1/2 binary64) (pow.f64 y #s(literal 2 binary64))))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (/.f64 x y) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (+ y x) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (- (- y x) 1/2) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1/2 binary64) x) y)))))
#s(approx (- y x) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (fmax (- (* (+ y x) (+ y x)) 1/2) (fmax x y)) (fmax.f64 (-.f64 (pow.f64 (-.f64 x (*.f64 #s(literal -1 binary64) y)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (fmax.f64 x y)))
#s(approx (- (* (+ y x) (+ y x)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) y))) y)))))
#s(approx (* (+ y x) (+ y x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 (fma.f64 #s(literal -2 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) y))) y)))))
#s(approx (+ y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
#s(approx (fmax (- (- y x) 1/2) (fmax x y)) (fmax.f64 (neg.f64 (+.f64 #s(literal 1/2 binary64) (+.f64 x (*.f64 #s(literal -1 binary64) y)))) (fmax.f64 x y)))
#s(approx (- (- y x) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y) (/.f64 x y)) #s(literal 1 binary64)))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))))
Calls

6 calls:

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

rewrite190.0ms (7.8%)

Memory
8.7MiB live, 199.0MiB allocated; 61ms collecting garbage
Counts
23 → 55
Calls
Call 1
Inputs
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64))
(*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y))
#s(approx (+ y x) y)
y
#s(literal 1/2 binary64)
(fmax.f64 x y)
x
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64)))
(-.f64 (fabs.f64 x) #s(literal 1/2 binary64))
(fabs.f64 x)
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (-.f64 y x) #s(literal 1/2 binary64))
(-.f64 y x)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
Outputs
(fmax.f64 (-.f64 (*.f64 #s(approx 0 y) #s(approx 0 y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (*.f64 #s(approx 0 y) #s(approx 0 y)) #s(literal 1/2 binary64))
(*.f64 #s(approx 0 y) #s(approx 0 y))
#s(approx 0 y)
y
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64)))
(*.f64 (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 0 binary64))) (pow.f64 (neg.f64 y) (/.f64 #s(literal 3 binary64) #s(literal 0 binary64))))
#s(literal 1/2 binary64)
(fmax.f64 x y)
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(fmax.f64 #s(approx (- 0 1/2) #s(approx (- x 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- 0 1/2) #s(approx (- x 1/2) #s(literal -1/2 binary64)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 #s(approx (- 0 1/2) (-.f64 x #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- 0 1/2) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) x) (-.f64 x (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
(*.f64 (-.f64 x (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (fma.f64 (-.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) x))
(*.f64 (pow.f64 (-.f64 x #s(literal 1/2 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 0 binary64))) (pow.f64 (-.f64 x #s(literal 1/2 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 0 binary64))))
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(fmax.f64 (-.f64 #s(literal 0 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) #s(literal 0 binary64)) (-.f64 #s(literal 0 binary64) #s(literal 1/2 binary64)))
(*.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64) #s(literal 0 binary64)) (-.f64 #s(literal 0 binary64) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
(*.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) (-.f64 #s(literal 1/2 binary64) #s(literal 0 binary64)) y) (-.f64 #s(literal 0 binary64) #s(literal 1/2 binary64)))
(*.f64 (-.f64 #s(literal 0 binary64) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (fma.f64 (-.f64 #s(literal 1/2 binary64) #s(literal 0 binary64)) #s(literal 1/2 binary64) #s(literal 0 binary64)))
(*.f64 (-.f64 #s(literal 1/2 binary64) #s(literal 0 binary64)) (-.f64 #s(literal 0 binary64) (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
#s(literal 0 binary64)
#s(literal 2 binary64)
#s(literal 1 binary64)
(*.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(*.f64 x #s(literal 0 binary64))
(fmax.f64 #s(approx (- 0 1/2) (-.f64 x #s(literal 1/2 binary64))) (fmax.f64 x y))
#s(approx (- 0 1/2) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64) x) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) x) (-.f64 x (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))))
(*.f64 (-.f64 x (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) (fma.f64 (-.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) x))
(*.f64 (pow.f64 (-.f64 x #s(literal 1/2 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 0 binary64))) (pow.f64 (-.f64 x #s(literal 1/2 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 0 binary64))))
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))

eval16.0ms (0.7%)

Memory
-7.3MiB live, 37.6MiB allocated; 4ms collecting garbage
Compiler

Compiled 2 949 to 524 computations (82.2% saved)

prune19.0ms (0.8%)

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

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1264130
Fresh000
Picked235
Done112
Total1298137
Accuracy
100.0%
Counts
137 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
67.3%
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
5.0%
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
46.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
14.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
50.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
26.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 145 to 99 computations (31.7% saved)

series80.0ms (3.3%)

Memory
-38.5MiB live, 64.8MiB allocated; 10ms collecting garbage
Counts
19 → 20
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x (*.f64 y y))
x
(*.f64 y y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (fabs.f64 x) y)
(fabs.f64 x)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 (*.f64 x x) y)
(*.f64 x x)
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
#s(literal 2 binary64)
#s(literal 1/2 binary64)
(fmax.f64 x y)
Outputs
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x (* y y))) (fmax.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x (pow.f64 y #s(literal 2 binary64)))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 y #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(approx (- (pow x 2) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (fmax x (* y y)) (fmax.f64 x (pow.f64 y #s(literal 2 binary64))))
#s(approx x x)
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (fabs x) y)) (fmax.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 (fabs.f64 x) y)))
#s(approx (fmax (fabs x) y) (fmax.f64 (fabs.f64 x) y))
#s(approx (fabs x) (fabs.f64 x))
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (* x x) y)) (fmax.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 (pow.f64 x #s(literal 2 binary64)) y)))
#s(approx (fmax (* x x) y) (fmax.f64 (pow.f64 x #s(literal 2 binary64)) y))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (- (pow x 2) 1/2) (*.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (* y y) (pow.f64 y #s(literal 2 binary64)))
#s(approx y y)
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 2 binary64)))))))
Calls

6 calls:

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

rewrite189.0ms (7.8%)

Memory
38.3MiB live, 183.4MiB allocated; 9ms collecting garbage
Counts
19 → 47
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64)))
#s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x (*.f64 y y))
x
(*.f64 y y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (fabs.f64 x) y)
(fabs.f64 x)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 (*.f64 x x) y)
(*.f64 x x)
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))
#s(literal 2 binary64)
#s(literal 1/2 binary64)
(fmax.f64 x y)
Outputs
(fmax.f64 #s(approx (- (+ y x) 1/2) #s(approx (- x 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ y x) 1/2) #s(approx (- x 1/2) #s(literal -1/2 binary64)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
y
(*.f64 y y)
(fabs.f64 y)
(+.f64 (cosh.f64 (log.f64 y)) (sinh.f64 (log.f64 y)))
(+.f64 (sinh.f64 (log.f64 y)) (cosh.f64 (log.f64 y)))
y
(*.f64 y y)
(fabs.f64 y)
(+.f64 (cosh.f64 (log.f64 y)) (sinh.f64 (log.f64 y)))
(+.f64 (sinh.f64 (log.f64 y)) (cosh.f64 (log.f64 y)))
(fmax.f64 #s(approx (- (+ y x) 1/2) #s(approx (- x 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 x y)
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
(fmax.f64 #s(approx (- (+ y x) 1/2) #s(approx (- x 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 x y)
x
(*.f64 x x)
(fabs.f64 x)
(+.f64 (cosh.f64 (log.f64 x)) (sinh.f64 (log.f64 x)))
(+.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x)))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(*.f64 (+.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)))
(*.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (+.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)))
(*.f64 (fma.f64 (+.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64) #s(literal 2 binary64)) (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)))
(*.f64 (neg.f64 (+.f64 #s(literal 2 binary64) #s(literal 1/2 binary64))) (-.f64 (neg.f64 #s(literal 2 binary64)) (neg.f64 #s(literal 1/2 binary64))))
(*.f64 (+.f64 (neg.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) (-.f64 (neg.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(literal 2 binary64)
#s(literal 0 binary64)
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 (neg.f64 #s(literal 2 binary64)) (neg.f64 #s(literal 2 binary64)))
#s(literal 1/2 binary64)
(fmax.f64 x y)

eval9.0ms (0.4%)

Memory
-24.2MiB live, 22.4MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 664 to 227 computations (86.4% saved)

prune5.0ms (0.2%)

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

9 alts after pruning (2 fresh and 7 done)

PrunedKeptTotal
New70272
Fresh000
Picked134
Done044
Total71980
Accuracy
100.0%
Counts
80 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
67.3%
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
46.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
14.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
50.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
14.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
26.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
5.0%
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
Compiler

Compiled 173 to 118 computations (31.8% saved)

regimes99.0ms (4.1%)

Memory
-16.0MiB live, 127.2MiB allocated; 12ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
5 → 1
6 → 2
7 → 5
10 → 5
11 → 3
12 → 3
14 → 1
16 → 1
Calls
Call 1
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
Outputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
Call 2
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Call 3
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
Call 4
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
Call 5
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
Call 6
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
Call 7
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
Call 8
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))) (fmax.f64 x y))
Outputs
(fmax.f64 (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
Call 9
Inputs
#s(approx (fmax (- 2 1/2) (fmax x y)) (fmax.f64 #s(literal 3/2 binary64) (fmax.f64 x y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (fabs.f64 y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (fabs.f64 x) y))
(fmax.f64 (-.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 x (*.f64 y y)))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (- (pow x 2) 1/2) #s(literal -1/2 binary64))) (fmax.f64 (*.f64 x x) y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (fabs.f64 x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 x (-.f64 #s(literal 1/2 binary64) y)) (fmax.f64 x y))
(fmax.f64 (-.f64 (-.f64 y x) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 (*.f64 #s(approx (+ y x) y) #s(approx (+ y x) y)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 (-.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (-.f64 (pow.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
Outputs
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 x x)) #s(literal 1/2 binary64)) (fmax.f64 x y))
Calls

22 calls:

8.0ms
y
6.0ms
x
6.0ms
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
5.0ms
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
5.0ms
x
Results
AccuracySegmentsBranch
5.0%1y
5.0%1(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
5.0%1x
26.6%1x
26.6%1y
26.6%1(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
67.2%2(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
50.6%1x
67.1%3y
79.9%5y
77.4%4x
80.1%5y
94.7%3y
70.9%2(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
92.4%3x
94.8%3y
99.8%1(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
99.8%1x
99.8%1y
100.0%1(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
100.0%1x
100.0%1y
Compiler

Compiled 355 to 160 computations (54.9% saved)

bsearch26.0ms (1.1%)

Memory
33.2MiB live, 33.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
0.43591161587875715
12861.709412240994
12.0ms
-2.6271255415522497e+24
-2.7085993856286154e+21
Samples
14.0ms256×0valid
Compiler

Compiled 640 to 462 computations (27.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-pow2: 5.0ms (59.1% of total)
ival-fmax: 2.0ms (23.7% of total)
ival-sub!: 1.0ms (11.8% of total)
ival-add!: 1.0ms (11.8% of total)
adjust: 0.0ms (0% of total)

bsearch14.0ms (0.6%)

Memory
-27.7MiB live, 19.0MiB allocated; 1ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
0.43591161587875715
12861.709412240994
1.0ms
-2.6271255415522497e+24
-2.7085993856286154e+21
Samples
7.0ms112×0valid
Compiler

Compiled 688 to 510 computations (25.9% saved)

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

bsearch31.0ms (1.3%)

Memory
-10.2MiB live, 36.0MiB allocated; 3ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
0.43591161587875715
12861.709412240994
13.0ms
-2.7070468293351774e-208
-2.6347727228077783e-212
13.0ms
-2.5214665873316686e-40
-4.341027972209936e-48
1.0ms
-2.6271255415522497e+24
-2.7085993856286154e+21
Samples
16.0ms272×0valid
Compiler

Compiled 1 449 to 1 053 computations (27.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-pow2: 5.0ms (55.6% of total)
ival-fmax: 2.0ms (22.2% of total)
ival-sub!: 1.0ms (11.1% of total)
ival-add!: 1.0ms (11.1% of total)
adjust: 0.0ms (0% of total)

bsearch28.0ms (1.1%)

Memory
12.8MiB live, 58.4MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
0.43591161587875715
12861.709412240994
11.0ms
-2.7070468293351774e-208
-2.6347727228077783e-212
12.0ms
-2.5214665873316686e-40
-4.341027972209936e-48
1.0ms
-2.6271255415522497e+24
-2.7085993856286154e+21
Samples
13.0ms224×0valid
Compiler

Compiled 1 500 to 1 053 computations (29.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-pow2: 5.0ms (64% of total)
ival-fmax: 2.0ms (25.6% of total)
ival-sub!: 1.0ms (12.8% of total)
adjust: 0.0ms (0% of total)
ival-add!: 0.0ms (0% of total)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.8968886442573906e-33
6.9390792606313125
Compiler

Compiled 16 to 15 computations (6.3% saved)

derivations17.0ms (0.7%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 515 to 80 computations (84.5% saved)

preprocess109.0ms (4.5%)

Memory
0.1MiB live, 149.0MiB allocated; 21ms collecting garbage
Compiler

Compiled 528 to 90 computations (83% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...