Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 2.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 10 to 5 computations (50% saved)

sample1.0s (48.4%)

Memory
65.3MiB live, 945.0MiB allocated; 200ms collecting garbage
Samples
701.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 309.0ms
ival-hypot: 307.0ms (99.4% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

preprocess501.0ms (23.2%)

Memory
-78.7MiB live, 73.1MiB allocated; 395ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
16250
215750
322650
452050
5274750
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
55.9%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 12 to 12 computations (0% saved)

series15.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0139631
Stop Event
iter-limit
Counts
6 → 29
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (sqrt.f64 (pow.f64 y #s(literal 2 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (+ (* x x) (* y y)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (* x x) (* y y)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (+ (* x x) (* y y)) (*.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 (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (sqrt.f64 (pow.f64 x #s(literal 2 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (fma.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx y y)
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (+ (* x x) (* y y)) (*.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 (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
x
@0
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
x
@-inf
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
y
@inf
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
y
@0
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)

rewrite64.0ms (3%)

Memory
10.1MiB live, 56.2MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
14623
048017
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
6 → 189
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64))) (fabs.f64 x))
(*.f64 (pow.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(sqrt.f64 (*.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x))) (sqrt.f64 (fma.f64 y y (*.f64 x x)))))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x)))))
(fabs.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x))))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (fabs.f64 x))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y x)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x y)
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x)
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x x) (*.f64 y y))) (*.f64 y y))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))) (*.f64 x x))
(*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))
(*.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 x y) (-.f64 x y))))
(*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(*.f64 (*.f64 x x) (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (*.f64 (*.f64 x x) x) x)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 x x) x) x (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (neg.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y)))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)))) (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))))
(/.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 (*.f64 y y) y) y (-.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (*.f64 (*.f64 x x) y) y))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)))))
(neg.f64 (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x)))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x x (*.f64 y y))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 y y) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 y y) (neg.f64 (*.f64 x x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 y y)
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
y

eval45.0ms (2.1%)

Memory
9.2MiB live, 52.8MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 422 to 508 computations (64.3% saved)

prune39.0ms (1.8%)

Memory
-27.3MiB live, 20.6MiB allocated; 24ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2094213
Fresh000
Picked101
Done000
Total2104214
Accuracy
100.0%
Counts
214 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
55.9%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
1.3%
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
2.0%
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
Compiler

Compiled 26 to 26 computations (0% saved)

series17.0ms (0.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0140631
Stop Event
iter-limit
Counts
11 → 29
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
x
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) y)
y
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fma.f64 y y (*.f64 x x))
(*.f64 x x)
(hypot.f64 y x)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (sqrt.f64 (pow.f64 y #s(literal 2 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (* -1 x) (*.f64 #s(literal -1 binary64) x))
#s(approx x x)
#s(approx (+ (* y y) (* x x)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (* y y) (* x x)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (+ (* y y) (* 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 (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (sqrt.f64 (pow.f64 x #s(literal 2 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (fma.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (* -1 y) (*.f64 #s(literal -1 binary64) y))
#s(approx y y)
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (+ (* y y) (* 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 (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
((sqrt (+ (* x x) (* y y))) (* -1 x) -1 x (sqrt (+ (* x x) (* y y))) (* -1 y) y (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* y y) (* x x))))
2.0ms
x
@inf
((sqrt (+ (* x x) (* y y))) (* -1 x) -1 x (sqrt (+ (* x x) (* y y))) (* -1 y) y (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* y y) (* x x))))
2.0ms
x
@-inf
((sqrt (+ (* x x) (* y y))) (* -1 x) -1 x (sqrt (+ (* x x) (* y y))) (* -1 y) y (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* y y) (* x x))))
1.0ms
y
@inf
((sqrt (+ (* x x) (* y y))) (* -1 x) -1 x (sqrt (+ (* x x) (* y y))) (* -1 y) y (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* y y) (* x x))))
1.0ms
y
@-inf
((sqrt (+ (* x x) (* y y))) (* -1 x) -1 x (sqrt (+ (* x x) (* y y))) (* -1 y) y (sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) (* x x) (sqrt (+ (* y y) (* x x))))

rewrite78.0ms (3.6%)

Memory
4.2MiB live, 50.0MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01548
02034
17634
078534
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
11 → 348
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
#s(literal -1 binary64)
x
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) y)
y
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fma.f64 y y (*.f64 x x))
(*.f64 x x)
(hypot.f64 y x)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
#s(literal -1 binary64)
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
y
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64))) (fabs.f64 y))
(*.f64 (sqrt.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64))) (fabs.f64 x))
(*.f64 (pow.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 y x) (-.f64 y x)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(sqrt.f64 (*.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x))) (sqrt.f64 (fma.f64 y y (*.f64 x x)))))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x)))))
(fabs.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x))))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (fabs.f64 x))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y x)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x y)
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) (fabs.f64 y)) (fabs.f64 y))
(*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) (neg.f64 y)) (neg.f64 y))
(*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) y) y)
(*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (neg.f64 y) y) (*.f64 x x))) (*.f64 x x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (neg.f64 x) x) (*.f64 y y))) (*.f64 y y))
(*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y))
(*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))
(*.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))))
(*.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 x y) (-.f64 x y))))
(*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(*.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(*.f64 (*.f64 x x) (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)))
(*.f64 (*.f64 y y) (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 x x) x) x (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 y y) y) y (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 y x) (-.f64 y x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y)))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))) (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x)) (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))))
(/.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (+.f64 y x) (-.f64 y x)))
(/.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x)))
(neg.f64 (-.f64 (*.f64 (neg.f64 y) y) (*.f64 x x)))
(neg.f64 (-.f64 (*.f64 (neg.f64 x) x) (*.f64 y y)))
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 y y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 y y))
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 x x))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 y y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 x x))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x))
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 x x))
(fma.f64 y y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y y (*.f64 x x))
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 y y))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x x (*.f64 y y))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (+.f64 y x) (-.f64 y x))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) x))
(+.f64 (*.f64 y y) (*.f64 x x))
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64))) (fabs.f64 y))
(*.f64 (sqrt.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64))) (fabs.f64 x))
(*.f64 (pow.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 y x) (-.f64 y x)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 y y (*.f64 x x)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (sqrt.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(sqrt.f64 (*.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x))) (sqrt.f64 (fma.f64 y y (*.f64 x x)))))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x)))))
(fabs.f64 (sqrt.f64 (fma.f64 y y (*.f64 x x))))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (fabs.f64 x))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y x)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x y)
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64)))

eval60.0ms (2.8%)

Memory
-29.6MiB live, 59.3MiB allocated; 23ms collecting garbage
Compiler

Compiled 1 811 to 614 computations (66.1% saved)

prune8.0ms (0.4%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2572259
Fresh000
Picked224
Done000
Total2594263
Accuracy
100.0%
Counts
263 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
55.9%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
1.3%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
2.0%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Compiler

Compiled 24 to 24 computations (0% saved)

series11.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0131558
Stop Event
iter-limit
Counts
6 → 24
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(neg.f64 y)
y
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (sqrt.f64 (pow.f64 y #s(literal 2 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 x #s(literal 2 binary64)) (fma.f64 (pow.f64 x #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 y #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx x x)
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (sqrt.f64 (pow.f64 x #s(literal 2 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (+.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) (*.f64 (pow.f64 y #s(literal 2 binary64)) (fma.f64 (pow.f64 y #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 (pow.f64 x #s(literal 2 binary64))) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 (pow.f64 x #s(literal 2 binary64)))))))))
#s(approx (neg y) (*.f64 #s(literal -1 binary64) y))
#s(approx y y)
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((sqrt (+ (* x x) (* y y))) (neg x) x (sqrt (+ (* x x) (* y y))) (neg y) y)
1.0ms
y
@-inf
((sqrt (+ (* x x) (* y y))) (neg x) x (sqrt (+ (* x x) (* y y))) (neg y) y)
1.0ms
x
@inf
((sqrt (+ (* x x) (* y y))) (neg x) x (sqrt (+ (* x x) (* y y))) (neg y) y)
1.0ms
y
@inf
((sqrt (+ (* x x) (* y y))) (neg x) x (sqrt (+ (* x x) (* y y))) (neg y) y)
0.0ms
x
@0
((sqrt (+ (* x x) (* y y))) (neg x) x (sqrt (+ (* x x) (* y y))) (neg y) y)

rewrite69.0ms (3.2%)

Memory
-13.2MiB live, 39.6MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
01228
14628
048018
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(neg.f64 y)
y
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(neg.f64 y)
y

eval3.0ms (0.1%)

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

Compiled 357 to 129 computations (63.9% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New24024
Fresh000
Picked022
Done022
Total24428
Accuracy
100.0%
Counts
28 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
55.9%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
1.3%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
2.0%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Compiler

Compiled 51 to 46 computations (9.8% saved)

regimes69.0ms (3.2%)

Memory
-11.8MiB live, 33.7MiB allocated; 9ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
Outputs
(hypot.f64 y x)
Calls

6 calls:

49.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
4.0ms
(*.f64 y y)
4.0ms
(*.f64 x x)
4.0ms
x
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Results
AccuracySegmentsBranch
100.0%1(*.f64 y y)
100.0%1(*.f64 x x)
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
100.0%1x
100.0%1y
Compiler

Compiled 17 to 21 computations (-23.5% saved)

regimes25.0ms (1.2%)

Memory
-12.5MiB live, 33.2MiB allocated; 5ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
Calls

6 calls:

6.0ms
(*.f64 y y)
6.0ms
x
4.0ms
y
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
55.9%1(*.f64 y y)
55.9%1(*.f64 x x)
55.9%1(+.f64 (*.f64 x x) (*.f64 y y))
55.9%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
55.9%1x
55.9%1y
Compiler

Compiled 17 to 21 computations (-23.5% saved)

regimes11.0ms (0.5%)

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

Total -0.5b remaining (-0.7%)

Threshold costs -0.5b (-0.7%)

Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) x))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 #s(literal -1 binary64) y))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Calls

6 calls:

2.0ms
x
2.0ms
y
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
2.0%1(*.f64 x x)
2.0%1x
2.0%1y
2.0%1(*.f64 y y)
2.0%1(+.f64 (*.f64 x x) (*.f64 y y))
2.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Compiler

Compiled 17 to 21 computations (-23.5% saved)

derivations40.0ms (1.8%)

Memory
-21.6MiB live, 24.6MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 12 to 12 computations (0% saved)

preprocess60.0ms (2.8%)

Memory
38.3MiB live, 91.8MiB allocated; 6ms collecting garbage
Remove

(abs y)

(abs x)

Compiler

Compiled 130 to 130 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...